coppermine-gallery.com/forum

Support => cpg1.4 themes/skins/templates => cpg1.4.x Support => Older/other versions => cpg1.4 theme contributions => Topic started by: catz1ct on November 27, 2005, 07:05:26 PM

Title: transmission theme
Post by: catz1ct on November 27, 2005, 07:05:26 PM
This is probably the wrong forum but I don't seem to be getting an answer over on the theme section so maybe this is the correct place to put it.

I REALLY REALLY REALLY want to use this theme but its been broke now for ages. There are a few errors with the theme one of them is that when you go to click on a thumb nail this error comes up.

Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_button -->)#s) in :

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="themes/transmission/images/back.gif" width="21" height="15" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="themes/transmission/images/info.gif" width="18" height="15" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="themes/transmission/images/slideshow.gif" width="21" height="15" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" witdh="100%">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="themes/transmission/images/ecard.gif" width="21" height="15" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="themes/transmission/images/previmg.gif" width="18" height="15" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="themes/transmission/images/nextimg.gif" width="18" height="15" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>


I'm so glad 1.4 has been released because maybe this bug will get fixed now?
Title: Re: transmission theme
Post by: kegobeer on November 27, 2005, 07:10:03 PM
That is a user contributed theme.  Maybe one of our users will fix it - right now it's not on our radar to fix those themes.  We have too much to do right now.
Title: Re: transmission theme
Post by: catz1ct on November 27, 2005, 07:17:17 PM
ok  :-[

probably shouldn't have it up for release then
Title: Re: transmission theme
Post by: catz1ct on November 27, 2005, 07:25:01 PM
Oh and you also get the same bug with this theme:

http://coppermine-gallery.net/demo/cpg14x/index.php?4x=&theme=simplicity

click a thumbnail  ???
Title: Re: transmission theme
Post by: Tranz on November 27, 2005, 07:35:11 PM
One of the nice things about open source is that anyone can contribute... and anyone else can contribute to those contributions. You could modify the theme and give back to the community.
Title: Re: transmission theme
Post by: catz1ct on November 27, 2005, 09:44:00 PM
i would if i knew what the problem was.
Title: Re: transmission theme
Post by: Joachim Müller on November 27, 2005, 09:48:31 PM
well, if you can't figure this out, you'll have to wait untill someone takes a look at it who is able to figure it out.
Title: Re: transmission theme
Post by: artistsinhawaii on November 27, 2005, 11:11:00 PM
Quote from: catz1ct on November 27, 2005, 09:44:00 PM
i would if i knew what the problem was.

Try the attached.  Took a few minutes but I think I got it right.

Dennis
Title: Re: transmission theme
Post by: Joachim Müller on November 28, 2005, 07:26:37 AM
works on the demo (http://coppermine-gallery.net/demo/cpg14x/index.php?theme=transmission) ;-)
Title: Re: transmission theme
Post by: artistsinhawaii on November 28, 2005, 07:48:20 AM
Hey!

Nice to know I finally got something up in the "demo".

Dennis

Title: Re: transmission theme
Post by: Joachim Müller on November 28, 2005, 07:50:29 AM
hehe, you have something up in the downloads section as well ;): http://prdownloads.sourceforge.net/coppermine/cpg1.4.x_theme_transmission.zip?download
Title: Re: transmission theme
Post by: catz1ct on November 28, 2005, 12:35:36 PM
thank youuuuuuuuuuuuu. it works :D woohoo.
Title: Re: transmission theme
Post by: jibi on July 24, 2006, 12:48:14 AM
Just like to add that the following modifications need to be made in the /include/themes.inc.php file as well.  This will correct an alignment issue with the 'sort order' controls.

<td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>

change to:

<td width="90%" class="statlink"><h2>{ALBUM_NAME}</h2></td>

This is in TWO different places in the file, so be sure to change in both.  This is ONLY recommended if you are using the Transmission theme ONLY!
Title: Re: transmission theme
Post by: Joachim Müller on July 24, 2006, 08:09:14 AM
You mustn't edit include/themes.inc.php, under no circumstances. Instead: modify themes/yourtheme/theme.php.