×

Error

Please login first

[SOLVED] Editor Text Area Field

13 years 1 month ago - 13 years 1 month ago #159324 by cte2087
[SOLVED] Editor Text Area Field was created by cte2087
I have set up filed that utilizes the editor text area field so users could create their own custom ad with an image. The image upload function seems to be missing the browse function. Is this a restriction with this field type?

Is there an easier way to have user submitted ads that can be templated and also ads that can be fully custom (add and image)? The amount of ads a user gets depends on the subscription level.

I have been toying around with the delimiter function, but I cannot seem to get it to work the way I need it to. I am sure I am doing something wrong, but I am at wits end and I am willing to pay for someone to help me finish this.

Please help.

Please Log in to join the conversation.

13 years 1 month ago #159335 by krileon
Replied by krileon on topic Re: Editor Text Area Field
Editor Fields render your Joomla editor, so whatever features it provides then so can the field provide. I don't recommend allowing users to upload images directly to your Joomla site through the editor, you're simply asking to be hacked by allowing this. Best approach is to provide an Image fieldtype where users can securely upload safely or have them host their images off-site and link them through HTML in the editor fields content. For substitution usage please see tutorials within my signature.

If you need a contract developer I recommend starting at joomlancers or similarly specialized sites that offer Joomla based contract development.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 1 month ago #159344 by cte2087
Replied by cte2087 on topic Re: Editor Text Area Field
Thank you for the tips. So...instead of the edit text field, I should use an image upload field along with text fields to make these "coupon ads"?

I have posted to Joomlacers, but no one is bighting.

I have been working with Nick on trying to figure the best way to do this with CB, but it seems like there is an easier way then using all delimiter fields. Possibly a "component as content" plugin and utilize and ad manager?

Please Log in to join the conversation.

13 years 1 month ago #159353 by krileon
Replied by krileon on topic Re: Editor Text Area Field

Thank you for the tips. So...instead of the edit text field, I should use an image upload field along with text fields to make these "coupon ads"?

You would use an image field to allow the user to upload and image then use a Delimiter field to format the image. Set the image field on a not shown on profile tab. You could also combine this with a web address field and do something like the below to provide a linked image.
<a href="[cb_couponurl]"><img src="[cb_couponimg]" alt="Coupon" /></a>

The above is simply and example of substitution usage and likely will require changes.

If you're needing ad management then it's likely best to use an extension designed to provide ad management. I believe there are a few on Joomla.org.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 1 month ago #159377 by cte2087
Replied by cte2087 on topic Re: Editor Text Area Field
Krileon,
OK...so I am trying to use a table to form the layout for my test delimiter field, but I am only getting one field to show. Do you still have the login I provided? Could you take a look at what I am trying to do. I do not think it is a syntax thing, but I could be wrong. Let me know if you need me to PM you with the info again.

Thanks,
Chris

Please Log in to join the conversation.

13 years 1 month ago #159383 by krileon
Replied by krileon on topic Re: Editor Text Area Field
Substitutions of [FIELD_NAME] render raw output. If you want the actual image to render you'll need to use the userfield substitution type. Again, please see tutorials within my signature. Detailed usage information is provided on substitution usage as well as multiple examples.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.438 seconds

Facebook Twitter LinkedIn