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...
display gallery in article
- caro84g
- Phoca Hero
- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: display gallery in article
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
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
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
- Phoca Member
- Posts: 11
- Joined: 05 Mar 2009, 10:47
Re: display gallery in article
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?
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?
- caro84g
- Phoca Hero
- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: display gallery in article
Hi,
So the code will be (if you copy this, remove the break from the code - otherwise it didn't display correctly)
regards, Carolien
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)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!!!!
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?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????
add displaydownload=0 to your code.3 The thumnails contain some kind of link underneath it and I cannot seem to disable it??
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}
regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
- Phoca Member
- Posts: 11
- Joined: 05 Mar 2009, 10:47
Re: display gallery in article
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?
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?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: display gallery in article
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
Jan
If you find Phoca extensions useful, please support the project
- caro84g
- Phoca Hero
- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: display gallery in article
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.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|)
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
- Phoca Member
- Posts: 11
- Joined: 05 Mar 2009, 10:47
Re: display gallery in article
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.....
-
- Phoca Member
- Posts: 11
- Joined: 05 Mar 2009, 10:47
Re: display gallery in article
Also, its 45 degrees celsuis here in cape town, south africa and my aircon packed up - lovely...
-
- Phoca Member
- Posts: 11
- Joined: 05 Mar 2009, 10:47
Re: display gallery in article
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.