|
|
#1 |
|
Senior Member
|
Hi there,
I'd like to display an extra field 'Info' underneath the views field in a category called Services. I wanted the value of this to be a string indicating that the services aren't endorsed by the site and users need to exercise their own discretion when using. I've been trying to do it using the following code PHP Code:
Any ideas why ? Thanks, Mully
__________________
v4.08 |
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,087
Rep Power: 117 ![]() |
Mully,
I think I need a little more information from you. ![]() Is this in the showlistings template or viewlistings?
__________________
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 |
|
|
|
|
#3 |
|
Senior Member
|
Hi Eric,
I was planning on adding this in the viewlistings.tpl file just after the code PHP Code:
Thanks, Mully
__________________
v4.08 |
|
|
|
|
#4 |
|
Senior Member
|
Hi Eric,
Any ideas on this one ? Thanks in advance, Mully
__________________
v4.08 |
|
|
|
|
#5 |
|
Moderator
|
Do this at the template level (viewlistings.tpl.php):
{if $listingsection=="some section #"}Some Message{else}some other message{/if}
__________________
John Snyder PHP Developer |
|
|
|
|
#6 |
|
Senior Member
|
Thanks John.
Worked perfectly. Mully
__________________
v4.08 |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Show name of category in viewlisting | HotAir | v3.1 Questions & Support | 4 | 01-08-2007 03:59 PM |