Hello, I am having a little problem with my setup. I have a Gallery2 plugin to show a random picture on my blog and I want to remove a certain line which is ontop of the picture called "Random Image". You can see it on www.emmi.is , anyone know in what file this is so I can remove it?
Thanks!
Removing certain line from code!
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Ok, a quick fix would be to open up the plugin (the file is called serendipity_plugin_gallery_menalto_random.php) and find the line that looks like this:
And change it to this:
At least, I think that should do it. (I don't actually use Gallery, so please let me know).
If I get a chance I will update the plugins with some options in the next few days (if this thread falls quiet for too long feel free to ping it to remind me, though).
Code: Select all
$file = 'main.php?g2_view=imageblock:External&g2_blocks=randomImage&g2_itemFrame=none';
Code: Select all
$file = 'main.php?g2_view=imageblock:External&g2_blocks=randomImage&g2_itemFrame=none&g2_show=date|views';
If I get a chance I will update the plugins with some options in the next few days (if this thread falls quiet for too long feel free to ping it to remind me, though).
Matthew (Feeling generous?)
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Ok, I just updated the Unified Sidebar Image plugin to support new features for Gallery2.
Basically it adds support for g2_type (not just random) g2_maxSize, g2_linkTarget, and g2_show. I also added caching option, so that server will not do gallery request on every page request.
Honestly, I didn't do a whole lot of testing on this, since I don't have my own Gallery installation. Please let me know if you find any bugs.
I'm not going to backport these changes into the menalto sidebar plugin at this time. If this is something you really, really need, please feel free to drop me a note and explain why the unified sidebar plugin won't work for you. I could probably port the changes over if there is serious incentive.
Please let me know if you have any problems!
Basically it adds support for g2_type (not just random) g2_maxSize, g2_linkTarget, and g2_show. I also added caching option, so that server will not do gallery request on every page request.
Honestly, I didn't do a whole lot of testing on this, since I don't have my own Gallery installation. Please let me know if you find any bugs.
I'm not going to backport these changes into the menalto sidebar plugin at this time. If this is something you really, really need, please feel free to drop me a note and explain why the unified sidebar plugin won't work for you. I could probably port the changes over if there is serious incentive.
Please let me know if you have any problems!
Matthew (Feeling generous?)