|
|
#1 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 3 ![]() |
I want to place a small note above the listings on my "featured" page, but I can't find the file (.tpl?) that controls it. Am I missing something or is it not available to me? Any suggestions?
~v4.0.9 Designer |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,332
Rep Power: 40 ![]() ![]() |
There is no "featured" page unless you created one.
Do you mean the link for featured listings? If so, that is a search based on listings being set to featured which then shows in the showlistings(2).tpl. -Mike
__________________
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 |
|
|
|
|
|
#3 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 693
Rep Power: 17 ![]() |
Or the featured items on the home page? if so then that would be in home.tpl
Nick
__________________
Nick Bowers 68c v4.09 Developer |
|
|
|
|
|
#4 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 3 ![]() |
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,332
Rep Power: 40 ![]() ![]() |
As I stated in my post, "...shows in the showlistings(2).tpl."
Since this is a common template file that shows the results of searches adding specific text that shows only when the search if for "featured" listings would have to be in a logic statement. I haven't played with this, however I think it would need to be something along the lines of: Code:
{* Modification to show text for featured listings search *}
{if $searchtext='featured'}
<p>Here's a list of our featured listings.</p>
{/if}
__________________
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 |
|
|
|
|
|
#6 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 3 ![]() |
That didn't work but that's the idea. I just can't seem to get it right?
|
|
|
|
|
|
#7 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 3 ![]() |
anyone got any ideas?
|
|
|
|
|
|
#8 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 3 ![]() |
Just wanted to complete this incase someone else finds this thread.
I fixed the problem with this code place after the pagination code in showlistings.tpl : Code:
{if $smarty.get.pg == "featured"}
<p style="text-align: center;"> "some text" </p>
{/if}
__________________
v4.0.9 Designer |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How To Customize Template? | 68 Newbie | v4 Modules / Modifications | 4 | 08-15-2008 11:03 PM |
| Need HELP in Locating the Index.php files to customize | daniel24 | v3.1 Modules & Modifications | 1 | 04-20-2007 03:39 PM |
| Featured ads in home page | Marcelo | v3.1 Questions & Support | 0 | 04-19-2007 08:49 PM |
| Customize Search Fields | Unregistered | Pre Sales Questions | 2 | 11-24-2006 02:47 PM |
| Featured Listings on Home Page | LukeOut | v3.0 Questions & Support | 9 | 04-06-2006 04:36 PM |