| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#31
|
|||||||
|
|||||||
OK. For someone that does not know about tweaking all of these files, how would I get RSS feeds to my site? I'm at 4.0.9 currently. I've downloaded the mod from cart-lab and followed the instructions. This is what I get: http://www.4clicksgps.com/customer/rss.php. Do you have to sign up for some type of RSS service before doing this? Thanks.
__________________
X-Cart version 4.0.9 Operation system Linux MySQL server 4.0.22-standard MySQL client 4.0.22 My Location: Concord, North Carolina My site is a work in progress by a web newbie so no hard poking please! www.4ClicksGPS.com |
|||||||
#32
|
|||||||||
|
|||||||||
Quote:
In order for you to display RSS feeds, you need some sources of data. Basically, RSS is only an XML file that lives on various website. You can find them pretty easily, just look for a little box with either XML or RSS on it. It will contain a link to the feed file. Copy those URLS and save them. They are the service. No signing up needed! (Think of RSS as an alternate to HTML, your program does the special news feed parsing, instead of a browser.) You need to edit the customer/rss.php file, scroll down to the # RSS Feed Urls section, and type in the saved feed URLs from above you want to display. Then also edit a matching description in the # RSS Feed Names section to match the new feed. Once you have it updated, re-upload the rss.php to your site. It should now go out and read the RSS files and display them when you click on the cart page. Congrats! You are now an official file tweaker!
__________________
X-Cart version 4.0.19 live Feed Manager Marketing Manager PHP 4.4.4 MySQL server 4.0.27-standard Apache Web Server [linux] Site http://www.wizzywig.com |
|||||||||
#33
|
|||||||||
|
|||||||||
I have the code working to generate the RSS feeds as long as I use the direct php link....but I would like to include as an embedded page in my site.
Can anyone give me instructions..... Thanks, Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#34
|
|||||||
|
|||||||
help with this mod
I'm trying to get this mod to work but no luck i spend too much already. can someone please let me know how to do it. I'm using 4.0.15 with Fashion mosaic skin.
here is what i'm getting http://www.certifiedcomp.com/store/rss.php Thanks in advance
__________________
X-Cart 4.1.7 Gold |
|||||||
#35
|
|||||||
|
|||||||
Here's Boomer's RSS mod updated to work with 4.0.12 -4.0.16.
Should work with all 4.0 versions, but I haven't tested below 4.0.12. Note! The installation is a bit different than the 3.0xx version. (more of a option really) Also, just to keep things simple & avoid some bald spots, you might not want to change any of the code/feed URLs, until AFTER you've uploaded/ tested the mod & know it works. Step 1: Log into your admin & go to "Languages" and create a lbl_rssfeed. This is what will show in the crumb trail. ie: "Home :: Live News" Step 2: Create a rss.php file with the code below & upload to /xcart/rss.php. rss.php Code:
Step 3: Create the "rss.tpl" from the code below & upload to: /xcart/skin1/customer/main/rss.tpl rss.tpl Code:
Step 4: (you can do this part in skin1/common_templates.tpl or /skin1/customer/home_main.tpl) I prefer the later, cause home_main.tpl is called before common_templates.tpl. K! Add the following code to the bottom of "/skin1/customer/home_main.tpl" just BEFORE the "{else} {include file="common_templates.tpl"} {/if}" home_main.tpl Code:
Code:
I put mine at the bottom of the "/skin1/news.tpl" ie: News from around the World Now, call the rss.php with your browser. If it loads...ya be DONE!
__________________
X-Cart 4.0.12 Gold Linux |
|||||||
#36
|
|||||||
|
|||||||
I tried the one from boomer and the one above. I followed the directions excatly.
Here is the error I get.. Fatal error: Smarty error: [in common_templates.tpl line 126]: syntax error: unexpected {elseif} (Smarty_Compiler.class.php, line 460) in /var/www/gamegeek/htdocs/Smarty-2.6.3/Smarty.class.php on line 1082 I'm on 4.11 |
|||||||
#37
|
|||||||
|
|||||||
Quote:
Look at line 126. it should show {elseif} <--which is the prob. the bottom of the file should look like sorta like: Code:
When looking at the "Smarty errors", the first part of the error will let you know... "What file is broke"...error: [in common_templates.tpl, "What line caused the error"...line 126 and "What caused the error"...syntax error: unexpected {elseif}. You really don't need to bother with the "(Smarty_Compiler.class.php, line 460)" yada yada stuff. Well...in most cases!
__________________
X-Cart 4.0.12 Gold Linux |
|||||||
#38
|
|||||||
|
|||||||
Superb............RSS feeds up and running in less than an hour
http://www.ross-co.co.uk/xcart/rss.php ....and for anyone wanting to use our feed here's the link http://www.ross-co.co.uk/xcart/RSS-Feed-p-18.html
__________________
How loud do you want it? X-Cart Gold 4.0.12 & 17 |
|||||||
#39
|
|||||||||
|
|||||||||
Re: RSS feeds
Quote:
Yeah, I did, fuzzy has a mode posted...gee, fuzzy you beat me (by psting ahead of me).
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#40
|
|||||||||
|
|||||||||
Carrie at BCSE also has a newest products RSS feed available.
http://www.bcsengineering.com/store/customer/product.php?productid=132
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|