-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
lindasdd:
Thanks for your response. It has helped, however I am still a bit confused... my dilema is:
It was my tabbed_products_pro.php file causing the issue. So I simply re-uploaded my backup and now the product display page comes up fine!!!
However, I do have the Description, Details and Reviews Enabled in my Admin Config for TPP, but I do not have the tabs displaying on my page.
Am I still missing something? Do I need to add some custom tags for those. I did install the 3 snippets of code in my tpl_product_info_display.php page.
Any ideas? Thanks again for your help.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
lindasdd:
Hi, I believe I have figured out what I am doing wrong (I hope). After reading the Installation and How to Use tabs again in the readme file, I believe I have to install the tag code in the products description field, correct?
If that is true, is there a way to do that globally, instead of having to go thru each individual product and installing the tag code one by one?
Is there a way to place that tag code in the correct php file so that it populates in the product description box automatically?
Thanks again for your help.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
lindasdd:
Good news, I believe I have it working! Only 1 minor detail: the tabs show up as a bulleted list. I am assuming that is the default css stylesheet at work, correct?
I know that there are other formats to choose from, any suggestions? thanks.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Not sure on the bullets, but it sounds like CSS.
In regards to global tabs, I currently add them to product pages as needed since all mine require different info.
Considering there are a couple global tabs that appear as needed(reviews, images,etc.) there should be some way to add other global tabs by digging into the file. Unfortunately I am not the author so I wouldn't be able to assist there.
lindasdd
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks lindasdd:
After getting it to work, I understood the instructions in the readme a bit more regarding the tags.
Regarding the bullets, I believe you are correct, I checked the css file that I'm using (the default one) and it seems that #slidetabsmenu has the ul and li css code to form a bulleted list.
Do you know what css code I could use to just form the tabs.
I am a bit confused as to why it would default to bullets instead of tabs?
Thanks for your help.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
lindasdd:
All fixed! I got tabs! Just had to upload all the css files, didn't think I had to do that.
Have a great day and thanks for your replies.
-
Add-On for Tabbed Pro
AddOn syntax: <!–%TabName%–><!–###functionToCall###–>
example: <!--%WordPress%--><!--###getWPTag###-->
this syntax creates a tab called WordPress, calls a function with the name getWPTag with the parameter products_id. in WordPress you must use a tag with the products-id.
you can find the example code in includes/functions/extra_functions/class.rlwp.php
at line 13 you find
define (’ABSPATH’,'/var/www/html/wordpress/’);
replace the path with your realPath to wordpress
I'm struggling to make this work. When I edit class.rlwp.php to what I think is the path to WordPress, ZenCart refuses to load.
Obviously I'm not doing something right.
ZenCart is in the root, WordPress is in the subdirectory /blog
There seems to be a function to call pdf files also. Anyone have either of these working? Any insight would be appreciated!
Thanks,
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
In my 1.3.7 other website version I used the older version of tablight, and all works great: can I use this tablite version in my new website used the latest version 1.3.8b version?
Because when I upload the html_header.php into common folder, my template (classic) assume a strange layout.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi There,
I'm just wondering if someone can help me out I installed the tabs and everything seems to be working fine at my end but for some reason on all the product pages only where the tabs are located it now says "Error on page" in the status bar
http://www.elitehorsewear.com/store/...&products_id=1
Thanks in advance
Rob
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
scouting82
Hi There,
I'm just wondering if someone can help me out I installed the tabs and everything seems to be working fine at my end but for some reason on all the product pages only where the tabs are located it now says "Error on page" in the status bar
http://www.elitehorsewear.com/store/...&products_id=1
Thanks in advance
Rob
I've the same issue!!!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
scouting82
Hi There,
I'm just wondering if someone can help me out I installed the tabs and everything seems to be working fine at my end but for some reason on all the product pages only where the tabs are located it now says "Error on page" in the status bar
http://www.elitehorsewear.com/store/...&products_id=1
Thanks in advance
Rob
If you look at the error it says there is a problem with "browser" not defined.
Looking at your page source, i see:
var Slimbox;(function(){var E=window,n=Browser.Engine.trident4,t,g,F=-1,v,D,u,x,L,r,m={},s=new Image(),J=new Image(),H,a,h,p,I,e,G,c,z,K,w,i,d,B;E.addEvent("domready",function(){$(document. body).adopt($$(H=new Element("div",{id:"lbOverlay"}),a=new Element("div",{id:"lbCenter"}),G=new Element("div",{id:"lbBottomContainer"})).setStyle("display","none"));h=new Element("div",{id:"lbImage"}).injectInside(a).adopt(p=new Element("div"),I=new Element("a",{id:"lbPrevLink",href:"#",title:"ZEN_LIGHTBOX_ALT_PREVIOUS",styles:{ "background":"transparent
Looks like its something with Slimbox, not TPP
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hello, after i have tabbed products installed, my ajax image swapper doesn't work anymore, is it possible to run both ais and tpp?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
bear1728
hello, after i have tabbed products installed, my ajax image swapper doesn't work anymore, is it possible to run both ais and tpp?
ps: tpp version 1.06b
zencart 1.38a
i use ajax images swapper, today i installed tabbed products pro 1.06b, then my main product image and additional images (which used by ajax images swapper js) disappear.
i like tpp and dont want to remove it, but what do i get back my ajax images?
thanks
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
bear1728
ps: tpp version 1.06b
zencart 1.38a
i use ajax images swapper, today i installed tabbed products pro 1.06b, then my main product image and additional images (which used by ajax images swapper js) disappear.
i like tpp and dont want to remove it, but what do i get back my ajax images?
thanks
there's an error on the site
on this line <body id="productinfoBody" onload="loadImages();">
says : loadImages is not defined
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
if i remove the file
/includes/templates/mytemp/common/html_header.php
then my ajax images swapper works fine,
i did another test, i remove the ajax images swapper module, but tabbed products pro doesn't work with image handler eighter,
then i remove
/includes/templates/mytemp/common/html_header.php
then the image handler works fine.
but to make tabbed products pro work, i have to reupload the file /includes/templates/mytemp/common/html_header.php !!
then what do i make tabbed products work with other modules such as image handler or ajax images swapper?
any ideas?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I'd like to know the answer to your question too!
I have found from other mods that AJAX image swapper died when using another javascript.
I don't know enough about programming to be much help with a resolution.
If you find a way to get it working please let us know.. I will do same.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hello, i get 2 errors cause the file html_header.php
error1: update_zone is not defined on create account page
error2: session_win is not defined on shopping cart page and product info page
if i put back the origin html_header.php , those 2 errors fixed but i have no tabbed products.
what do i fix the problem? here is the html_header.php from tpp:
PHP Code:
<?php?>
<!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
$jscript_files_to_load = $css_files_to_load = array();
/**
* 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)) {
$css_files_to_load[$value] = -300;
}
/**
* 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;
$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)) $css_files_to_load[trim($value, '/').'.css'] = -200;
}
/**
* 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";
}
if (file_exists(DIR_WS_CLASSES . 'browser.php')) {
include_once(DIR_WS_CLASSES . 'browser.php');
$browser = new browser();
$browser_name = strtolower($browser->Name);
if (($browser_name == 'msie') && $browser->Version <= 6) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie6-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie6-/', '.js');
} if (($browser_name == 'msie') && $browser->Version >= 7) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie7-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie7-/', '.js');
} elseif ($browser_name == 'firefox') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ff-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ff-/', '.js');
} elseif ($browser_name == 'safari') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^safari-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^safari-/', '.js');
} elseif ($browser_name == 'chrome') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^chrome-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^chrome-/', '.js');
}
while(list ($key, $value) = each($directory_array )) {
$css_files_to_load[$value] = -100;
}
while(list ($key, $value) = each($js_directory_array )) {
$js_files_to_load[$value] = -500;
}
}
/**
* 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)) {
$jscript_files_to_load[$value] = -400;
}
/**
* 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)) {
$jscript_files_to_load[$value] = -300;
}
/**
* 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
*/
$jscript_files_to_load[$value] = -200;
}
/**
* 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
*/
$jscript_files_to_load[$value] = -100;
}
$files = loadCssJsFiles($css_files_to_load, $jscript_files_to_load);
foreach($files['css'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];
foreach($files['js'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];
//DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
?>
</head>
<?php // NOTE: Blank line following is intended: ?>
here is the origin html_header.php
PHP Code:
<?php
?>
<!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
/**
* 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;
$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') . ' -->';
?>
</head>
<?php // NOTE: Blank line following is intended: ?>
thanks
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
TPP doesn't use anything with html_header nor have any code to affect images. I have never had a problem using IH2 with TPP and I likely wouldn't have a problem with the ajax swapper. But I don't know. I'd need a link to your sites to see what firebug says about it
But my js is very small and specific and only affects the product page. If IH2 stopped working on other pages then something else is wrong.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hello, those 2 errors are not concerned with ajax images or images
cause this time, this site has no ajax images modules installed, and all images show correctly
the problem is :
after i have tpp installed,
on create_account page, that state/province doesn't show dropdown anymore, i get the error "update_zone is not defined"
on shopping_cart page, if i click the "help" button or "shipping estimate" button, no page pop up anymore, i get the error "session_win is not defined "
then i did a test, i replaced the html_header.php from tpp with the origin html_header.php, those 2 errors mentioned above disappeared suddenly.
when i put back this html_header.php from tpp, those 2 errors come back.
that's why i guess the problem is in the file html_header.php, but i don't know what do i fix the problem.
ps: i use zencart 1.38a and tpp 1.06b
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hi, just now i did another test, i still use the html_header.php from tpp, but i did some changes,then it seems everything goes well,
but i'm not sure if there's anything wrong i haven't found or any hidden trouble? or is there a better way? :unsure:
i changed these codes:
PHP Code:
$css_files_to_load[$value] = -300;
if (file_exists($perpagefile)) $css_files_to_load[trim($value, '/').'.css'] = -200;
$jscript_files_to_load[$value] = -400;
$jscript_files_to_load[$value] = -300;
$jscript_files_to_load[$value] = -200;
$jscript_files_to_load[$value] = -100;
to the following codes:
PHP Code:
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
require($page_directory . '/' . $value); echo "\n";
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
None of your tests make any sense because TPP doesn't come with a html_header.php file
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I was having the same problem. I use your code to edit the html_header.php and the problems went away. I hope this doesn't bring up any new problems. By the way I didn't have any mod install on my test site where i install TPP and I was having this problem. Thanks for the codes. By the way this is a great mod. Thank you very much for taking the time to develope this.
Quote:
Originally Posted by
bear1728
hi, just now i did another test, i still use the html_header.php from tpp, but i did some changes,then it seems everything goes well,
but i'm not sure if there's anything wrong i haven't found or any hidden trouble? or is there a better way? :unsure:
i changed these codes:
PHP Code:
$css_files_to_load[$value] = -300;
if (file_exists($perpagefile)) $css_files_to_load[trim($value, '/').'.css'] = -200;
$jscript_files_to_load[$value] = -400;
$jscript_files_to_load[$value] = -300;
$jscript_files_to_load[$value] = -200;
$jscript_files_to_load[$value] = -100;
to the following codes:
PHP Code:
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
require($page_directory . '/' . $value); echo "\n";
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I downladed the mod from your signature link and it came with a html_header.php file.
Quote:
Originally Posted by
qhome
None of your tests make any sense because TPP doesn't come with a html_header.php file
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi There,
I'm running 1.3.8a zen cart. With security patch applied.
Ajax image swapper 3.4.1
Image Handler 2
zen light box
When I tried installing TPP it killed image handler completely.
On the LIVE account. When clicking to view a product the page loads blank other than my header menu.
All else loads blank.
I created a test server using WAMP locally. I am using a slightly earlier version of php. But all is working.
I created a duplicate of the website. I installed TPP and this time the TPP worked. It did however kill AJAX image handler. All attributes offered in AJAX no longer function. it is missing the image handler image (reverts to standard) Zenlight box feature no longer works and hover feature over images that enlarge image also was dead.
So as far as i can tell AJAX image swapper is not displaying or loading at all if TPP is installed.
I have removed TPP from LIVE site as this is open to public.
On the WAMP ############## of the live site I have I tried the changes suggested:
i changed these codes:
PHP Code:
$css_files_to_load[$value] = -300;
if (file_exists($perpagefile)) $css_files_to_load[trim($value, '/').'.css'] = -200;
$jscript_files_to_load[$value] = -400;
$jscript_files_to_load[$value] = -300;
$jscript_files_to_load[$value] = -200;
$jscript_files_to_load[$value] = -100;
to the following codes:
PHP Code:
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
require($page_directory . '/' . $value); echo "\n";
This didn't help me at all. Still exactly the same.
I can vouch that TPP does have have html_header file in mod: includes/template/mytemplatename/common/html_header.php
If there is any info I can provide that may help someone work out a solution please let me know what you would like.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
phoeuth
I downladed the mod from your signature link and it came with a html_header.php file.
Ah.. so it looks like its a new author who has started changing it and reuploading it. I have no control of that.
"MY" latest version did not come with this file and I cannot support the version from the new author "yellow1912"
If you want my support use the latest version with my name as the Author.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
Ah.. so it looks like its a new author who has started changing it and reuploading it. I have no control of that.
"MY" latest version did not come with this file and I cannot support the version from the new author "yellow1912"
If you want my support use the latest version with my name as the Author.
Which one is your most recent?
Version: v1.05 ?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hello Qhome,
I installed:
Author: QHome
Version: v1.05.
This works perfectly.
However, it completely killed my Ajax image swapper as the newer version did.
:(
I need both working...
Where/How would I start trouble shooting this?
I'm not a programmer... There are no errors to report.
My guessing would be:
I would assume that TPP is overriding the standard layout of product information page somewhere.
I would guess it does this before AJAX image swapper script is run or the script doesn't run at all for AJAX as it is byassed.
Unfortunately, my programming knowledge is very limited and where to check or edit is out of my depth.
Any advice or steps would be appreciated.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Post the url to the page having the issue here and I can help you with that.
I posted the new version with CJ Loader included, you can turn off the minify option via your admin->configuration->css/js loader to see if that resolve any conflict.
Many current modules of zencart loads css files and js files in very inefficient way which slows down the loading speed of the site and badly affect users' experience. For example, the Ajax Image Swapper module loads js and css file on EVERY PAGE even if not necessary, this is a TOTAL WASTE of resources. CJ Loader is designed to solve that problem. The reason I posted my own version of TTP is because TPP is using import in its css file which may not work out very well when minified. There is a much more elegant way to do it with CJ Loader.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi Yellow,
Thanks for responding and explaining everything,
I have now installed your latest version of TPP and the CJ loader to the LIVE site.
With the CJ loader going it removes my templates. I assume I will need to check on my folder names and ensure named after my template correctly. I should be able to resolve that myself.
IN regards to an example of AJAX image swapper and all it features no longer functioning:
http://www.yodgee.com.au/index.php?m...roducts_id=308
Everything works fine on the website except if you view the product information page (besides the IH hover feature).
As the site is live I will leave as is overnight before I revert.
Thanks for any input.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi Yellow1912,
I PM'd you details.
Thanks very much,
Muz
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hello ALL,
Just like to publicly thank Yellow1912 for going out the way above and beyond with my issues.
I'm by no means associated with rubikintegration.com but after having such a positive experience with yellow1912 I highly recommend their services.
In regards to my issue. It seems as though I have overwritten an AIS file with the TPP install. (Though lots of hair was lost to discover this)
The CJ loader has dramatically speed up website as well. Couldn't be happier.
May good Karma come your way Yellow1912,
Thanks Muz
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I was wondering how you solve your problem. Now that i install image handler2 on my test site, the hover effect is not working and am getting an error on the bottom of my page.
Quote:
Originally Posted by
Muzz
Hello ALL,
Just like to publicly thank Yellow1912 for going out the way above and beyond with my issues.
I'm by no means associated with rubikintegration.com but after having such a positive experience with yellow1912 I highly recommend their services.
In regards to my issue. It seems as though I have overwritten an AIS file with the TPP install. (Though lots of hair was lost to discover this)
The CJ loader has dramatically speed up website as well. Couldn't be happier.
May good Karma come your way Yellow1912,
Thanks Muz
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I had the same image java display problem (zen lighbox and ajax image swapper disappearing) with the 1.06 versiob from yellow2810. I just uninstalled it completely and re-installed the 1.05 version from qhome and everything was fine!
So be careful with the new version (1.06) of the mod.:cry:
-
I try removing 1.06 completely and installing 1.05 but I can't remove the SQL file that is provided with the 1.06. How do I go about removing the SQL files from my site?
Quote:
Originally Posted by
perfectino
I had the same image java display problem (zen lighbox and ajax image swapper disappearing) with the 1.06 versiob from yellow2810. I just uninstalled it completely and re-installed the 1.05 version from qhome and everything was fine!
So be careful with the new version (1.06) of the mod.:cry:
Posted via Mobile Device
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
you can keep the 1.06 sql. It will work with the 1.05 version.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Ok I been trying to get TPP to work with image handler2 for the last three days and I still can't figure it out. I try installing 1.05, then I install 1.06 and am still getting the same error for both on IE. The hoover effect won't work on IH2 when i install the TPP mod, and I get an error on the bottom of IE. Please help me Zen Master.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi
I just installed TPP and love it!
but I have a problem with additional images also product image when click the images, notting happens; javascript popup window image not working.
I use 1.3.8a
Please help me.
Thanks
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Well I did it like bear1728 , changing the html_header.php codes and additional images, product image popup window works correctly, but show error on the bottom of IE when click the images :blink: getting any problems ?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
phoeuth
Ok I been trying to get TPP to work with image handler2 for the last three days and I still can't figure it out. I try installing 1.05, then I install 1.06 and am still getting the same error for both on IE. The hoover effect won't work on IH2 when i install the TPP mod, and I get an error on the bottom of IE. Please help me Zen Master.
Hi phoeuth,
I sorry but I don't know exactly what Yellow1912 did to get things working. As far as I know I overwrote a AIS file with TPP install. When I needed to collaborate the 2.
The image hover effect isn't working for me any longer either. Presently, I'm happy to live without that feature.
It 'may' something to do with javascript. A while ago I tried installing SWF object and that killed the hover feature. SWF object used a javascipt file. If I removed the javascript then the hover feature would work. <-- I could be wrong I'm not a programmer.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Muzz
Hi phoeuth,
I sorry but I don't know exactly what Yellow1912 did to get things working. As far as I know I overwrote a AIS file with TPP install. When I needed to collaborate the 2.
The image hover effect isn't working for me any longer either. Presently, I'm happy to live without that feature.
It 'may' something to do with javascript. A while ago I tried installing SWF object and that killed the hover feature. SWF object used a javascipt file. If I removed the javascript then the hover feature would work. <-- I could be wrong I'm not a programmer.
Your image hover affect doesnt work for you perhaps because you didnt copy the IH2 js files into your current template js folder.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Finally I got it to work. Thank you yellow1912 for the answer in the right direction. For those of you that is haveing the same problem as I am, here is how I did it. After installing IH2 and TPP you need to go back into IH2 folder and copy the jscript_imagehover.js file. This is located in includes/templates/template_default/jscript. After doing that you need to place the jscript_imagehover.js file in includes/templates/your_template/jscript. Once again thank you yellow1912 and everyone else in this wonderful community.:clap:
Quote:
Originally Posted by
yellow1912
Your image hover affect doesnt work for you perhaps because you didnt copy the IH2 js files into your current template js folder.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Yellow1912! saves the day.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
If anyone finds out way that TPP attribute Tab when turned on (When using AIS module) doesn't kill AIS attributes from loading please post how.
I can live without but may endeavor to use in the future... so not really important.
TY.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I looked all throughout the forum here for the answer but could nt figure it out. I can not seem to find the full instructions for how to add a tab for information on a manufacturer basis.
More specifically we are trying to add a tab on our products that shows a color coded map indicating est. delivery times for ground deliveries.
on zencart 1.3.8
http://www.ribbonsbaskets.com
-
Re: get blank after install tabbed products por , help me please
get blank after install tabbed products por , help me please
Hi
i get blank page after install tabbed products por ,and it display:Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /host/includes/functions/extra_functions/class.rlwp.php on line 23
already install wordpress
class.rlwp.php :
define ('ABSPATH','/****/wordpress/'); // abs-path to wp
if (file_exists(ABSPATH.'wp-config.php')) {
require_once(ABSPATH.'wp-config.php');
$wpinstall = true;
}
class rlWP {
public $wpinstall;
private $tag;
function __construct(){
$this->wpinstall = false;
if (file_exists(ABSPATH.'wp-config.php')) {
$this->wpinstall = true;
require_once(ABSPATH.'wp-config.php');
}
}
public function getWPTag($tag = 'zen-cart'){
$content = '';
$this->tag = $tag;
if($this->wpinstall == true) {
$lastposts = get_posts('tag=' . $this->tag);
if(empty($lastposts)){
$content = 'NIX gefunden';
} else {
foreach ($lastposts as $post) {
$content .= '<div style="padding:4px; border: 1px solid green;"><h3>' . $post->post_title . '</h3><p>' . $post->post_content . '</p></div>';
}
}
} else {
$content = 'WP nicht installiert/richtig konfiguriert';
}
return $content;
}
}
function getWPTag($tag = 'zen-cart'){
$wp = new rlWP();
return $wp->getWPTag($tag);
}
help me please
www.cbwp.us
tabbed_products_pro_1-06b.zip
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hello! :)
So I installed everything(tabbed pro, yellow's version) with no errors, and I used the tag provided in the readme...but I still cant get tabs to show up on the product pages.
is there something I'm missing?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
himmell1234
Hello! :)
So I installed everything(tabbed pro, yellow's version) with no errors, and I used the tag provided in the readme...but I still cant get tabs to show up on the product pages.
is there something I'm missing?
I did find something, I'm using the cold steel template...and when I copy over the html_header.php from the tabbed pro...the site display becomes messed up.
I'm assuming this is probably the point of error.
is there anyway I can combine the two html_header files?
(sorry, php isnt my strong point)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I'm having a problem with Image Handler 2 and Tabbed Products Pro.
My image hover works, but on the products page with the tabs looks OK, but the image pop up doesn't work. If you put your mouse over the image and (on IE at least) look at the bottom left corner you can see the words "javascript popupWindow....". Now when you click on the image to view it larger nothing happens and you now get an error on page messege in the bottom corner. If you refresh the page, the error goes away until you click the image again. How do I get the image pop up to work? Here is my site to see what it does www.phryz.com
Thanks
Dan
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I was looking throuh the readme but for the life of me just couldnt see anything that discussed the SEO effects that this mod can have.
For instance if I use the cross-sell mod with google recognize these as additional links on the page?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
ksookma
I was looking throuh the readme but for the life of me just couldnt see anything that discussed the SEO effects that this mod can have.
For instance if I use the cross-sell mod with google recognize these as additional links on the page?
Nevermind, retarded...I found it - it's there
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kashyyyk
I'm having a problem with Image Handler 2 and Tabbed Products Pro.
My image hover works, but on the products page with the tabs looks OK, but the image pop up doesn't work. If you put your mouse over the image and (on IE at least) look at the bottom left corner you can see the words "javascript popupWindow....". Now when you click on the image to view it larger nothing happens and you now get an error on page messege in the bottom corner. If you refresh the page, the error goes away until you click the image again. How do I get the image pop up to work? Here is my site to see what it does
www.phryz.com
Thanks
Dan
You should probably post this question in the IH2 support thread.. There's no conflict between these two mods that I'm aware of.. Sounds like an IH2 issue..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
himmell1234
I did find something, I'm using the cold steel template...and when I copy over the html_header.php from the tabbed pro...the site display becomes messed up.
I'm assuming this is probably the point of error.
is there anyway I can combine the two html_header files?
(sorry, php isnt my strong point)
php doesn't have to be a strong point, but you will have to open both versions of the html_header files bring over what's missing from the tabbe pro version that's missing from your templates version.. No other way of doing this..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
You should probably post this question in the IH2 support thread.. There's no conflict between these two mods that I'm aware of.. Sounds like an IH2 issue..
The reason I posted here is because IH2 worked before I installed the Tabbed Products Pro. I had removed Tabbed Products Pro and the pop up worked again. I had reinstalled it. Now looking at himmell1234 post made me look and I have the html_header.php file too. I deleted it only and the pop up works again. The tabs are no longer there, but html_header.php is causing the problem. I didn't have a html_header.php in my common folder before, I do have a tpl_header.php in there. How should I procede?
Dan
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kashyyyk
The reason I posted here is because IH2 worked before I installed the Tabbed Products Pro. I had removed Tabbed Products Pro and the pop up worked again. I had reinstalled it. Now looking at himmell1234 post made me look and I have the html_header.php file too. I deleted it only and the pop up works again. The tabs are no longer there, but html_header.php is causing the problem. I didn't have a html_header.php in my common folder before, I do have a tpl_header.php in there. How should I procede?
Dan
My answer is the same.. you need to mergee the two html_header.php files. If your template doesn't have a html_header.php it's only because your template didn't require any changes from the default html_header.php file. So Zen uses the one in the default template folders..
You will need to open up and look at the html_header.php file in the default template folder, and the one that comes with TPP, and merge the two. The resulting merged html_header.php file will have to be saved to your common folder within your templates folders (DO NOT over write the html_header.php file in the default template folders!!)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks that worked. If anyone is interested. What I did was I left everything on the original html_header.php alone and only added the additional lines from the tabbed version. The tabbed version had code that differed from the original that I didn't copy.
As an example
Original-
Code:
/**
* 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";
}
Tabbed-
Code:
/**
* 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)) {
Lines like above I didn't copy but left as it originaly was.
This is what one looked like I changed and only added the additional lines-
original-
Code:
/**
* 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";
}
Changed to look like the Tabbed version-
Code:
/**
* 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";
}
if (file_exists(DIR_WS_CLASSES . 'browser.php')) {
include_once(DIR_WS_CLASSES . 'browser.php');
$browser = new browser();
$browser_name = strtolower($browser->Name);
if (($browser_name == 'msie') && $browser->Version <= 6) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie6-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie6-/', '.js');
} if (($browser_name == 'msie') && $browser->Version >= 7) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie7-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie7-/', '.js');
} elseif ($browser_name == 'firefox') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ff-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ff-/', '.js');
} elseif ($browser_name == 'safari') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^safari-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^safari-/', '.js');
} elseif ($browser_name == 'chrome') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^chrome-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^chrome-/', '.js');
}
while(list ($key, $value) = each($directory_array )) {
$css_files_to_load[$value] = -100;
}
while(list ($key, $value) = each($js_directory_array )) {
$js_files_to_load[$value] = -500;
}
}
And I did create a new file and added it to my common folder in my template folder.
Thanks
Dan
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Glad that worked out!!:smile:
Quote:
Originally Posted by
kashyyyk
Thanks that worked. If anyone is interested. What I did was I left everything on the original html_header.php alone and only added the additional lines from the tabbed version. The tabbed version had code that differed from the original that I didn't copy.
As an example
Original-
Code:
/**
* 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";
}
Tabbed-
Code:
/**
* 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)) {
Lines like above I didn't copy but left as it originaly was.
This is what one looked like I changed and only added the additional lines-
original-
Code:
/**
* 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";
}
Changed to look like the Tabbed version-
Code:
/**
* 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";
}
if (file_exists(DIR_WS_CLASSES . 'browser.php')) {
include_once(DIR_WS_CLASSES . 'browser.php');
$browser = new browser();
$browser_name = strtolower($browser->Name);
if (($browser_name == 'msie') && $browser->Version <= 6) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie6-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie6-/', '.js');
} if (($browser_name == 'msie') && $browser->Version >= 7) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie7-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie7-/', '.js');
} elseif ($browser_name == 'firefox') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ff-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ff-/', '.js');
} elseif ($browser_name == 'safari') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^safari-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^safari-/', '.js');
} elseif ($browser_name == 'chrome') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^chrome-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^chrome-/', '.js');
}
while(list ($key, $value) = each($directory_array )) {
$css_files_to_load[$value] = -100;
}
while(list ($key, $value) = each($js_directory_array )) {
$js_files_to_load[$value] = -500;
}
}
And I did create a new file and added it to my common folder in my template folder.
Thanks
Dan
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
ANy1 CArE TO HELP ME??? i dunoe wad went wrong!! i tried to install tabbed product pro and my site end up haywire. LIKE TIS:
www.ztomiclab.com
HELP!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
error again, run a debug, got tis
file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/zc138/wordpress/wp-config.php) is not within the allowed path(s): (/home/ztomicla/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ztomicla/public_html/includes/functions/extra_functions/class.rlwp.php on line 16
any advice?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
starry89
error again, run a debug, got tis
file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/zc138/wordpress/wp-config.php) is not within the allowed path(s): (/home/ztomicla/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ztomicla/public_html/includes/functions/extra_functions/class.rlwp.php on line 16
any advice?
If you are not using the wordpress on zen cart mod just delete the file includes/functions/extra_functions/class.rlwp.php
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hi all,
tried tat. no more error in debugging, but my site is in a mess with only white background and text.
help~~~ headache
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi qHome,
I recall way back you were trying to merge "ask a question" module to work with tabs... did you have success on this?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hi all,
i put this in the product description
<!--%Product Description%-->
all i get is the exact text shown when i go into my site.
the tab is not working. help !
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hi all,
still no replies? i already posted in at the source area of the editor but the tabs are just now showing!!
sigh..any1 any1
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hey,
Have any one can help me ?or fix where have problem?
i always get below error,after upload the class.rlwp.php from tabbed_products_pro_1-06b.zip.sure i writhe right ABSPATH.and the wordpress work fine.but i don't sure it work fine with tabbed products pro. and the start from "<?php" ,end with "?>".i think no error for this .
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/l/i/q/liqinghua/html/includes/functions/extra_functions/class.rlwp.php on line 23
the code on line 23:
class rlWP { (line 22)
public $wpinstall; (line 23)
private $tag; (line 24)
help me please,i'm newbie
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hello all,
I, too, am having trouble loading Tabbed Products. After reading this entire thread :unsure: and doing some experimenting, I discovered that my problem lay in the html_header.php/common/my_template. I tried combining the two (the original in the my_template and the one in the tabbed products) but got stuck near the end. This is how the tabbed product reads that needs to be included:
/**
* 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
*/
$jscript_files_to_load[$value] = -100;
}
$files = loadCssJsFiles($css_files_to_load, $jscript_files_to_load);
foreach($files['css'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];
foreach($files['js'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];
This is what the my_template html_header.php looks like:
/**
* 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";
}
echo "<!-- BOF: SANG EMBED HTML HEAD INFO -->\n";
echo $sangEmbed->insideHead();
echo "<!-- EOF: SANG EMBED HTML HEAD INFO -->\n";
No matter how I try to combine it, replace it, whatever, it does not work. It apparently is needed as tabs do not work on the site without this.
And just to make sure I am not missing anything, the instructions read: run the include sql file. I assume that is the TabbedProductsPro.sql. You open it, copy and paste it into the window in Admin/Tools/SQL Query Executor, press send and you get a message that 16 things have been modified?
And just to make sure I've given enough information, here is my entire combined html_header.php:
<?php
/**
* Common Template
*
* outputs the html header. i,e, everything that comes before the \</head\> tag <br />
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @copyright Portions Copyright 2008 ############## Development
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: html_header.php 24 2008-06-26 18:08:47Z ##############dex $
*/
/**
* load the module for generating page meta-tags
*/
require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php'));
//SangEmed: inclugding magic file and starting sang embed class.
require_once($template->get_template_dir('magic.php',DIR_WS_TEMPLATE, $current_page_base,'easy_embed'). '/magic.php');
$sangEmbed = new sangEmbed;
/**
* 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
$jscript_files_to_load = $css_files_to_load = array();
/**
* 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";
$css_files_to_load[$value] = -300;
}
/**
* 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;
$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)) $css_files_to_load[trim($value, '/').'.css'] = -200;
}
/**
* 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";
}
if (file_exists(DIR_WS_CLASSES . 'browser.php')) {
include_once(DIR_WS_CLASSES . 'browser.php');
$browser = new browser();
$browser_name = strtolower($browser->Name);
if (($browser_name == 'msie') && $browser->Version <= 6) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie6-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie6-/', '.js');
} if (($browser_name == 'msie') && $browser->Version >= 7) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie7-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie7-/', '.js');
} elseif ($browser_name == 'firefox') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ff-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ff-/', '.js');
} elseif ($browser_name == 'safari') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^safari-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^safari-/', '.js');
} elseif ($browser_name == 'chrome') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^chrome-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^chrome-/', '.js');
}
while(list ($key, $value) = each($directory_array )) {
$css_files_to_load[$value] = -100;
}
while(list ($key, $value) = each($js_directory_array )) {
$js_files_to_load[$value] = -500;
}
}
/**
* 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)) {
$jscript_files_to_load[$value] = -400;
}
/**
* 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)) {
$jscript_files_to_load[$value] = -300;
}
/**
* 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
*/
$jscript_files_to_load[$value] = -200;
}
/**
* 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";
}
echo "<!-- BOF: SANG EMBED HTML HEAD INFO -->\n";
echo $sangEmbed->insideHead();
echo "<!-- EOF: SANG EMBED HTML HEAD INFO -->\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') . ' -->';
?>
</head>
<?php // NOTE: Blank line following is intended: ?>
I am using the Sanguin Embedded Template on Zen Cart 1.3.8a and my site is FutureClassicsMusic.com
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
ksookma
I looked all throughout the forum here for the answer but could nt figure it out. I can not seem to find the full instructions for how to add a tab for information on a manufacturer basis.
More specifically we are trying to add a tab on our products that shows a color coded map indicating est. delivery times for ground deliveries.
on zencart 1.3.8
http://www.ribbonsbaskets.com
Regarding my previous post...I was able to figure it out. I just didnt open the additional folder in the installation the shows a picture of the admin product detail page. Apperantly all you have to do is add additional info on each product description for custom tabs to show up.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Need some help...
I have installed Zen Cart v1.3.8 on my server and the only add-ons currently are my template ("The Bookshelf") and Tabbed Products Pro. Currently I am unable to see any enlarged photos for my products. Previously I had the zen lightbox with TPP (TPP installed first) and instead of a light box it openened the picture on a blank page. Then I tried fual lightbox with TPP (TPP installed first) and the main picture disappeared from the product info page. Because I am using a new store each attempt was done by deleting my entire store and installing a completely bare Zen Cart so I know its not a conflict within old install scripts or files.
As I said right now i only have the cart, the template, and the TPP. Can anyone please tell me what to do next. I really like the TPP and the Lightbox and I'm DETERMINED to run both.
Also mad props to everyone working their :oops: off to give us these great mods.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
dwardlow
Need some help...
I have installed Zen Cart v1.3.8 on my server and the only add-ons currently are my template ("The Bookshelf") and Tabbed Products Pro. Currently I am unable to see any enlarged photos for my products. Previously I had the zen lightbox with TPP (TPP installed first) and instead of a light box it openened the picture on a blank page. Then I tried fual lightbox with TPP (TPP installed first) and the main picture disappeared from the product info page. Because I am using a new store each attempt was done by deleting my entire store and installing a completely bare Zen Cart so I know its not a conflict within old install scripts or files.
As I said right now i only have the cart, the template, and the TPP. Can anyone please tell me what to do next. I really like the TPP and the Lightbox and I'm DETERMINED to run both.
Also mad props to everyone working their :oops: off to give us these great mods.
I have both mods working together just fine on a BUNCH of stores.. So you will have to use process of elimination to determine the issue..
My suggestion is that you try seeing if you can get them both add-ons to work using the classic template. It's possible that your template may be a culprit in things not working correctly..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
DivaVocals
My suggestion is that you try seeing if you can get them both add-ons to work using the classic template. It's possible that your template may be a culprit in things not working correctly..
Would I need to completely remove my template or just change it in the admin.
Also.. I n oticed a lot of paople using image handlers is that neccessary?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Would I need to completely remove my template or just change it in the admin.
No, just change the template to classic in your Template Selection module. I don't think is the template, but it's a troubleshoot you have to make.
Quote:
Also.. I n oticed a lot of paople using image handlers is that neccessary?
It's highly recommended for image optimization. Your pages will load much faster and your images will look better.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
ideasgirl
No, just change the template to classic in your Template Selection module. I don't think is the template, but it's a troubleshoot you have to make.
It's highly recommended for image optimization. Your pages will load much faster and your images will look better.
Okay Swicthed over to classic template, copied the TPP files neccessary for the template folder, And I'm still getting the same "Error on Page" when I click larger image. I disabled the TPP-Global Enable Tabs to see if it would work without the tabs, but same error.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
quick question... when i copy the includes folder to my server should i copy the min folder to
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
clarification... do i need to install the minify and cj for tpp to work correctly
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
could this have anything to do with it... Found in error log
[09-Sep-2009 13:37:16] PHP Warning: PHP Startup: mm_create(0, /session_mm_cgi1710) failed, err mm:core: failed to open semaphore file (Permission denied) in Unknown on line 0
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
hi, i add <!--%Custom Information%--> to my product description, it works fine, but i need add sth directly to my product info page, not add to the description, can i make it tabbed too ?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I really like the look of the Tabbed Products layout , which provides a much more "sophisticated" look than is posssible via the rather mundane and limited default Zen Cart template layout options. However, i'm wondering what the consensus is regarding this mod and SEO where standard reccommended practice dictates that one should not "hide" content ...or risk being penalized?
http://www.google.com/support/webmas...y?answer=66353
Granted, this mod employs javascript to achieve its result, and the content is still user-accessable via the linked tabs ...but has anyone noticed any changes in rankings after converting to a tabbed layout with this mod?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
is it possible to add one tab display sth for all products of 2 specific categories ? :dontgetit
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Wonderful addon thnx.
But i have a little problem with Zen Lightbox and this addon.
When I click on the images the lightbox shows up well, but the main image will appear two times (double). So when a product has 1 image, two will shown in the lightbox. When a product has 3 images, four will shown in the lightbox.
When I disable TTP, it shows the right amount images, no double images.
Another question, can we create also a tab on the homepage for example
Tab1 --> New products
Tab2 --> Featured products
Tab3 --> Specials
-
1 Attachment(s)
Add Global Tabs - Tabbed Products Pro (TPP) Contrib - Official Thread
Please help :) I have searched for hours and cannot find the answer sorry. I followed instructions on how to add a global tab but it has not worked for me. An error comes up - see here:http://www.yukitokyo.com/index.php?m...&products_id=5
I don't understand php so I am not sure what the problem is :(
Help would be VERY much appreciated.
My tabbed_products_pro.php file is attached.
System info:
New install of Zen Cart 1.3.8a
Addons Image Handler, Magic Zoom, Column display
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I am using zen cart 1.3.8 and just installed the Tabbed product pro without the cj loader (I do not have php 5.2 running) and when I get everything loaded and connect to my store all I get is a blank screen. I am SURE I've done something wrong but I have verified all of the files have been uploaded properly and the sql has been run but I can't find what I've done wrong. Any help is appreciated!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
starry89
hi all,
i put this in the product description
<!--%Product Description%-->
all i get is the exact text shown when i go into my site.
the tab is not working. help !
You need to do it in Source code mode, not with wysiwyg
-
Re: Add Global Tabs - Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kaiz
Please help :) I have searched for hours and cannot find the answer sorry. I followed instructions on how to add a global tab but it has not worked for me. An error comes up - see here:
http://www.yukitokyo.com/index.php?m...&products_id=5
I don't understand php so I am not sure what the problem is :(
Help would be VERY much appreciated.
My tabbed_products_pro.php file is attached.
System info:
New install of Zen Cart 1.3.8a
Addons Image Handler, Magic Zoom, Column display
Please does anyone have the answer? :cry:
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I have installed TPP on Xampp (Windows) and have it working, but when I move it to a webdev server it ceases to function. Does this have something to do with the min folder or how the site's cache is functioing?
FWIW, the Linux web server has had issues in the past with zen-cart web development sites. The ZC webdev site stopped working when the website went from a shared server to dedicated. Then I was able to get a ZC test site working but only by deactivating the SEO Url mod, which works on the live site.
Regardless, I am unsure what is causing the hiccup. The pokey Xampp makes mod compatibility review a bit tedious esp when troubleshooting is required. (Goodbye Lightbox, I already know that's not getting fixed any time soon.) And I'd hate to have go straight from Xampp to the live store... without reviewing it on webdev first.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Speaking of which, I've seen a lot of comments regarding conflict between TPP and Lightbox, but I've either missed or overlooked what is happening in my case:
When TPP gets installed it not only kills Lightbox but it kills all javascript popups, too.
I'm working to get a test site up and running without Lightbox, but if the popups go AWOL upon TPP's installation, I will need a solution. IOW, no need to ponder now, but if someone has had this issue... please share what you recall, thank you.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
cartguin
Speaking of which, I've seen a lot of comments regarding conflict between TPP and Lightbox, but I've either missed or overlooked what is happening in my case:
When TPP gets installed it not only kills Lightbox but it kills all javascript popups, too.
I'm working to get a test site up and running without Lightbox, but if the popups go AWOL upon TPP's installation, I will need a solution. IOW, no need to ponder now, but if someone has had this issue... please share what you recall, thank you.
Are you talking about Zen's popups (like the shipping calculator) or have you included other popup code in your product descriptions??
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi everyone!
Well I installed everything, ran the sql updates, merged the html_header files and edited a test product by putting the <!--%Custom Information%--> tags in and my product page doesn't show tabs at all.
Did I miss something?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by himmell1234
I read the instructions you gave to the other gent who was having similar problems with the html_header file.
So I did the same:
opened the html_header in default template
made the changes
then saved the modified version to my template folder
left the orginal html_header in the default template folder unedited.
I still cant see the tabbed descriptions...
is there anything else I can try? I double checked all the other install steps and everything looks ok.
Did you check that you have it in the right location of your template folder?? If you've correctly made the corrections to the html_header file, then it should work.. Did you use a tool like WinMerge to assist with merging the two files?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Deirdre
Hi everyone!
Well I installed everything, ran the sql updates, merged the html_header files and edited a test product by putting the <!--%Custom Information%--> tags in and my product page doesn't show tabs at all.
Did I miss something?
I figured it out. I don't know if this is really how to fix it but I manually added <script language="javascript" src="includes/templates/premium3a/jscript/tpp.js"></script> to the header in the html_header file and it shows up fine.
Also, when I change the css choices in the admin part, the change doesn't reflect. I set the cache to 0 and still nothing. Any ideas?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Deirdre
I figured it out. I don't know if this is really how to fix it but I manually added <script language="javascript" src="includes/templates/premium3a/jscript/tpp.js"></script> to the header in the html_header file and it shows up fine.
Ahhh a javascript error.. Undo your edit.. If you rename the tpp.js file to jscript_tpp.js this will allow Zen to find the javascript file automatically without having to hardcorde it into the html_header file..
Quote:
Originally Posted by
Deirdre
Also, when I change the css choices in the admin part, the change doesn't reflect. I set the cache to 0 and still nothing. Any ideas?
Not sure what you mean by the highlighted part..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
That works perfectly! Thanks!
The other part was if you go to admin > configuration > TPP and change the style sheet there, nothing changes.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Deirdre
That works perfectly! Thanks!
The other part was if you go to admin > configuration > TPP and change the style sheet there, nothing changes.
You have a newer version of the mod than I'm running.. I think I know what's happening.. but you need to post a link to your site for me to confirm..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Here is it: (example of a test product)
http://nakedsoap.net/store/index.php...&products_id=1
I noticed earlier that on the source, it said
HTML Code:
<link rel="stylesheet" type="text/css" href="min/?f=/store/includes/templates/premium3a/css/stylesheet.css,/store/includes/templates/premium3a/css/stylesheet_categories_dressing.css,/store/includes/templates/premium3a/css/tpp.css, store/includes/templates/premium3a/css/tpp/NAME OF CSS HERE&1252988861" />
and now it doesn't, it just says
HTML Code:
<link rel="stylesheet" type="text/css" href="min/?f=/store/includes/templates/premium3a/css/stylesheet.css,/store/includes/templates/premium3a/css/stylesheet_categories_dressing.css,/store/includes/templates/premium3a/css/tpp.css&1252988861" />
I know that's not real helpful but for some reason, it's not showing up. Of course hard coding it works.
I'm also trying to remove the duplicate "product description" and "reviews" that appear in the tabs. Is that what the "magic tab" is suppose to hide or am I missing something?
Thanks so much for your help so far.
-
Quote:
Originally Posted by
DivaVocals
Are you talking about Zen's popups (like the shipping calculator) or have you included other popup code in your product descriptions??
Zen Cart's popups are killed by TPP even on a clean install of ZC without a single (other) mod. I think this has something to do with the min folder but I cannot find instructions or figure out what min does or if I need to change configure.php and/or cache settings.
Posted via Mobile Device
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
cartguin
Zen Cart's popups are killed by TPP even on a clean install of ZC without a single (other) mod. I think this has something to do with the min folder but I cannot find instructions or figure out what min does or if I need to change configure.php and/or cache settings.
Posted via Mobile Device
Can't answer this either as the version of TPP I am running does not include the files found in the min folder (and all the Zen popups work just fine..) Have you tried installing the mod without the files min this folder?? At first glance it seems to me they add some sort of extra functionality but are not required to run TPP..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Deirdre
Here is it: (example of a test product)
http://nakedsoap.net/store/index.php...&products_id=1
I noticed earlier that on the source, it said
HTML Code:
<link rel="stylesheet" type="text/css" href="min/?f=/store/includes/templates/premium3a/css/stylesheet.css,/store/includes/templates/premium3a/css/stylesheet_categories_dressing.css,/store/includes/templates/premium3a/css/tpp.css, store/includes/templates/premium3a/css/tpp/NAME OF CSS HERE&1252988861" />
and now it doesn't, it just says
HTML Code:
<link rel="stylesheet" type="text/css" href="min/?f=/store/includes/templates/premium3a/css/stylesheet.css,/store/includes/templates/premium3a/css/stylesheet_categories_dressing.css,/store/includes/templates/premium3a/css/tpp.css&1252988861" />
I know that's not real helpful but for some reason, it's not showing up. Of course hard coding it works.
I'm also trying to remove the duplicate "product description" and "reviews" that appear in the tabs. Is that what the "magic tab" is suppose to hide or am I missing something?
Thanks so much for your help so far.
I'm afraid I know nothing about that minify app that is included with the latest version of TPP.. What ever the issue is with your stylesheet not being recognized has to do with how that minify app manages javascripts & stylesheets.. As I am using an older version of TPP (which does not include those extra files) I can't be of much help I'm afraid.. As I previously posted, it appears that these are optional files.. Is it possible for you to try installing TPP without them to see if the app behavior is different??
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
yeah i'm having the same thing about the picture popups but i'm not really worried about that.
I turned off the minify and still the same thing (i didn't even upload that folder). I'll try to see what I can figure out.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
See if this sheds some light:
Quote:
PHP Minify requires PHP5.2+ to work correctly, if you are using and older version you should disable CJ Loader. Since many modules come with CJ Loader by default, in case your server uses an older version of PHP you will see the css files on your site not loaded correctky (and leave you with a broken layout). Please go to Admin→Configuration→CJ Loader to disable it.