Support Forums

RSS - How do you make it work?

This is a discussion on RSS - How do you make it work? within the Modules / Plugins / Modifications forums, part of the Developer Forums category; I have found the browse.tpl. now it's a matter of figuring out how to put the RSS image and feed ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 08-07-2008, 12:59 PM   #1
Member
 
Join Date: Jul 2008
Posts: 76
Rep Power: 14
centinel3 is on a distinguished road
Default RSS - How do you make it work?

I have found the browse.tpl. now it's a matter of figuring out how to put the RSS image and feed so that it is unique per category (e.g. furniture, small things, large things). Ideally I would like to have the RSS image icon in front and inline with the breadcrumbs main category text. Or if there is an easier way to implement this feature, I'm up for suggestions.


Thank you again for all your help. This is much appreciated.

chris
centinel3 is offline   Reply With Quote
Old 08-07-2008, 01:03 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

I do not understand what you are actually trying to do. Please explain.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 08-07-2008, 01:23 PM   #3
Member
 
Join Date: Jul 2008
Posts: 76
Rep Power: 14
centinel3 is on a distinguished road
Default RSS Feed

I would like to put an RSS feed on individual categories. How do I go about this. Where do I put the RSS image so people can click on it for the feed.

Thank you,
chris
centinel3 is offline   Reply With Quote
Old 08-07-2008, 01:31 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by centinel3
I would like to put an RSS feed on individual categories. How do I go about this. Where do I put the RSS image so people can click on it for the feed.

Thank you,
chris
Use firefox with firebug, right click on the page where you would like to put image and select inspect element to see the html where you clicked and put your image there in the appropriate template which is displayed using debug=1 as we discussed in the other thread.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 08-07-2008, 02:03 PM   #5
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Also you may want to check out this template:
http://68mods.com/listing/21/Hello_D__Theme.html

It includes an rss image where I think you want it:
http://68mods.com/categories/templates.html
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 08-07-2008, 02:31 PM   #6
Member
 
Join Date: Jul 2008
Posts: 76
Rep Power: 14
centinel3 is on a distinguished road
Default That's right.

Slow leaning today. Firefox is my new best friend.

I did as you said and found that the location is

<a href="categories/antiques.html" class="breadcrumb">Antiques</a>

I went in and looked for the antiques.html file and can not find it. I know it was created, though I'm not sure how to locate it. For that matter, I'm not sure how to locate any file that is created on the database (assuming that this file is there).

chris
centinel3 is offline   Reply With Quote
Old 08-07-2008, 02:54 PM   #7
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

If you have the SEO module installed then the names of the files are not what you think they are.

categories/antiques.html would actually be category.php?cat=antiques

But the same template file is used for all the categories. categories/browse.tpl
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 08-07-2008, 03:30 PM   #8
Member
 
Join Date: Jul 2008
Posts: 76
Rep Power: 14
centinel3 is on a distinguished road
Default I'm gettin' it.

I'm grasping it now. So I can choose to put the RSS image anywhere on the browse.tpl template, though how do I go about making it so the RSS feed is unique per category? Do I just plop the image in a good location and then have multiple links on it:

like this:
http://www.closeoutfloorsamples.com/...cat=appliances
http://www.closeoutfloorsamples.com/...?cat=furniture
http://www.closeoutfloorsamples.com/...p?cat=antiques

probably not, though would like to figure this out.

chris
centinel3 is offline   Reply With Quote
Old 08-07-2008, 03:36 PM   #9
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

That is why I mentioned downloading that template. It already includes the code you are looking for.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 08-07-2008, 03:42 PM   #10
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

The image has nothing to do with the rss feeds itself its just something "clickable" (ie an html anchor) that takes a person to the rss feed script which is external.php.

You should be able to create a link to the external.php file and append to it cat={$smarty.get.cat}
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Maffo's Location mod work with the US zip code module from 68 classifieds? fendter Technical Support 1 07-23-2008 06:32 AM


All times are GMT -4. The time now is 08:53 PM.


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