Support Forums

Old 03-26-2009, 10:13 AM   #1
Member
 
 
Join Date: Apr 2008
Location: UK
Posts: 38
Rep Power: 5
Kazza is on a distinguished road
Default Placing image/ad on one category page only

Hi! My client wants to add an image/ad to one of his four category pages. I just wondered if there is a way to achieve this, ie perhaps using 'if' and 'else' or is it something a bit more complicated than that?!

Any help/guidance would be much appreciated! Thanks!
__________________
Version 4.0.8 ~ Developer
Kazza is offline   Reply With Quote
Old 03-26-2009, 10:15 AM   #2
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,766
Rep Power: 110
Eric Barnes is a jewel in the rough
Default

I am not sure I follow exactly but inside administration when you edit a category it has a field for "Promotional Category Text". Inside this you could add your image code and it will display when viewing that particular category.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 03-26-2009, 10:35 AM   #3
Member
 
 
Join Date: Apr 2008
Location: UK
Posts: 38
Rep Power: 5
Kazza is on a distinguished road
Default

Hi Eric! That's perfect - just what I wanted!! Some things are easier than I think - I'm always looking for the hard way to fix things!

Great - thanks for you reply!
__________________
Version 4.0.8 ~ Developer
Kazza is offline   Reply With Quote
Old 04-13-2009, 09:50 AM   #4
Member
 
Join Date: Apr 2009
Location: South of Spain
Posts: 33
Rep Power: 1
magicosta is on a distinguished road
Default Placing image/ad on one category page only

Hi,

I have just red this post and to tell you the truth...I am trying to add an image but I am not sure or better I am sure to do not enter the right code!!

Maybe you can give me an example, thank you (I am running v 4.1.2 default template)
magicosta is offline   Reply With Quote
Old 04-13-2009, 10:48 AM   #5
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,321
Rep Power: 39
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Hmmm, I too tried this and it appears as though any HTML elements are stripped out and not added to the database.

I then tried using <file/path/to/image> which does add it to the db, but displays the HTML entity as text:
HTML Code:
<img src="file/path/to/image">
instead of the image. If you then go back into admin to edit the category, it displays it as above and if you submit blanks out the field and writes nothing to the field in the db again. :-(

This appears to be a bug. I will try to track this down further so I can report it.
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
placing a video on my about us page or the home page?? apotrader v4 Questions & Support 4 11-04-2008 10:11 PM
Category name below Category Image alsobrooks HTML, CSS, and Design Help 5 10-16-2008 10:13 AM
setting category image size breda v3.1 Questions & Support 2 08-11-2008 06:05 AM
Category Image Size objelland v3.1 Questions & Support 1 10-16-2007 06:33 PM
Placing a Linked Image on the Homepage goose HTML, CSS, and Design Help 1 09-14-2007 03:12 PM


All times are GMT -4. The time now is 03:44 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0