Support Forums

Old 12-18-2008, 10:13 PM   #1
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 3
island1 is on a distinguished road
Default Customize Featured Page?

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
island1 is offline   Reply With Quote
Old 12-18-2008, 10:20 PM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,332
Rep Power: 40
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

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
Mike-N-Tosh is offline   Reply With Quote
Old 12-18-2008, 10:31 PM   #3
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 693
Rep Power: 17
bowers01 is on a distinguished road
Default

Or the featured items on the home page? if so then that would be in home.tpl

Nick
__________________
Nick Bowers
68c v4.09 Developer
bowers01 is offline   Reply With Quote
Old 12-18-2008, 10:38 PM   #4
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 3
island1 is on a distinguished road
Default

Quote:
Originally Posted by Mike-N-Tosh View Post
Do you mean the link for featured listings?
Yes. Can I add something to that tpl? Coul you suggest where in the code it would go? Thanks!
island1 is offline   Reply With Quote
Old 12-19-2008, 07:20 AM   #5
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,332
Rep Power: 40
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

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
__________________
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
Old 12-19-2008, 10:36 AM   #6
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 3
island1 is on a distinguished road
Default

That didn't work but that's the idea. I just can't seem to get it right?
island1 is offline   Reply With Quote
Old 12-19-2008, 05:20 PM   #7
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 3
island1 is on a distinguished road
Default

anyone got any ideas?
island1 is offline   Reply With Quote
Old 12-31-2008, 05:23 PM   #8
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 3
island1 is on a distinguished road
Default

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
island1 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
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


All times are GMT -4. The time now is 08:33 AM.


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