Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi, I tried installing this but the my template/common/html_header.php completely messed with my whole layout, is this file necessary to make tpp work properly? If so, then what aspects would I need to add/change in my original html_header file and where should I put them?
Thanks in advance!
Gary
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Newbie76
Hi, I tried installing this but the my template/common/html_header.php completely messed with my whole layout, is this file necessary to make tpp work properly?
Yes which is why it's included in the add-ons files..
Quote:
Originally Posted by
Newbie76
If so, then what aspects would I need to add/change in my original html_header file and where should I put them?
You will need to use a tool like Winmerge or Beyond Compare to examine the two versions of the files and merge any differences between the two.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Is this correct syntax?:
Code:
define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
My thinking is that it should be:
Code:
define ('ABSPATH' . '/xxx/XXX/xxx_xxx/blog/');
This is from the class.rlwp.php file in includes>functions>extra_functions.
I am trying to complete Numinix's Wordpress Integration found here.
The problem is that when I go to click on the login link, it just goes to the blog - and not the admin login page.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
How is this related to the TPP add-on??:unsure:
Quote:
Originally Posted by
autoace
Is this correct syntax?:
Code:
define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
My thinking is that it should be:
Code:
define ('ABSPATH' . '/xxx/XXX/xxx_xxx/blog/');
This is from the class.rlwp.php file in includes>functions>extra_functions.
I am trying to complete Numinix's Wordpress Integration found
here.
The problem is that when I go to click on the login link, it just goes to the blog - and not the admin login page.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
DivaVocals
How is this related to the TPP add-on??:unsure:
Hmm, I guess maybe because its a file included in TPP. I would like to use this feature, but I think it may be causing some issues with the blog. :smile:
BTW, do you know the answer to my original question?
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
autoace
Hmm, I guess maybe because its a file included in TPP. I would like to use this feature, but I think it may be causing some issues with the blog. :smile:
BTW, do you know the answer to my original question?
No I don't.. I've never had any issues installing this mod nor have I ever had to edit that particular file.. I believe that the person to ask this question to is Numinix since it's his instructions for embedding a WordPress blog you are trying to implement.. It makes sense that he (Numinix) would be best positioned to tell you how his code might interfere with other add-ons. It's unlikely that the author of this mod would be able to answer questions regarding someone else's code unless they wrote their add-on to work with Numinix's code..
BTW, if you are using the 1.06a version, it is different than the previous versions of this mod, so that adds another level to the puzzle. In any case you probably really do want to start with Numinix to troubleshoot the WordPress embedding issues..
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
DivaVocals
No I don't.. I've never had any issues installing this mod nor have I ever had to edit that particular file.. I believe that the person to ask this question to is Numinix since it's his instructions for embedding a WordPress blog you are trying to implement.. It makes sense that he (Numinix) would be best positioned to tell you how his code might interfere with other add-ons. It's unlikely that the author of this mod would be able to answer questions regarding someone else's code unless they wrote their add-on to work with Numinix's code..
BTW, if you are using the 1.06a version, it is different than the previous versions of this mod, so that adds another level to the puzzle. In any case you probably really do want to start with Numinix to troubleshoot the WordPress embedding issues..
@DivaVocals
Thank you for your answer.
BTW, a simple yes or no would've sufficed.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
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.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
autoace
@DivaVocals
Thank you for your answer.
BTW, a simple yes or no would've sufficed.
Perhaps, but I felt the longer answer WAS an appropriate response..
Have you posed your question to Numinix?? Because this question seems to be less of a TPP issue and more of an issue with his WordPress embedding solution conflicting with this mod.. Hope you get a response here, but IMO, it seems a tad off topic for this support thread and it seems like the shorter path to your answer would be with Numinix.. I resolved my conflict between the WOZ mod and another add-on (not this one..) by going to the author of the mod which was in conflict..
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
and though you weren't a fan of my longer answer.. Here's another long answer..:smile: It helps others who might come along with the SAME question.. Yes or no may help you, but it won't help others who stumble on this thread with a similar issue.. Hope that's clearer..:smile:
You might want to consider rolling back to ver 1.05 of this mod.
Don't know if you've looked through this support thread, but based on other posts in this thread, starting with version 1.06 is where people began reporting issues with this mod.. If you read through the various download versions starting with version 1.06 you will see why...
Starting with version 1.06
Quote:
addon for WordPress
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
The class.rlwp.php file you speak of was introduced in this version of TPP, and the original author has not posted here to support it that I am aware of..
IMO this particular version (and it's variants) should NOT be used by anyone who does NOT have a WordPress Blog as part of their site or used by anyone who is using either WOZ of Numinix's WordPress code on their site. (or you will get errors..)
Now if you do not need the WordPress tabs functionality, it may just simply be a matter of simply deleting or commenting out the contents of the class.rlwp.php file..The other possibility is that you do not have your ABSPATH setting entered correctly.. I haven't personally tested if there is a better fix (I use version 1.05 because it works just fine).. Hopefully anyone using one of these WordPress mods along with ver 1.06x of TPP can chime in with a fix. However, the introduction of the WordPress code in version 1.06 seems to be at the heart of your issue, and rolling back to ver 1.05 will DEFINITELY solve your problem..
Regarding versions 1.06b & 1.06c the mod author CLEARLY states the following:
Quote:
1.06b uses the exact same code with 1.06, all credits obviously go to the original author(s). This updated version takes advantage of CJ Loader to boost your site loading speed
Quote:
Updated version for compatibility with other modules. You do not need to use this version unless you plan to or using CSS Javascript Loader
I took this to mean that unless you are using the Zencart Css Javascript Loader that you should NOT use this version of TPP.. and since version 1.06b and 1.06c are both based on version 1.06 which introduced the WordPress code, unless you cand resolve the conflict, you should not use it with any embedded WordPress solutions.
If you don't want to roll back I would say check that your ABSPATH value in this file matches the ABSPATH value in your Zen Cart configure.php file with the addition of your blog folder at the end..
This is how it's done in the WOZ add-on:
Code:
<?php
//
// wordpress on zencart by http://www.s-page.net/
//
define ('ABSPATH','/var/www/vhost/example.com/public_html/blog/');
Like I said, I could answer yes or no, but I think it's better if others have a full and complete answer..:smile:
Quote:
Originally Posted by
autoace
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.