First of all, thank you for the great extensions, Phoca Gallery the best one amongst them I use it on my 3 sites and was really satisfied with everything before this issue appeared.
I use Joomla 1.6. and have installed Phoca Gallery Component, Module and Plugin. Unfortunately, there is no Plugin Button for J1.6. yet, therefore was trying to understand the coding as I do not have programmer education. I have searched the documentation and forum, have found one thread about this exactly topic, but not solved. I have link to Phoca Galleries view on my site, I have enabled the plugin.
I want to display some pictures from gallery, but it seems limitstart is not working. It always shows pictures form the very start. My code is
{ phocagallery view=category|categoryid=13|
limitstart=352|limitcount=3|detail=3|displayname=1|
displaydetail=1|imageshadow=shadow1 }
What is the number for limitstart? Is it ID number or ordering number (I have tried both, however, no success). Will this number change if I add some pictures to the existing gallery? (I will have galleries, where I will put new images throughout all year 2011, therefore its content is somehow changing all the time, what about ID numbers?)
I have another site on J1.5., this code works imperfect there, too Limitstart seems not working.
Any ideas, what is wrong?
Is there a possibility to show only one single image from a gallery in the article? I could not find the code. Maybe I can use this as a substitute for not working limitstart?
Thank you for your help in advance!
"Limitstart" function is not working
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "Limitstart" function is not working
Hi, limitstart and limitcount is a database (mysql) feature.
You can limit the output of images (items from database) when you set limitstart - from which items it should be taken (it is not ID, it depends on ordering you are using) and the count of items.
e.g.
limitstart=3
limitcount=5
Takes 5 images and takes them from the 3 position of returned array of items.
Jan
You can limit the output of images (items from database) when you set limitstart - from which items it should be taken (it is not ID, it depends on ordering you are using) and the count of items.
e.g.
limitstart=3
limitcount=5
Takes 5 images and takes them from the 3 position of returned array of items.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Apr 2011, 09:44
Re: "Limitstart" function is not working
Thank you for the fast reply, Jan!
Do I understand correctly, that I have to put a number, taken form the Phoca Gallery Component, column - ORDERING?
I did, but there was no changes, plugin shows only the very beginning.
Limitcount works well, however.
What else can cause this?
Would really appreciate your help!
Natalija
Do I understand correctly, that I have to put a number, taken form the Phoca Gallery Component, column - ORDERING?
I did, but there was no changes, plugin shows only the very beginning.
Limitcount works well, however.
What else can cause this?
Would really appreciate your help!
Natalija
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "Limitstart" function is not working
Hi, no the start is a starter.
Depends on which ordering you are using.
If you set e.g. order by data and limitstart to 3 then images will be displayed from the 3 images found in database order by date.
Jan
Depends on which ordering you are using.
If you set e.g. order by data and limitstart to 3 then images will be displayed from the 3 images found in database order by date.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Apr 2011, 09:44
Re: "Limitstart" function is not working
There are no changes in displaying images, either I try to put number 1 or 2 or 3 or 6 or 164, for limitstart. It does not change after I change ordering in options.
I am frustrated
Can it be I have forgotten something to publish, enable, mark?...Can it be hoster?..
I really need this feature of displaying only some pictures from a gallery
I am frustrated
Can it be I have forgotten something to publish, enable, mark?...Can it be hoster?..
I really need this feature of displaying only some pictures from a gallery
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "Limitstart" function is not working
Hmmm, really no idea, check if the parameter does not include any error.
If it works ok, it only adds the params to sql query
SQL query .... LIMIT start, count
Jan
If it works ok, it only adds the params to sql query
SQL query .... LIMIT start, count
Jan
If you find Phoca extensions useful, please support the project