Hi, I want users to be able to link straight from the 'index.php?cat=2' page to the 'displayimage.php' page, cutting out the thumbs which seem pointless with the filmstrip turned on. is this straightforward?
link to site : http://bluetungsten.co.uk/gallery
as you can see, i'm trying to keep site as simple as possible!
cheers
sorry just quick update, not trying to push up the board, but if anyone's concerned the link is now http://www.bluetungsten.co.uk
nice one!
There is a mod (http://forum.coppermine-gallery.net/index.php?topic=34360.0) to skip intermediate , if you mean that
thanks sami buts thats not quite what i meant - actually quite like the intermediate stage, since I like the filmstrip approach to displaying thumbs. what i want to skip is the thumbnails page between album list and intermediate view. Have seen a few hacks but none of them work, any links to successfully tested-mod would be appreciated.
AFAIK there isn't any mod/plugin you are on your own to code it
it shouldn't be hard it's very similar to the mod that I've pointed even simpler
- don't do the first step (function.inc.php)
- you should just change theme_display_album_list function instead of theme_display_thumbnails on 2nd step
and change
'{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
to
'{ALB_LINK_TGT}' => "displayimage.php?album={$album['aid']}&pos=0",
you are done !
Nice one Sami you are the man!
just for anyone else, if the {ALB_LINK_TGT} thingy doesnt exist in your themes.php, you'll find it in your themes.inc.php.
Quote from: bluetungsten on June 27, 2007, 11:10:36 AM
just for anyone else, if the {ALB_LINK_TGT} thingy doesnt exist in your themes.php, you'll find it in your themes.inc.php.
Do not change/edit themes.inc.php in any circumstances , If you don't have a variable/function on your theme.php , copy it from
themes/sample.phpin your case you should copy
theme_display_album_list variable to your theme.php
ok thanks for that, thought i was doing everything in a roundabout kinda way.
by the way - modifying themes.inc.php did the job anyway, whats the deal with that? when you say dont change it, is this general advice in case it all goes tits up, or do you mean we shouldn't be touching this file cos its against coppermine rules? just for future reference
No it's not against any rules :)
It's for your safety , main reason is if you change themes.inc.php you will loss that change after first upgrade process.
and FYI Coppermine first look for themes/your theme/theme.php and then goes to themes.inc.php so if you declare something on your theme.php it will override and takes to account