|
|
#1 |
|
Junior Member
Join Date: Apr 2006
Posts: 13
Rep Power: 13 ![]() |
Is there a way to add html to the short and long descriptions of an ad? When I add the html, the program strips all the tags.
Also, where can I modify the characters remaining for short and long descriptions. I can't seem to find it anywhere. I'm using Developer 3.0.15
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer Last edited by NJHomeGuide; 04-28-2006 at 12:59 PM. |
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 4,114
Rep Power: 100 ![]() ![]() |
You set the number of characters allowed in short and long description in the package itself.
In order to stop the stripping of html you will likely have to edit the actual scripts, do you have the developer edition? On a side note, if your site allows anyone to register and place an ad allowing people to use HTML will give people the opportunity to potential abuse your site and what they put in the description could also ruin the layout for the page it is displayed on. The html markup will likely also count toward the character count when they are entering the descriptions. Just some things to consider.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2006
Posts: 13
Rep Power: 13 ![]() |
I have looked everywhere in the package, but can't find it. It's not in user manual either.
I'm using Developer 3.0.15 I don't want users to add html - only me - perhaps just in the adminstration section. Can that be done?
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
|
|
|
#4 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,114
Rep Power: 100 ![]() ![]() |
Quote:
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#5 |
|
Moderator
Join Date: Mar 2006
Posts: 4,114
Rep Power: 100 ![]() ![]() |
Ok, if you want to be able to add html from within admin you can try this. I have not tested it so make sure you backup your file 1st.
backup and then Open /administration/modifylisting.php around line 56 you should see the following.. PHP Code:
PHP Code:
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
#6 |
|
Junior Member
Join Date: Apr 2006
Posts: 13
Rep Power: 13 ![]() |
Larry - It works. I hope it's ok, but I deleted the commented section.
Thank you for your help.
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
|
|
|
#7 |
|
Moderator
Join Date: Mar 2006
Posts: 4,114
Rep Power: 100 ![]() ![]() |
Glad it worked for ya. Deleting those lines is fine, I suggested commenting them out for the simple fact that if it didnt work it would be easier to restore things to their original form
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
#8 |
|
Junior Member
Join Date: Apr 2006
Posts: 13
Rep Power: 13 ![]() |
In case someone else wants to do this ... you can add html to the description in admin, however, if you modify in the other mode, the html tags will be stripped.
For me this is not an issue. It does exactly what I need it to do. Thanks again Larry.
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding Feature Item Table to HTML Page | art | HTML, CSS, and Design Help | 11 | 08-05-2006 03:10 AM |
| Adding Short Description To Search Results | CB | v3.1 Questions & Support | 5 | 06-22-2006 04:52 PM |
| wrapping long descriptions in FF tables | munky20 | v3.0 Questions & Support | 1 | 04-09-2006 09:04 AM |