Hi
Did not find much regarding this subject.
I have Joomla as the base system of our website.
This is what I need:
Before I go do research on joomla integration procedures, would like to ask some big questions first:
Would I need change TP into a Joomla component, like they have done with Vanilla?
http://www.open4g.com/index.php?option=com_xcdownloads&view=category&id=36%3Ajoomla-vanilla-discussion-forum&Itemid=38
Are there easier ways of transferring a users logged in state and details from Joomla to TP?
So far very happy with script! Plan on doing loads of modifications.
P.S Would not creating more categories in the forum help sort out the different questions. Find it confusing with everything in one.
Hi David
By the looks of it I will need to create a joomla component and then place your code from pricesExternal.php into this component.
I would then be able to call the function as:
http://localhost/site/index.php?option=com_comparison&Task=PriceResults&q=ipod&Itemid=26
I have created very "basic" components for joomla before, so I'm sure integrating pricesExternal.php wont be a problem.
Could you send me the full version rather?
Hi Andrew,
I'm not familiar with Joomla components - the external scripts are designed to be integrated using nothing more than inline PHP - the people who have integrated with Joomla so far I understand have used the DirectPHP plugin in order to do this; i've not heard of having to write a component at all...
http://extensions.joomla.org/extensions/4470/details
(appreciate your scenario / Joomla setup may be different of course)
I need to derive the calling code for external.php based on pricesExternal.php's calling code so if you could quickly implement that and let me know what you used that would be the easiest way - apologies for the inconvenience, I will be planning to publish the full version with documentation from scratch shortly...
Cheers,
David.
Hi David
I thought about it and having TP running in the Joomla framework is not what I wanted, due to the URLS created by Joomla and allot of overhead having both frameworks running..
So what I did was bring in the users session part of Joomla into TP. Now I can access whether the user has logged in or not.. basically the $my variable.
Had to add some code to common.php and bring in the needed classes and functions of Joomla into a separate file.
Adds about 20ms extra load time to TP (offline)
Going to be integrating it further and will let you know if I get into any trouble.
Hello Andrew,
Thank you for your comments.
There is significant work in progress regarding integration with "external" sites - many users have established Joomla / Wordpress powered established sites and wish to complement these with product / price comparison data.
The first step are "generic" plugin modules that I have written that enable you to pull in either search results for a specific query, or the price comparison table for a specific product - see the following page for more info:
http://www.pricetapestry.com/node/2289
The next step, which I have available as a beta test, and you would be welcome to experiment with; is a full "external.php" that implements the entire Price Tapestry functionality embedded within the pages of your CMS.
If you (or any other Price Tapestry customers reading this) would like to help beta test the full version, the easiest thing to do is first to implement pricesExternal.php from the above page, and then drop me an email with the "calling code" - the PHP that you added to your Joomla page; and i'll send you the full version together with the calling code required.
Thanks for your comments regarding the forum; now that it's growing quite substantially I will look into a better way to categorise posts - particularly modifications - in the mean time, if you have not come across it already there is a "useful threads" index on the following page...
http://www.pricetapestry.com/node/78
Cheers,
David.