|
|
#11 | |
|
Senior Member
Join Date: Jan 2007
Posts: 365
Rep Power: 19 ![]() |
Quote:
Still not category specific.
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
|
#12 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,020
Rep Power: 116 ![]() |
Ok I am confused.
I thought you only wanted this on the categories page and not on the actual viewlisting page. To add it to the viewlisting template you will need to use: {$section}
__________________
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 |
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Jan 2007
Posts: 365
Rep Power: 19 ![]() |
Eric, thanks. Sorry to sound thick but where precisely would I put that?
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#14 |
|
Senior Member
Join Date: Jan 2007
Posts: 365
Rep Power: 19 ![]() |
Never mind, the thicko worked it out . .
![]() Thanks again.
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Jan 2007
Posts: 365
Rep Power: 19 ![]() |
One more request to tighten up this useful mod. Let's say I have the following categories;
Top Level > Sub Level 1 > Ad' Level With the mod' as it functions now we will have an RSS link in the breadcrumb on every level. If the top two levels do not permit ad's then the RSS link may be an unneccesary distraction. Is it possible to ensure that the RSS link only shows on categories where ad's are permitted? Many thanks
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#16 |
|
Coder
Join Date: Mar 2006
Posts: 4,419
Rep Power: 108 ![]() ![]() |
In the smarty multidimentional array called data it has values for categories and key-> vallue for allowing ads for the category. You could incorporate that into the logic an selectivly display the rss icon.
|
|
|
|
|
|
#17 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,039
Rep Power: 27 ![]() |
Just an idea (not sure that this is quite the ticket) but if you are using showlistngs (you mean category listings and not viewlisting) why not put your test on the variable {$results} being empty. I think this will work.
|
|
|
|
|
|
#18 |
|
Senior Member
Join Date: Jan 2007
Posts: 365
Rep Power: 19 ![]() |
Larry and Seymour, thank you both. Unfortunately your advice is a bit over my head.
![]() The following is from my categories/breadcrumb.tpl Could you point out the changes I need to make to get the desired results in my category listings? Thanks, I really appreciate your help. <p class="breadcrumb"> <a href="category.php" class="breadcrumb">{$smarty.const.LANG_BROWSE_CATE GORIES}</a> {foreach from=$breadcrumb item="entry"} {$smarty.const.LANG_CAT_SEPERATOR} {$entry} {/foreach} . . . . <a href="{$smarty.const.URL}/external.php?category={$catID}">RSS Feed</a> <a href="{$smarty.const.URL}/external.php?category={$catID}"><img src="templates/{$smarty.const.MAIN_TEMPLATE}/images/rss2.png" alt="RSS Feed" /></a> </p>
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#19 |
|
Senior Member
Join Date: Jan 2007
Posts: 365
Rep Power: 19 ![]() |
waves hand sheepishly . . . .
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#20 | |
|
Coder
Join Date: Mar 2006
Posts: 4,419
Rep Power: 108 ![]() ![]() |
Quote:
<p class="breadcrumb"> <a href="category.php" class="breadcrumb">{$smarty.const.LANG_BROWSE_CATE GORIES}</a> {foreach from=$breadcrumb item="entry"} {$smarty.const.LANG_CAT_SEPERATOR} {$entry} {/foreach} {if isset($results)} . . . . <a href="{$smarty.const.URL}/external.php?category={$catID}">RSS Feed</a> <a href="{$smarty.const.URL}/external.php?category={$catID}"><img src="templates/{$smarty.const.MAIN_TEMPLATE}/images/rss2.png" alt="RSS Feed" /></a> {/if} </p> that methods shortcoming is that if the category does alow ads but there just arent any they wont get an rss link. Which could make it more difficult for them to save the feed for later reference. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Category specific RSS feeds. | michael | v4 Questions & Support | 9 | 12-01-2008 02:50 PM |
| Hide a category on public pages? | HotAir | v3.1 Questions & Support | 6 | 12-05-2007 10:17 AM |
| Display Banner in one Category | BABBSELA | v3.1 Questions & Support | 3 | 02-10-2007 02:22 PM |
| Branding each Category | BABBSELA | v3.1 Modules & Modifications | 0 | 02-10-2007 01:17 PM |
| Category problem | dawyatt | v3.1 Questions & Support | 2 | 05-24-2006 03:58 PM |