Page 1 of 2
display gallery in article
Posted: 05 Mar 2009, 11:15
by gus
How do I display a gallery (category) within an article? I believe you should use the code: {phocagallery view=category|categoryid=2}, but this displays as text in my article and not the gallery I created (even when the ID is correct)
Please Help - I have been stuck on this for 3 days and I dont see any referance to this issue in the documentation.
Regards
Gustav
As die lewe maar net bietjie meer eenvoudig was...
Re: display gallery in article
Posted: 05 Mar 2009, 12:53
by caro84g
Hi,
I moved your topic to the right forum.
Second: a couple of questions:
- do you have phoca gallery plugin installed and enabled?
- the syntax you entered is incomplete (or incorrect, depending on what you want to display). See for examples:
https://www.phoca.cz/documents/14-phoca- ... ery-plugin and
https://www.phoca.cz/demo/phocagallery-plugin
Regards, Carolien
Re: display gallery in article
Posted: 05 Mar 2009, 16:10
by gus
I have in the mean time been able to get the images displayed with the following code: {phocagalleryview=category|categoryid=29|
limitstart=2|limitcount=3|detail=2|displayname=0|
displaydetail=0|imageshadow=shadow1}
A few things however:
1 The description on the website and in your links you provided (and I have been through them) is VERY confusing. You dont make it clear that one needs to create new menu with menu item and then unpublish it!!!!
2 All I want to do is display all the thumbnails of the pictures in specific category as I have created it, in different articles. So I have created different categories, placed above mentioned code in my article with the ID it needs to link to.
Now it displays, and opens correctly in all the browsers except in IE7 - it opens the pic off the page - you only see corner of box????
3 The thumnails contain some kind of link underneath it and I cannot seem to disable it??
Any help?
Re: display gallery in article
Posted: 05 Mar 2009, 16:57
by caro84g
Hi,
gus wrote:1 The description on the website and in your links you provided (and I have been through them) is VERY confusing. You dont make it clear that one needs to create new menu with menu item and then unpublish it!!!!
You only need to create a menu item to Phoca Gallery if you don't have it already. Note, don't unpublish the menu item, but unpublish the menu module (if you want it to be hidden)
2 All I want to do is display all the thumbnails of the pictures in specific category as I have created it, in different articles. So I have created different categories, placed above mentioned code in my article with the ID it needs to link to.
Now it displays, and opens correctly in all the browsers except in IE7 - it opens the pic off the page - you only see corner of box????
this is not suppose to work like that, do you have a website so we can take a look at that. Could you test if the same happens with the rhuk_milkyway template?
3 The thumnails contain some kind of link underneath it and I cannot seem to disable it??
add displaydownload=0 to your code.
So the code will be
Code: Select all
{phocagallery view=category|categoryid=29|limitstart=2|limitcount=3|detail=2|displayname=0|
displaydetail=0|displaydownload=0|imageshadow=shadow1}
(if you copy this, remove the break from the code - otherwise it didn't display correctly)
regards, Carolien
Re: display gallery in article
Posted: 05 Mar 2009, 17:15
by gus
Thanks for the help,
I have done what you said, published the menu item and unpublished the menu module. I inserted your code. Apart from having taken away the links underneath the thumbnail (YEAAAAH!!!) it still doesnt disply in IE and it also doesnt display all the pictures as in the category as thumbnails (I supposew I can fix this with inserting the following: |limitstart=2|limitcount=3|)?
the website url:
http://www.sumi.co.za/index.php?option= ... &Itemid=64
Any clues?
Re: display gallery in article
Posted: 05 Mar 2009, 18:18
by Jan
Hi, it seems like there is a problem with modal box (a part of Joomla! framework) and maybe the template... try to test it with some standard template like rhuk_milkyway is...
Jan
Re: display gallery in article
Posted: 05 Mar 2009, 19:46
by caro84g
gus wrote:it doesnt display all the pictures as in the category as thumbnails (I supposew I can fix this with inserting the following: |limitstart=2|limitcount=3|)
yes, you should add limitstart=0 (this means that it starts with the first image following the ordering in the Phoca Gallery backend - I hope you're still with me now
) and add limitcount=number of images in your category. This way all images of the category are displayed. You could also add limitcount=1000, but if you have 1000 images in a category, they're all displayed without any pagination.
Re: display gallery in article
Posted: 05 Mar 2009, 19:59
by gus
Yes, thanks, thats how I understand it now. Its still not working in IE so I have changed my template to the rhuk_milkyway to see if my template is the problem, and now my sub-submenu is not showing. I'm not having a good day.....
Re: display gallery in article
Posted: 05 Mar 2009, 20:01
by gus
Also, its 45 degrees celsuis here in cape town, south africa and my aircon packed up - lovely...
Re: display gallery in article
Posted: 05 Mar 2009, 20:16
by gus
I have now figured out most of the issues, the first of which is extended menu which in my case is operating within php code that I inserted to expand and colapse a colomn. Phoca gallery works in the rhuk_milkyway template but in my template if you click on it nothing happens apart from a small error showing on the bottom bar (error on page). I have no idea what in my template might be causing this?? I have built various templates and all is working fine. Anyway let me see if I can figure this out. Thanks for all the help.