Max number of images?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
- Phoca Newbie
- Posts: 5
- Joined: 10 Sep 2008, 15:50
Re: Max number of images?
thanks Jan for reply, is use the phoca gallery tree module, only the pagination not show,
but if i add "menu link" the pagination show, like your demo sites the pagination and the tree menu apears
left and right position.
https://www.phoca.cz/documentation/index ... -menu-link
if the "menu link" unpublish the pagination not show again, must be publish
i want to my sites design ONLY 1 tree menu modul not more and the pagination show, how to setup them ?
regrads
but if i add "menu link" the pagination show, like your demo sites the pagination and the tree menu apears
left and right position.
https://www.phoca.cz/documentation/index ... -menu-link
if the "menu link" unpublish the pagination not show again, must be publish
i want to my sites design ONLY 1 tree menu modul not more and the pagination show, how to setup them ?
regrads
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Max number of images?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 10 Sep 2008, 15:50
Re: Max number of images?
thank for reply!
i think the subject threat similiar
viewtopic.php?f=1&t=1528&p=9086&hilit=p ... dule#p9086
I have 45 images in category and only 20 are displayed on ma gallery page.
because General Settings - Pagination Default Value is 20, by the way
the start-prev-next-last button doesn't show, for showing the pagination i must create link
like Jan's suggestion in
https://www.phoca.cz/documentation/index ... -menu-link
the answer is :
if i not create the menu link, only the phoca gallery tree module appear in my web pages not both (tree and link)
i cannot use the parameter-basic pagination = show in phoca tree module, how to change only
tree module and the pagination appear ?
thanks
i think the subject threat similiar
viewtopic.php?f=1&t=1528&p=9086&hilit=p ... dule#p9086
I have 45 images in category and only 20 are displayed on ma gallery page.
because General Settings - Pagination Default Value is 20, by the way
the start-prev-next-last button doesn't show, for showing the pagination i must create link
like Jan's suggestion in
https://www.phoca.cz/documentation/index ... -menu-link
the answer is :
if i not create the menu link, only the phoca gallery tree module appear in my web pages not both (tree and link)
i cannot use the parameter-basic pagination = show in phoca tree module, how to change only
tree module and the pagination appear ?
thanks
- caro84g
- Phoca Hero
- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Max number of images?
About setting up a menu-item, which must not be shown see the link Jan posted in the above message or see this post:
viewtopic.php?f=9&t=1604#p8793
viewtopic.php?f=9&t=1604#p8793
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 Newbie
- Posts: 5
- Joined: 10 Sep 2008, 15:50
Re: Max number of images?
thanks caro84g for psot, but it not works for me, because i want use the tree module, not link menu.
so i change the code in file "components\com_phocagallery\views\category\tmpl\default.php" liKe this :
-------------------------------------------------------
<?php
if (count($this->items)) {
echo '<div><center>';
if ($this->params->get('show_pagination_limit')) {
echo '<div style="margin:0 10px 0 10px;display:inline;">'
.JText::_('Display Num') .' '
.$this->tmpl['pagination']->getLimitBox()
.'</div>';
}
//THIS ADD REMARK LINE
// if ($this->params->get('show_pagination')) {
echo '<div style="margin:0 10px 0 10px;display:inline;" class="sectiontablefooter'.$this->params->get( 'pageclass_sfx' ).'" >'
.$this->tmpl['pagination']->getPagesLinks()
.'</div>'
.'<div style="margin:0 10px 0 10px;display:inline;" class="pagecounter">'
.$this->tmpl['pagination']->getPagesCounter()
.'</div>';
//THIS ADD REMARK LINKE
// }
echo '</center></div>';
--------------------------------------------------------------------
change code it works for me,
why we use only one (the tree or link menu) because if we have both
the pagination's link menu 20 image (global parameter)
and the tree menu (component parameter) is set 5 image.
if the user click tree show every 5 image and if the user click from link menu
image will show every 20 image, hik hik.......
and the change above remark line only for always show the first/next/prev/last button for every iamge in tree menu without link menu
thanks for wonderfull code !
bravo phoca
so i change the code in file "components\com_phocagallery\views\category\tmpl\default.php" liKe this :
-------------------------------------------------------
<?php
if (count($this->items)) {
echo '<div><center>';
if ($this->params->get('show_pagination_limit')) {
echo '<div style="margin:0 10px 0 10px;display:inline;">'
.JText::_('Display Num') .' '
.$this->tmpl['pagination']->getLimitBox()
.'</div>';
}
//THIS ADD REMARK LINE
// if ($this->params->get('show_pagination')) {
echo '<div style="margin:0 10px 0 10px;display:inline;" class="sectiontablefooter'.$this->params->get( 'pageclass_sfx' ).'" >'
.$this->tmpl['pagination']->getPagesLinks()
.'</div>'
.'<div style="margin:0 10px 0 10px;display:inline;" class="pagecounter">'
.$this->tmpl['pagination']->getPagesCounter()
.'</div>';
//THIS ADD REMARK LINKE
// }
echo '</center></div>';
--------------------------------------------------------------------
change code it works for me,
why we use only one (the tree or link menu) because if we have both
the pagination's link menu 20 image (global parameter)
and the tree menu (component parameter) is set 5 image.
if the user click tree show every 5 image and if the user click from link menu
image will show every 20 image, hik hik.......
and the change above remark line only for always show the first/next/prev/last button for every iamge in tree menu without link menu
thanks for wonderfull code !
bravo phoca
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Max number of images?
.... maybe because both links have other id and other parameters component settingif the user click tree show every 5 image and if the user click from link menu
image will show every 20 image, hik hik
If you find Phoca extensions useful, please support the project