Zen Cart Logo
Forums / All Other Contributions/Addons / Tabbed Products Pro (TPP) Contrib - Official Thread

Tabbed Products Pro (TPP) Contrib - Official Thread

Views: 397,310

Results 841 to 860 of 2,224
31 Aug 2009, 02:57
#841
phoeuth avatar

phoeuth

New Zenner

Join Date:
Dec 2008
Posts:
28
Plugin Contributions:
0

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:

yellow1912:

Your image hover affect doesnt work for you perhaps because you didnt copy the IH2 js files into your current template js folder.

31 Aug 2009, 06:29
#842
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

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

Yellow1912! saves the day.

31 Aug 2009, 07:27
#843
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

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.

01 Sep 2009, 20:57
#844
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

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

02 Sep 2009, 07:58
#845
gueston avatar

gueston

Zen Follower

Join Date:
Apr 2009
Posts:
118
Plugin Contributions:
0

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

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
https://www.cbwp.us
tabbed_products_pro_1-06b.zip

03 Sep 2009, 06:49
#846
himmell1234 avatar

himmell1234

New Zenner

Join Date:
Aug 2009
Posts:
12
Plugin Contributions:
0

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?

03 Sep 2009, 07:01
#847
himmell1234 avatar

himmell1234

New Zenner

Join Date:
Aug 2009
Posts:
12
Plugin Contributions:
0

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

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)

04 Sep 2009, 04:37
#848
kashyyyk avatar

kashyyyk

New Zenner

Join Date:
Feb 2009
Posts:
46
Plugin Contributions:
0

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 https://www.phryz.com

Thanks
Dan

04 Sep 2009, 17:26
#849
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

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?

04 Sep 2009, 18:58
#850
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

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

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

04 Sep 2009, 20:03
#851
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

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
DanYou 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..

04 Sep 2009, 20:03
#852
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

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..

05 Sep 2009, 00:08
#853
kashyyyk avatar

kashyyyk

New Zenner

Join Date:
Feb 2009
Posts:
46
Plugin Contributions:
0

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

05 Sep 2009, 01:26
#854
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

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?

DanMy 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!!)

05 Sep 2009, 02:22
#855
kashyyyk avatar

kashyyyk

New Zenner

Join Date:
Feb 2009
Posts:
46
Plugin Contributions:
0

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-

/**
 * 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-

/**
 * 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-

/**
 * 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-

/**
 * 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

05 Sep 2009, 03:19
#856
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

Glad that worked out!!:smile:

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-

/**

  • 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 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-
> ```
/**
 * 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-
> ```
/**
 * 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
05 Sep 2009, 09:11
#857
starry89 avatar

starry89

New Zenner

Join Date:
Aug 2009
Posts:
31
Plugin Contributions:
0

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:

https://www.ztomiclab.com

HELP!

05 Sep 2009, 09:28
#858
starry89 avatar

starry89

New Zenner

Join Date:
Aug 2009
Posts:
31
Plugin Contributions:
0

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

i fixed it thanks all

05 Sep 2009, 14:58
#859
starry89 avatar

starry89

New Zenner

Join Date:
Aug 2009
Posts:
31
Plugin Contributions:
0

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?

05 Sep 2009, 15:13
#860
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

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