Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
Hi
I am using Zencart 1.39
I have installed the RSS FEED 2.1.4
I have just uploaded the RSS FEED after hearing all the good things about it but have a problem. I followed all the instructions but I when I click on my rss button I get page not found. Is there something I am not doing. I add the code to the htnl_header.php file at the end and it took it. I have the rss feed button on my main page.
I made the configurations in admin/rss feed
RSS Feed
Title Value Action
RSS Title my store
RSS Description
RSS Image rss png
RSS Image Name
RSS Copyright
RSS Managing Editor
RSS Webmaster
RSS Default Feed new_products
RSS Home Page Feed new_products
RSS Author
Strip tags false Generate Descriptions true
Descriptions Length 0
Categories for Products master
Time to live 1440
Default Products Limit 100
Add Product image true
Add "buy now" button true
Generate Products Price true
Generate Products ID true
Generate Products Weight true
Generate Products Brand true
Generate Products Currency true
Generate Products Quantity true
Generate Products Model true
Generate Products Images true
Generate Products Rating true
Generate Products Images Size large
Feed Cache Time 10
Please can some one help me![]()
Hi countrycharm,
Thanks for your response.
I have actually tried what you suggested already.. however, unfortunately, it doesn't make the feed inaccessible - it just removes it from the header links (which I don't use anyway). I'm trying to restrict access to that feed altogether.
Any more ideas?
Thanks![]()
I have read the thread and did not find an answer to what I am having. I installed the addon and followed the instructions well I think I diid well and when I click on my feed this is waht I see can some one help please. When I go to firefox it does not work. Can some one take a look and point me in the right direction
This is the link http://buybackissuesonline.com/index...d=new_products
Still looking some help with feed
I have installed everything as directed but still doesnt want to work, so i check cache folder if any errors and yes there was here is what they where.
Here is what the errors point toPHP Warning: Cannot use a scalar value as an array in store/includes/classes/rss_feed.php on line 150
PHP Warning: Cannot use a scalar value as an array in store/includes/classes/rss_feed.php on line 151
PHP Warning: Cannot use a scalar value as an array in store/includes/classes/rss_feed.php on line 152
Which is in this section$this->image['title'] = $title;
$this->image['link'] = $link;
$this->image['url'] = $url;
Any help is appreciatedfunction rss_feed_image($title, $link, $url, $width=0, $height=0, $description=false) {
$this->image['title'] = $title;
$this->image['link'] = $link;
$this->image['url'] = $url;
$this->width['width'] = $width;
$this->width['height'] = $height;
$this->width['description'] = $description;
Oh forgot to add i am using 1.3.9f
I'm sure I've done something really silly - but I can't figure out what and need some help.
I recently upgraded from 1.3.8 to 1.3.9f and now my rss images aren't showing up. Everything else is fine but its still trying to pull the images from the subfolder I used to migrate the shop over. I've uninstalled and reinstalled and still no images showing up. Is there a magic spot where I can just tell the happy little code where to look for the product images?
Thank you for any help.
I'm having a problem with this mod, cuz i think i don't understand this part:
6. The CSS/XSL files are sent from /includes/templates/YOUR_TEMPLATE/css/ to the browser in this order:
(and alphabetically within each case of more than one match):
rss*.css // are always loaded and at least ONE should contain site-wide properties.
rss*.xsl // are always loaded and at least ONE should contain site-wide properties.
as i only uploaded one file : rss.css what is the rss.xsl?
I've installed everything even did the search blank space, but my feed is (logo) wellshown on the footer store but when i click on it i'm rediriged to my store with a blank area in the middle...
I will really really appreciate any help .. just upgraded my store to zencart 1.3.9H (in case it's important)
Thanx you!
Hi all,
Can anybody help?
I try to add the:
4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
5. You can add to tpl_footer.php or where you want:
<!--bof RSS Feed -->
<div id="RSSFeedLink"><?php echo rss_feed_link(RSS_ICON); ?></div>
<!--eof RSS Feed -->
But it does not work.
header file:
<?php
/**
* Common Template
*
* outputs the html header. i,e, everything that comes before the \</head\> tag <br />
*
* @package templateSystem
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: html_header.php 15761 2010-03-31 19:31:27Z drbyte $
*/
/**
* load the module for generating page meta-tags
*/
require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php'));
/**
* output main page HEAD tag and related headers/meta-tags, etc
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
<head>
<title><?php echo META_TAG_TITLE; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="The Zen Cart™ Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com eCommerce" />
<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
<?php if (isset($canonicalLink) && $canonicalLink != '') { ?>
<link rel="canonical" href="<?php echo $canonicalLink; ?>" />
<?php } ?>
<?php
/**
* load all template-specific stylesheets, named like "style*.css", alphabetically
*/
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^style/', '.css');
while(list ($key, $value) = each($directory_array)) {
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
}
/**
* load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza.
*/
$manufacturers_id = (isset($_GET['manufacturers_id'])) ? $_GET['manufacturers_id'] : '';
$tmp_products_id = (isset($_GET['products_id'])) ? (int)$_GET['products_id'] : '';
$tmp_pagename = ($this_is_home_page) ? 'index_home' : $current_page_base;
if ($current_page_base == 'page' && isset($ezpage_id)) $tmp_pagename = $current_page_base . (int)$ezpage_id;
$sheets_array = array('/' . $_SESSION['language'] . '_stylesheet',
'/' . $tmp_pagename,
'/' . $_SESSION['language'] . '_' . $tmp_pagename,
'/c_' . $cPath,
'/' . $_SESSION['language'] . '_c_' . $cPath,
'/m_' . $manufacturers_id,
'/' . $_SESSION['language'] . '_m_' . (int)$manufacturers_id,
'/p_' . $tmp_products_id,
'/' . $_SESSION['language'] . '_p_' . $tmp_products_id
);
while(list ($key, $value) = each($sheets_array)) {
//echo "<!--looking for: $value-->\n";
$perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . $value . '.css';
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
}
/**
* load printer-friendly stylesheets -- named like "print*.css", alphabetically
*/
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^print/', '.css');
sort($directory_array);
while(list ($key, $value) = each($directory_array)) {
echo '<link rel="stylesheet" type="text/css" media="print" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
}
/**
* load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
*/
$directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
while(list ($key, $value) = each($directory_array)) {
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
}
/**
* load all page-specific jscript_*.js files from includes/modules/pages/PAGENAME, alphabetically
*/
$directory_array = $template->get_template_part($page_directory, '/^jscript_/', '.js');
while(list ($key, $value) = each($directory_array)) {
echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
}
/**
* load all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically
*/
$directory_array = $template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.php');
while(list ($key, $value) = each($directory_array)) {
/**
* include content from all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically.
* These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
*/
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
}
/**
* include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
*/
$directory_array = $template->get_template_part($page_directory, '/^jscript_/');
while(list ($key, $value) = each($directory_array)) {
/**
* include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
* These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
*/
require($page_directory . '/' . $value); echo "\n";
}
// DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
?>
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/all_business/css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/all_business/css/ie7.css" /><![endif]-->
</head>
<?php // NOTE: Blank line following is intended: ?>
footer file:
<?php
/**
* Common Template - tpl_footer.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_footer = true;<br />
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $
*/
require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
?>
<?php
if (!isset($flag_disable_footer) || !$flag_disable_footer) {
?>
<div id="footer">
<!--bof-navigation display -->
<div id="navSuppWrapper">
<!--BOF footer menu display-->
<?php require($template->get_template_dir('tpl_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_menu.php');?>
<!--EOF footer menu display-->
</div>
<!--eof-navigation display -->
<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
<!--eof- site copyright display -->
</div>
<!--bof-ip address display -->
<?php
if (SHOW_FOOTER_IP == '1') {
?>
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
<?php
}
?>
<!--eof-ip address display -->
<!--bof-banner #5 display -->
<?php
if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof-banner #5 display -->
<?php
} // flag_disable_footer
?>
Please help me. Thx a lot
Last edited by anqus11; 16 Dec 2010 at 12:02 PM.
A couple of years ago I had this mod working just perfectly on my 1.3.7.1 and 1.3.8a installs - no problem whatsoever.
A few days ago I decided to install the mod on a 1.3.9h store (I may have been bored and needed something to do ....) just to find that I am encountering all sorts of problems which I won't specify here.
After analyzing, changing, re-installing etc I have come to the conclusion that this mod is in need of a major revamp to fully comply with the 1.3.9 series.
Sad but true.
If anyone has the time and knowledge to take over from Andrew and redevelop the mod then that would be much appreciated.
Bookmarks