Skip to main content

a module hikashop in another web ....

More
15 years 2 months ago - 15 years 2 months ago #21281 by chaka
hi nicolas

i was thinking....i have 2 site then in this site cotizaloaqui.com i have a module hikashop in the right side os random products




then... how load this module in my others side ?? can i? a module HMTL?

php? javascript? o YQL ?


thanks :)
Last edit: 15 years 2 months ago by chaka.

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago - 15 years 2 months ago #21284 by chaka
i play with the YQL console and i create a query :

in this : link

the result is the 3 product of my module but now what? how to use this query in my other site ? :dry:
Last edit: 15 years 2 months ago by chaka.

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #21299 by nicolas
The easiest is to create a new hidden menu displaying your products as you want them on your main website.
Then, just add &tmpl=component to the URL of your menu and the template will disappear and you will only see the listing of products.
Then, with that URL you can use a module like this one extensions.joomla.org/extensions/style-a...pups-a-iframes/14710 on your other website in order to display the listing of products on that other website.

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #21370 by chaka
thanks nicolas it wroks now

in this link : www.notieneverguenza.com/

but now in the iframe when a user hit a click the load in the same iframe . any suggest ?

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #21378 by nicolas
Mmm indeed. You will have to add <base target="_top" /> tag to the head of the pages coming from the main website in order to open the links on the full page.
You could try to edit the file listing of the view product via the menu Display->views and add the code below for that:

$doc =& JFactory::getDocument();
$doc->setMetaData('base','<base target="_top" />');

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #21409 by chaka
thanks nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.197 seconds
Powered by Kunena Forum