Hi,
I am trying to place more than one switch image on one page. The first switch image is working fine but the second one will only display the thumbnails but not change the image on rollover. Is it possible for more than one switch image to be displayed on the same page.
Please see http://www.countryporsche.com/index.php ... 5&Itemid=9 to see what I'm working on.
Any help given would be much appreciated!
Thanks,
Jonny
Two switch images one page
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Two switch images one page
Hi, I didn't try it, it is long time ago I did it, ... but I think, there can be javascript conflicts between both switch images, because both will use the same id... so I think there is not possible to use two or more switch images on the site...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 07 Aug 2008, 18:07
Re: Two switch images one page
Hi,
Many thanks for your quick response! Do you know which of the files I could edit to try and solve this problem? If any at all?
Thanks again,
Jonny
Many thanks for your quick response! Do you know which of the files I could edit to try and solve this problem? If any at all?
Thanks again,
Jonny
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Two switch images one page
You can solve this if you rename the javascripts (so there will be not conflicts) ... for every possible displaying of the switch image (maybe some adding of random number for the function names, etc...)
the file is the plugin file:
plugins\content\phocagallery.php
Jan
the file is the plugin file:
plugins\content\phocagallery.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 11 Nov 2008, 20:10
Re: Two switch images one page
Hello.
Does this count for imageid singelimages to? I am trying to display alot of single images on one page (because i am gonna use each image beneathe a name) but no matter what imageid= i use, i just get the picture i first added to that page!?
Does this count for imageid singelimages to? I am trying to display alot of single images on one page (because i am gonna use each image beneathe a name) but no matter what imageid= i use, i just get the picture i first added to that page!?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Two switch images one page
please let me know the whole plugin code
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 11 Nov 2008, 20:10
Re: Two switch images one page
Jan wrote:please let me know the whole plugin code
Here you have an example of what im trying to do:
Lorem Ipsum
{phocagallery view=category|categoryid=3|
imageid=185|limitstart=0|limitcount=1|
fontcolor=#343434|bgcolor=#343434|bgcolorhover=#343434|imagebgcolor=#343434|
bordercolor=#343434|bordercolorhover=#343434|
detail=3|displayname=0|displaydetail=0|displaydownload=0}
2 Lorem Ipsum 2
{phocagallery view=category|categoryid=3|
imageid=2|limitstart=0|limitcount=1|
fontcolor=#343434|bgcolor=#343434|bgcolorhover=#343434|imagebgcolor=#343434|
bordercolor=#343434|bordercolorhover=#343434|
detail=3|displayname=0|displaydetail=0|displaydownload=0}
3 Lorem Ipsum 3
{phocagallery view=category|categoryid=3|
imageid=179|limitstart=0|limitcount=1|
fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|
bordercolor=#B88A00|bordercolorhover=#86B300|
detail=3|displayname=0|displaydetail=0|displaydownload=0}
4 Lorem Ipsum 4
{phocagallery view=category|categoryid=3|
imageid=184|limitstart=0|limitcount=1|
fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|
bordercolor=#B88A00|bordercolorhover=#86B300|
detail=3|displayname=0|displaydetail=0|displaydownload=0}
Im showing the names of the players in my _ _ team, and want their image to show below!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Two switch images one page
Hi, because you use the:
limitstart=0|limitcount=1
these parameters mean that the first image of the catgory will be displayed so imageid doesn't work then...
e.g. limistart=5|limitcount=3 means that 3 images will be displayed and displaying will start on 5 image
just remove these paramters if you want to display some specific image
Jan
limitstart=0|limitcount=1
these parameters mean that the first image of the catgory will be displayed so imageid doesn't work then...
e.g. limistart=5|limitcount=3 means that 3 images will be displayed and displaying will start on 5 image
just remove these paramters if you want to display some specific image
Jan
If you find Phoca extensions useful, please support the project