|
|
#1 |
|
Junior Member
Join Date: Jul 2006
Posts: 23
Rep Power: 14 ![]() |
We're running 68 in a subdirectory (mysite.com/ads/). Is it possible to display the Featured Items and/or New Listings tables within our html home page? If so, what code would need to be added to the html page? Thanks
|
|
|
|
|
|
#2 |
|
Moderator
|
You would need to be running smarty in your main directory and then copy the plugin to that installation of smarty. You could also rss the featured ads to your main site without needing smarty.
__________________
John Snyder PHP Developer |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2006
Posts: 23
Rep Power: 14 ![]() |
I downloaded your free rss module and installed it. How do I add:
{assign var="rssbody" value=$smarty.const.FILESYSTEM_PATH} {include file="$rssbody/modules/rss_mod/templates/rss_mod/rss.tpl.php"} to the html file? I can't seem to get it working. Thanks |
|
|
|
|
|
#4 |
|
Moderator
|
Open templates/default/layout.tpl.php or other template file such as home.tpl.php (where ever you want the feed to be displayed) and copy/paste in the file where you want the feed to be displayed. Also, be sure you set a feed in the module admin.
Also - if you have another module such as SEO New running let me know, I'll have to send you a fix to allow the sharing of hooks by different modules. This will be implemented in the next version of 68 Classifieds.
__________________
John Snyder PHP Developer |
|
|
|
|
|
#5 |
|
Moderator
|
Are you trying to run the module outside of the 68 directory? It will only work within the 68 Classifieds files - because it is based on smarty and the fact that the module system only extends to those files.
__________________
John Snyder PHP Developer |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jul 2006
Posts: 23
Rep Power: 14 ![]() |
I wanted to a the rss in the root index.html file. I have 68 installed in /ads directory.
|
|
|
|
|
|
#7 |
|
Moderator
|
Yes, this module won't do that for you.
Inside the module files are the Magpie distribution docs - it should explain how to set it up outside of smarty. I think I made some changes so you'd be better off downloading a fresh copy of magpie or another rss parser and then follow those instructions for setup outside of your "ads" directory.
__________________
John Snyder PHP Developer |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jul 2006
Posts: 23
Rep Power: 14 ![]() |
I setup magpierss as suggested and understand the basics of it but after working with it for a day I do not understand how to create a 68 rss feed that displays new items (photo, title, price, link) on our index.html page using magpierss. The magpierss files are in /magpierss directory and 68 is in /ads directory. Any help would be greatly appreciated. Thanks
|
|
|
|
|
|
#9 |
|
Moderator
|
To create RSS feeds from your site just pass the right variables to external.php.
The values it is setup to take are: category = type city = city state = state country = country ad owner = owner minimum price = minprice maximum price = maxprice number of ads (default is 15) = limit text search of title and description = searchtext To utilize these you would call external.php in this manner: external.php?type=1&city=dallas Magpie is pretty much setup "right out of the box". It generally just requires a url. For the url construct as above the place the full url in the magpie spot - http://www.yoursite.com/ads/external...ty&state=state Do you have the developer or designer version? If you have the developer version I can help you change the query a bit for featured ads, newlistings etc.
__________________
John Snyder PHP Developer |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Jul 2006
Posts: 23
Rep Power: 14 ![]() |
I have the developer version. Thanks
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RSS feed to HTML page | SkGold | v3.1 Modules & Modifications | 10 | 12-29-2006 05:39 PM |
| Adding a new page | spaceboy | v3.1 Questions & Support | 6 | 09-24-2006 07:45 AM |
| Removing browse category table from main page. | gabs | v3.0 Questions & Support | 1 | 06-24-2006 12:37 PM |
| 3.0.xx upgrading to 3.1... is this normal? | Mikael | v3.1 Questions & Support | 4 | 05-23-2006 04:36 PM |
| Adding HTML to Short & Long Descriptions | NJHomeGuide | v3.0 Questions & Support | 7 | 04-28-2006 03:43 PM |