New Zenner
- Join Date:
- Aug 2009
- Posts:
- 31
- Plugin Contributions:
- 0
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
Views: 397,335
New Zenner
hi all,
tried tat. no more error in debugging, but my site is in a mess with only white background and text.
help~~~ headache
Totally Zenned
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?
New Zenner
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 !
New Zenner
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
Zen Follower
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
New Zenner
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:
/**
$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:
/**
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 Sanguis 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 sanguisdex $ */ /** * 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
Zen Follower
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
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.
New Zenner
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.
New Zenner
Sorry.. If you need to see the issue
Totally Zenned
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..
New Zenner
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?
Totally Zenned
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.
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.
New Zenner
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.
New Zenner
quick question... when i copy the includes folder to my server should i copy the min folder to
New Zenner
clarification... do i need to install the minify and cj for tpp to work correctly
New Zenner
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
New Zenner
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 ?
Zen Follower
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/webmasters/bin/answer.py?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?
New Zenner
is it possible to add one tab display sth for all products of 2 specific categories ? :dontgetit
Zen Follower
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
Fields marked required must be completed.
Tell staff why this post should be reviewed.