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

Phoca Gallery - image gallery extension
reinterpret
Phoca Member
Phoca Member
Posts: 18
Joined: 09 May 2008, 11:32
Contact:

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

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
reinterpret
Phoca Member
Phoca Member
Posts: 18
Joined: 09 May 2008, 11:32
Contact:

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

Post by reinterpret »

ok. thank you. where is the vm link code sitting? than i can give it a try.

:D
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
reinterpret
Phoca Member
Phoca Member
Posts: 18
Joined: 09 May 2008, 11:32
Contact:

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

Post by reinterpret »

thanks a lot!!
Post Reply