Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Need help putting code into .tpl file - php rss2

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 09-22-2008, 08:25 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Need help putting code into .tpl file - php rss2

The last affort to make it end shedding hardly any blood
Insert this somewhere into your template f.e. skin1/customer/home.tpl,
HTML Code:
{php} echo getcwd(); {/php}

put the script rss2html.php
to directory that will be displayed after viewing this template in browser

clear cache and use this variant

HTML Code:
{php} include("rss2html.php?XMLFILE=/phpBB3/generate_feed.php%3fcontent%3dposts%26f%255B%255D%3d17%26number_items%3d1%26sid%3d3043e6c2e27b05430edc3ddff7d95c4b&TEMPLATE=sample-template.html&MAXITEMS=1"); {/php}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:36 AM.

   

 
X-Cart forums © 2001-2020