coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: pcfxxr on October 26, 2010, 01:10:56 AM

Title: mac ox x theme
Post by: pcfxxr on October 26, 2010, 01:10:56 AM
good day to all, i first wanted to say how impressed and happy we are with coppermine.

im having an issue with the themes, the layout is broken upon clicking on an album.

ive attached a picture and look forward to any suggestions you may have.

thanks in advance.
Title: Re: mac ox x theme
Post by: pcfxxr on October 26, 2010, 04:01:42 AM
forgot the gallery link...

http://www.timncami.com
Title: Re: mac ox x theme
Post by: ΑndrĂ© on October 29, 2010, 12:22:31 PM
Seems like the theme hasn't been upgraded properly. I can confirm that behavior on the demo.

The culprit is here:
$template_thumb_view_title_row = <<<EOT

       <table width="100%" cellpadding="0" cellspacing="0" border="0">
           <tr>
               <td style="vertical-align:top" class="statlink">
                   <h2>{ALBUM_NAME}</h2>
               </td>
               <td style="text-align:right;" class="sortorder_cell" id="sortorder_cell">
<!-- BEGIN admin_buttons -->
                   <div class="buttonlist">
                       <ul>
                           <li><a href="modifyalb.php?album={ALBUM_ID}" title="{MODIFY_LNK}"><span>{MODIFY_ICO}</span></a></li>
                           <li><a href="index.php?cat={CAT_ID}" title="{PARENT_CAT_LNK}"><span>{PARENT_CAT_ICO}</span></a></li>
                           <li><a href="editpics.php?album={ALBUM_ID}" title="{EDIT_PICS_LNK}"><span>{EDIT_PICS_ICO}</span></a></li>
                           <li><a href="albmgr.php?cat={CAT_ID}" title="{ALBUM_MGR_LNK}"><span class="last">{ALBUM_MGR_ICO}</span></a></li>
                       </ul>
                   </div>
<!-- END admin_buttons -->
                   <!-- Use JavaScript to display the sorting options only to humans, but hide them from search engines to avoid double-content indexing (js/thumbnails.js) -->
               </td>
           </tr>
       </table>

EOT;

especially when appending the sortorder_cell. I didn't found a solution on the quick.
Title: Re: mac ox x theme
Post by: internetking on November 08, 2010, 08:41:13 PM
remove it all together  just skip that ?
Title: Re: mac ox x theme
Post by: peu on November 09, 2010, 12:43:29 PM
I logged in to report the same problem, you beat me to it :)
Title: Re: mac ox x theme
Post by: pcfxxr on December 09, 2010, 01:57:22 AM
just a gentle bump.

thanks
Title: Re: mac ox x theme
Post by: Maxnor on December 31, 2010, 12:07:50 PM
Hi,

Same problem for me, but i found a workaround...
If you deactivate javascript in your browser, this bug will also be deactivated :-)

I wish someone has a solution to fix this.
Regards,

Maxnor.
Title: Re: mac ox x theme
Post by: ValeryAyapov on February 23, 2011, 03:18:10 PM
The same problem...
Title: Re: mac ox x theme
Post by: gtgillis on March 04, 2011, 11:12:00 PM
I edited theme.php in the mac_ox_x directory and removed function starttable and function endtable so the CM uses the default functions in themes.inc.php. It changes to look slightly but it works for me until someone can get it fixed. I think I like it better this way.

You can see it on my site at http://www.sillig.com/coppermine/thumbnails.php?album=1