Page 99 of 222 FirstFirst ... 4989979899100101109149199 ... LastLast
Results 981 to 990 of 2217
  1. #981
    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

    So to expand on part of what I said above.. It sounds like your ABSPATH value is incorrect. I am going to assume it was you who asked this question on Numix's blog:
    here is the erro i get.. any ideas?
    PHP Warning: require_once(/var/www/zc138/wordpress/wp-includes/classes.php) [function.require-once]: failed to open stream: No such file or directory in /home2/mtphsoft/public_html/wordpress/wp-load.php on line 46
    Numinix's response was:
    M23perrault, this could happen because you have installed a module for Zen Cart whcih defines ABS_PATH. Try searching for this constant in the Developer’s Toolkit and then disable that module which has the incorrect path hard-coded into the module.
    Numinix is absolutely right, the ABSPATH value is indeed hardcoded into the class.rlwp.php file, and it looks like you did not update it to match the correct ABSPATH value for your site. The contents of the class.rlwp.php file is as follows:
    Code:
     
    define ('ABSPATH','/var/www/zc138/wordpress/'); // abs-path to wp
    if (file_exists(ABSPATH.'wp-config.php')) {
    require_once(ABSPATH.'wp-config.php');
    $wpinstall = true;
    }
    Please note the part highlighted in red and compare to the error message you have.. As I suggested in my previous post, you need to update the ABSPATH value in the class.rlwp.php file to match the ABSPATH value in your ZenCart includes/configure.php file with your blog folder added to the end of the value. Try changing this to the correct value for your site and see if you still have the issue..

    If you do, then try simply removing the class.rlwp.php file. Please note that if you delete this file that you will no longer have the ability to create WordPress tabs using TPP, but you will likely no longer have any issues using Numinix's embedded WordPress solution either..

    and like I said.. If all else fails, you can always roll back to ver 1.05..

    Quote Originally Posted by autoace View Post
    Does anyone know if this is the correct syntax:

    Code:
    define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
    Should it be this instead?
    Code:
    define ('ABSPATH' . '/xxx/XXX/xxx_xxx/blog/');
    Or any other suggestions?

    File: class.rlwp.php in includes>functions>extra_functions

    Just trying to resolve an issue with my blog. Thanks for your help.
    Last edited by DivaVocals; 14 Nov 2009 at 12:16 AM.

  2. #982
    Join Date
    Jul 2008
    Posts
    63
    Plugin Contributions
    0

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

    Hello,
    I have been using Tabbed Products Pro for over a year now. I have no problems.

    But now I would like to attempt do something with a little more flexibility. Here's what I would like to do. We have a size chart for our products. The chart has not changed in over a year. But now I need to make some changes. I would like to have the flexibility to make changes quickly in the future. This chart does not apply to all products; it is only applicable for about two thirds of our products.

    Right now I have the chart coded individually on every applicable product as a custom tab. In the future I would like to use a php include statement to display this chart. The chart would be in a separate html file that I could change quickly.

    The directions for adding a global tab seem clear and easy enough to implement, but a global tab isn't quite what I'm looking for (because only some of the products use a size chart).

    Then I thought about making an additional global tab that I could turn off - but include the tag in the product description. This kind of flexibility was described in the directions:

    There are many combinations of tabs you can display. If you want ALL items to have the Customers Also Purchased on a tab, but only SOME items you would like the Additional images as a tab, you can set the Global Customers Also Purchased configuration to true in the config area, and add the tag for <!--#AdditionalImages#--> to the specific product descriptions.
    Or is there a way to look for a specific custom tag that would always use the include statement?

    Thanks for any help you can provide.

  3. #983
    Join Date
    Jul 2007
    Location
    Roseville, Michigan
    Posts
    188
    Plugin Contributions
    0

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

    How do you add custom fields to an existing tab. I would like to add the upc code to the details tab. I've tried adding it in the tpl_product_info_display.php, but any changes that I make does not show up.

  4. #984
    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

    So did you resolve your issue?? I ask because it helps others who might be having the same issue to see how you resolved your issue..

    Quote Originally Posted by autoace View Post
    Does anyone know if this is the correct syntax:

    Code:
    define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
    Should it be this instead?
    Code:
    define ('ABSPATH' . '/xxx/XXX/xxx_xxx/blog/');
    Or any other suggestions?

    File: class.rlwp.php in includes>functions>extra_functions

    Just trying to resolve an issue with my blog. Thanks for your help.

  5. #985
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

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

    Quote Originally Posted by DivaVocals View Post
    So did you resolve your issue?? I ask because it helps others who might be having the same issue to see how you resolved your issue..
    Actually no, not yet. I have to check and see if Numinix replied to my post on his blog. His response has been delayed for whatever reason so I have to check his reply to my post.

    Hopefully the answer is there! Ill report back here.
    Thank you,
    autoace

  6. #986
    Join Date
    Jul 2008
    Posts
    63
    Plugin Contributions
    0

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

    Well, I pulled up my sleeves and got to the dirty work myself.
    So for anyone who's interested in putting in a tab that is repeated on many (but not all) products, here is the solution that I used.

    First, I created the html content for the new tab and saved it as a file in the html includes folder. In my case, I was creating a size chart. So I saved it as:

    includes/languages/english/html_includes/apple_zen/define_size_chart.php

    I use the apple_zen template. Adapt your code where necessary.

    Then I altered the tpp file:
    includes/modules/tabbed_products_pro.php

    In the Custom Tab - Tab Contents section, find this code:
    Code:
    if ($bMainImageOnTab == true && $f == 1) {
    						$tabcontent .= $fmtMainIm; // pre-loaded Main Image
    					}
    Directly after that, insert this code:
    Code:
    if ( $sName[$f] == "Size Chart" ) {
    						$tabcontent .= get_include_contents('includes/languages/english/html_includes/apple_zen/define_size_chart.php');
    					}
    The code that was used looks specifically for "Size Chart"
    Adapt your code where necessary.

    Then find this code:
    Code:
    function AddHeader ($sHeaderName, $iTabNum, $bHeadersEnabled)
    Directly before that line, insert this code:
    Code:
    function get_include_contents($filename) {
        if (is_file($filename)) {
            ob_start();
            include $filename;
            $contents = ob_get_contents();
            ob_end_clean();
            return $contents;
        }
        return false;
    }
    Those are all the changes for tabbed_products_pro.php.

    Of course, in each product description where I want to display the size chart, I need to use this line:
    Code:
    <!--%Size Chart%-->
    Again, change yours to suit your needs.
    I hope this helps some people.

    Cheers.

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

    Dang.. Bookmarking this, and noting for future reference..I coulda used this for a recent client site.. Thanks for the share..

    Quote Originally Posted by patternman View Post
    Well, I pulled up my sleeves and got to the dirty work myself.
    So for anyone who's interested in putting in a tab that is repeated on many (but not all) products, here is the solution that I used.

    First, I created the html content for the new tab and saved it as a file in the html includes folder. In my case, I was creating a size chart. So I saved it as:

    includes/languages/english/html_includes/apple_zen/define_size_chart.php

    I use the apple_zen template. Adapt your code where necessary.

    Then I altered the tpp file:
    includes/modules/tabbed_products_pro.php

    In the Custom Tab - Tab Contents section, find this code:
    Code:
    if ($bMainImageOnTab == true && $f == 1) {
                            $tabcontent .= $fmtMainIm; // pre-loaded Main Image
                        }
    Directly after that, insert this code:
    Code:
    if ( $sName[$f] == "Size Chart" ) {
                            $tabcontent .= get_include_contents('includes/languages/english/html_includes/apple_zen/define_size_chart.php');
                        }
    The code that was used looks specifically for "Size Chart"
    Adapt your code where necessary.

    Then find this code:
    Code:
    function AddHeader ($sHeaderName, $iTabNum, $bHeadersEnabled)
    Directly before that line, insert this code:
    Code:
    function get_include_contents($filename) {
        if (is_file($filename)) {
            ob_start();
            include $filename;
            $contents = ob_get_contents();
            ob_end_clean();
            return $contents;
        }
        return false;
    }
    Those are all the changes for tabbed_products_pro.php.

    Of course, in each product description where I want to display the size chart, I need to use this line:
    Code:
    <!--%Size Chart%-->
    Again, change yours to suit your needs.
    I hope this helps some people.

    Cheers.

  8. #988
    Join Date
    Jul 2007
    Location
    Roseville, Michigan
    Posts
    188
    Plugin Contributions
    0

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

    Quote Originally Posted by smoke133 View Post
    How do you add custom fields to an existing tab. I would like to add the upc code to the details tab. I've tried adding it in the tpl_product_info_display.php, but any changes that I make does not show up.
    I'm still looking for the answer for this. Can any one help with this?

  9. #989
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Which Version??

    Reading through this thread led me to pause before installing the latest incarnation, 1.06c.
    Does the ZC collective still hold the opinion that 1.05 is still the most reliable version?

    Thank you

  10. #990
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Which Version??

    Quote Originally Posted by jabbawest View Post
    Reading through this thread led me to pause before installing the latest incarnation, 1.06c.
    Does the ZC collective still hold the opinion that 1.05 is still the most reliable version?

    Thank you
    Nevermind. Installed the latest version and it works just fine, aside from me needing to do some CSS work.

    IH2, JQueryLightbox, JQueryZoom installed. TPP plays well with all of them.

    NICE!

 

 

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