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?
load vm links to an iframe so phoca stays...
-
- Phoca Member
- Posts: 18
- Joined: 09 May 2008, 11:32
- Contact:
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: load vm links to an iframe so phoca stays...
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
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
-
- Phoca Member
- Posts: 18
- Joined: 09 May 2008, 11:32
- Contact:
Re: load vm links to an iframe so phoca stays...
ok. thank you. where is the vm link code sitting? than i can give it a try.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: load vm links to an iframe so phoca stays...
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
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
-
- Phoca Member
- Posts: 18
- Joined: 09 May 2008, 11:32
- Contact:
Re: load vm links to an iframe so phoca stays...
thanks a lot!!