Page 86 of 222 FirstFirst ... 3676848586878896136186 ... LastLast
Results 851 to 860 of 2217
  1. #851
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    Quote Originally Posted by kashyyyk View Post
    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..

  2. #852
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    Quote Originally Posted by himmell1234 View Post
    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..

  3. #853
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    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

  4. #854
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    Quote Originally Posted by kashyyyk View Post
    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!!)

  5. #855
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default 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

  6. #856
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    Glad that worked out!!

    Quote Originally Posted by kashyyyk View Post
    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

  7. #857
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default 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!

  8. #858
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    i fixed it thanks all

  9. #859
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default 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?

  10. #860
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    Quote Originally Posted by starry89 View Post
    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

 

 

Similar Threads

  1. Main Image Replacer (MIR) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 5 Aug 2017, 02:47 AM
  2. v154 Tabbed Prod Pro (TPP): Adding Anchor Links
    By Feznizzle in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 30 May 2016, 07:50 PM
  3. v139h Conflicts between Tabbed Home and Tabbed Products Pro v1.07
    By swdynamic in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 14 Sep 2014, 06:29 PM
  4. Column Divider Pro (CDP) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 275
    Last Post: 3 Nov 2013, 07:44 AM
  5. Tabbed Products Contrib [WIP]
    By qhome in forum All Other Contributions/Addons
    Replies: 22
    Last Post: 22 Sep 2008, 01:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR