Page 2 of 2

Re: load vm links to an iframe so phoca stays...

Posted: 08 Aug 2008, 08:57
by reinterpret
but han if have nothing to do with vm. only with the wrapper.

but the only i need to do is linking your vm links that you allready made not to the same frame, because than it will be opened to the iframe. i need to open it to the parent, the main browserframe...

so. it have nothing to do with vm anymore... what do you think?

Re: load vm links to an iframe so phoca stays...

Posted: 10 Aug 2008, 21:28
by Jan
Ok, but I don't understand why the links should go to other window...

In Phoca Gallery you can create a link to VM (to some VM product), the link is displayed in every image box in category view (list of images) and if you click on the link, the VM site with VM product is displayed in the same window... so if you have some wrapper, you should add (maybe) the name of the window where the VM is displayed... e.g. the window of VM is called "vm-window" so you will change the link to e.g. ... target="vm-window" ... but I am not sure, maybe this must be solved by some frame solution or by some javascript code ... e.g. onclick ...

Jan

Re: load vm links to an iframe so phoca stays...

Posted: 11 Aug 2008, 06:24
by reinterpret
ok. thank you. where is the vm link code sitting? than i can give it a try.

:D

Re: load vm links to an iframe so phoca stays...

Posted: 11 Aug 2008, 11:18
by Jan
components\com_phocagallery\views\category\tmpl\default.php
components\com_phocagallery\views\category\view.html.php
components\com_phocagallery\models\category.php ... getVmLink method

Jan

Re: load vm links to an iframe so phoca stays...

Posted: 11 Aug 2008, 11:25
by reinterpret
thanks a lot!!