 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
October 21st, 2005, 06:29 PM
|
#1 (permalink)
| | Registered User
Join Date: Feb 2005
Posts: 14
| Random Images
I have the side-bar option on, and cannot find a setting for the number of Random Images to display. Is there any way to have more than 1 random image? I saw at viper alley that they have more than one.
Thank's,
Eric |
| |
October 22nd, 2005, 09:44 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
Hello
You would open up the sidebar right close or left open template and edit the number in bold to how many images down you want
display_gallery("random", "", "", 1, 4, 1);
|
| |
December 4th, 2005, 02:08 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2005 Location: Australia
Posts: 77
|
Thanks Chuck.......used this today |
| |
December 9th, 2005, 12:18 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 214
|
Sorry to be having difficulty with this, but I changed the numbers and it didn't work.
I suppose it is foolish to ask why there isn't a sidebar_rightopen.tmpl being as that is one I would have thought I would be using?
Thanks
|
| |
December 9th, 2005, 12:37 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
if your using the right sidebar the code your looking for is in sidebar right close
|
| |
December 9th, 2005, 06:23 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 214
|
Chuck,
I changed the line as described,
from
display_gallery("random", "", "", 1, 2, 1);
to
display_gallery("random", "", "", 1, 4, 1);
but no change on the board... http://www.teambuick.com/classifieds/
any ideas?
Thanks
|
| |
December 9th, 2005, 07:46 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
if ( $Globals['randompal'] == "yes" ) {
$pphold = $ppopen; $ppopen = $ppopenside;
$pphold2 = $ppclose; $ppclose = $ppcloseside;
display_gallery("random", "", "", 4, 1);
$ppopen = $pphold; $ppclose = $pphold2;
}
|
| |
December 10th, 2005, 12:37 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 214
|
Ok, with help, we now have 4 images with
if ( $Globals['randompal'] == "yes" ) {
$pphold = $ppopen; $ppopen = $ppopenside;
$pphold2 = $ppclose; $ppclose = $ppcloseside;
display_gallery("random", "", "", 1, 4, 4);
$ppopen = $pphold; $ppclose = $pphold2;
}
now I am trying to get 6, but just changing to 6 doesn't make it.
Last edited by rcull; December 10th, 2005 at 01:01 PM.
|
| |
December 10th, 2005, 07:04 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
if ( $Globals['randompal'] == "yes" ) {
$pphold = $ppopen; $ppopen = $ppopenside;
$pphold2 = $ppclose; $ppclose = $ppcloseside;
display_gallery("random", "", "", 6, 1);
$ppopen = $pphold; $ppclose = $pphold2;
}
|
| |
December 13th, 2005, 10:52 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 214
|
just so's everyone else knows how I screwed up, I somehow got into the subfolder vb3advanced....
Oh well, I probably not the only one to do something stupid, again,...
Thanks!
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:23 AM. | |