Gallery2 Block "Double Title"
Posted: Wed Mar 07, 2007 4:43 am
Gallery2 Random Image Block Plug-In for Serendipity (www.s9y.org) blog.
The code edit is in Gallery2, but I thought I'd ask.
It displays the title "Random Image"
The file that generates this is in /Gallery2/modules/imageblock/templates/ImageBlock.tpl
The code is
Unfortunately, I don't know enough php to create something that can disable this for the Serendipity plugin. (Probably add an argument to that main.php? call.
In the attached picture, the thicker title is generated by Gallery2 (which I want removed).
The smaller title is generated by Serendipity, which I want to keep (and has nothing to do with Gallery2).

Any help or information is appreciated!
The code edit is in Gallery2, but I thought I'd ask.
It displays the title "Random Image"
The file that generates this is in /Gallery2/modules/imageblock/templates/ImageBlock.tpl
The code is
The Serendipity plugin references main.php?g2_view=imageblock:External&g2_blocks=randomImage&g2_itemFrame=none to call the function.{foreach from=$ImageBlockData.blocks item=block}
<div class="one-image">
{if !empty($block.title)}
<h3> {g->text text=$block.title} </h3>
{/if}
Unfortunately, I don't know enough php to create something that can disable this for the Serendipity plugin. (Probably add an argument to that main.php? call.
In the attached picture, the thicker title is generated by Gallery2 (which I want removed).
The smaller title is generated by Serendipity, which I want to keep (and has nothing to do with Gallery2).

Any help or information is appreciated!