The WorksForWeb Community Forums
Welcome to the WorksForWeb community forums. Here you can discuss WorksForWeb products with others and contribute to the rapidly growing WorksForWeb community. Please note that while WorksForWeb staff try to maintain presence on the forums, this is not the most reliable way to contact WorksForWeb staff. In case you require a timely response from WorksForWeb on an issue, please open a support ticket here. For pre-sales questions, please open a sales ticket here.

Welcome, Guest. Please login or register.
February 07, 2012, 11:31:02 PM

Login with username, password and session length
Search:     Advanced search
Added the iLister-related Boards

Rate My Site Boards Added

Merged iAuto and iRealty Support Forums together

Several new tips in the Tips and Tricks section
1,602 Posts in 623 Topics by 1,179 Members
Latest Member: bobsteam
* Home Help Search Login Register
+  The iAuto/iRealty/iLister Support Forum
|-+  iAuto, iRealty and iLister v.4.x
| |-+  General iAuto Discussions
| | |-+  RSS Feed
« previous next »
Pages: [1] Print
Author Topic: RSS Feed  (Read 543 times)
drabello
Newbie
*

Karma: 0
Posts: 28


View Profile
« on: July 31, 2010, 03:31:48 AM »

Hello i have iauto v.4  and i need to add a rss feed system, last listing & feautured listings like you have in the v.5 but i cant upgrade cause i customize lots of pages...

I add this <link rel="alternate" type="application/rss+xml" href="{$GLOBALS.site_url}/system/classifieds/last_listings_rss/?lang={$GLOBALS.current_language}" title="[[Last Listings:raw]]">
   <link rel="alternate" type="application/rss+xml" href="{$GLOBALS.site_url}/system/classifieds/featured_listings_rss/?lang={$GLOBALS.current_language}" title="[[Featured ads:raw]]">
in the main and index page.

and i create:
rss.tpl  last_listings.tpl and feautured_listings.tpl   but its not working, when i click feed i get a blank page.

Can you help me on this?  i really need... tx
Logged
Arthur
Jr. Member
**

Karma: 2
Posts: 81


View Profile
« Reply #1 on: August 02, 2010, 01:09:31 PM »

Hello drabello.
Next time please enter your full version - not only iAuto 4 but iAuto 4.3.0
And here is solution.
edit main.tpl and index.tpla
add
Code:
<link rel="alternate" type="application/rss+xml" href="{$GLOBALS.site_url}/system/classifieds/last_listings_rss/?lang={$GLOBALS.current_language}" title="[[Last Listings:raw]]">
<link rel="alternate" type="application/rss+xml" href="{$GLOBALS.site_url}/system/classifieds/featured_listings_rss/?lang={$GLOBALS.current_language}" title="[[Featured ads:raw]]">

Copy from new version files
rss.tpl
last_listings_rss.tpl
featured_listings_rss.tpl
to templates\theme\classifieds\ folder

In system\modules\classifieds\config.php
to functions area add:

 
Code:
       'featured_listings_rss' => array
        (
            'display_name'    => 'Featured Listings  RSS',
            'script'        => 'featured_listings_rss.php',
            'type'            => 'user',
            'access_type'    => array('user'),
            'raw_output'    => true,
        ),
       
        'last_listings_rss' => array
        (
            'display_name'    => 'Last Listings  RSS',
            'script'        => 'last_listings_rss.php',
            'type'            => 'user',
            'access_type'    => array('user'),
            'raw_output'    => true,
        ),

That's it.

Regards
Logged

drabello
Newbie
*

Karma: 0
Posts: 28


View Profile
« Reply #2 on: August 04, 2010, 12:03:48 AM »

Hey arthur,

It work perfect! thank you so much!

Thanks again for the fest suport.

Regards,

David.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Classified Software by Worksforweb Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!