Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: Twentyten theme - Wordpress port to CPG 1.5.x  (Read 44181 times)

0 Members and 1 Guest are viewing this topic.

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Twentyten theme - Wordpress port to CPG 1.5.x
« on: September 01, 2010, 04:28:19 am »

Here is a clean little template I have finally gotten right.

The header image is named header.jpg.  Size of the header image must be 940px wide by 198 px high.  Image is saved as /images/headers/header.jpg.
I have moved the file information on the intermediate page from below the picture to right of the picture.
I have also truncated the album description on the album list page and included the entire album description above the thumbnails on the thumbnail page.  For a family style site, this allows you to include your story on the same page as your photos.

Thanks to everyone who answered questions along the way while I was working on this.

{modified post - attached .zip of corrected files to this post}
« Last Edit: September 08, 2010, 12:29:34 am by Shane »
Logged

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #1 on: September 01, 2010, 08:25:09 am »

Want to give this a try but the following error appears when viewing an intermediate image:

Code: [Select]
Fatal error: Cannot redeclare html_picinfo() (previously declared in /var/www/some_more/coppermine/displayimage.php:107) in /var/www/some_more/coppermine/themes/twentyten/theme.php on line 985
http://www.sk-foto.info/?theme=twentyten
Logged

Nibbler

  • Guest
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #2 on: September 01, 2010, 08:39:25 pm »

That function needs to be removed from the theme.php. Only functions that are defined in include/themes.inc.php can be overridden by a theme.
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #3 on: September 02, 2010, 01:38:51 am »

Taucher,

Please try the .zip attached to this message.

I removed the mod to show the pic info on the right of the intermediate image, and moved the function back to its rightful place.

Please let me know if it doesn't work for you.

Shane
« Last Edit: September 02, 2010, 04:29:36 pm by Shane »
Logged

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #4 on: September 02, 2010, 08:02:23 am »

Hi Shane!

Looks a bit better... But no Image is displayed. Only a blank placeholder...

Sven
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #5 on: September 02, 2010, 02:17:08 pm »

Taucher,
Can you attach a view of your page source?  I included my header.jpg image in the correct folder, and the link in the template.html file works fine on my site.  I'd like to see what the code generates on yours.

Shane
Logged

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #6 on: September 02, 2010, 02:38:49 pm »

Shane!

Attached is the resulting HTML-Code.

Code: [Select]
<body>
<div id="wrapper" class="hfeed">
<div id="header">
<div id="masthead">
<div id="branding" role="banner">

<span><div id="site-title">
<b>1/640 Sekunde</b>

</div></span>

<div id="site-description">Sport- und Pressefotos</div>
<!-- header image to be size 940px by 198px -->
<img alt="photo frame" src="themes/twentyten/images/headers/header.jpg" width="940px" height="198px" border="0" />
<!-- END header image -->
</div><!-- #branding -->

<div id="access" role="navigation">
<div class="menu-header">

 
<ul class="dropmenu">
<!-- BEGIN home -->
                <li>
                    <a href="index.html" title="Gehe zur Startseite" class="firstlevel"><span class="firstlevel"><img src="images/icons/home.png" border="0" alt="" width="16" height="16" class="icon" />Startseite</span></a>
                    <ul>
                    <!-- BEGIN contact -->
                                <li>
                                    <a href="contact.html?referer=displayimage.php%3Falbum%3D180%26pid%3D26319" title="Tritt mit 1/640 Sekunde in Kontakt"><span><img src="images/icons/contact.png" border="0" alt="" width="16" height="16" class="icon" />Kontakt</span></a>

                                </li>
                    <!-- END contact -->
                    <!-- BEGIN sidebar -->
                                    <li>
                                        <a href="sidebar.php?action=install" title="Füge eine Sidebar zu Deinem Browser hinzu"><span><img src="images/icons/sidebar.png" border="0" alt="" width="16" height="16" class="icon" />Sidebar</span></a>
                                    </li>
                    <!-- END sidebar -->
                    

                    
                    </ul>
                </li>


<!-- END home -->
<!-- BEGIN blog home -->
                <li><a href="http://shaneandpamela.com/wp/index.html" title="Go to the Blog home page" target="_blank"><img src="images/icons/home.png" border="0" alt="" width="16" height="16" class="icon" />Blog Home Page</a></li>
<!-- END blog home -->


<!-- BEGIN register -->
                <li>
                    <a href="register.php" title="Erzeuge ein Benutzerkonto" class="firstlevel"><span class="firstlevel"><img src="images/icons/add_user.png" border="0" alt="" width="16" height="16" class="icon" />Registrieren</span></a>
                </li>

<!-- END register -->
<!-- BEGIN login -->
                <li>
                    <a href="login.php?referer=displayimage.php%3Falbum%3D180%26pid%3D26319" title="Anmelden" class="firstlevel"><span class="firstlevel"><img src="images/icons/login.png" border="0" alt="" width="16" height="16" class="icon" />Anmelden</span></a>
                </li>
<!-- END login -->

</ul>


<ul class="dropmenu">
<!-- BEGIN custom_link -->
                <li>

                    <a href="impressum.html" title="Impressum" class="firstlevel"><span class="firstlevel">Impressum</span></a>
                </li>
<!-- END custom_link -->

<!-- BEGIN search -->
                <li>
                    <a href="search.html" title="Suche" class="firstlevel"><span class="firstlevel"><img src="images/icons/search.png" border="0" alt="" width="16" height="16" class="icon" />Suche</span></a>
                </li>
<!-- END search -->
</ul>

                

</div>
</div><!-- #access -->
<div id="access" role="navigation"></div>
</div><!-- #masthead -->
</div><!-- #header -->

<div id="main">
<div id="container">
<div id="content" role="main">


<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">

        <tr>
            <td colspan="3" align="left" class="tableh1">
                <span class="statlink"><a href="index.html">Galerie</a> > <a href="index-26.html">Wassersport</a> > <a href="thumbnails-180-_20100822_Wakeboarding_am_Roberto_Beach_.html">20100822 Wakeboarding am Roberto Beach</a></span>

            </td>
        </tr>
</table>
<!-- End standard table -->
<a name="top_display_media"></a>
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48"><a href="thumbnails-180-page-1.html" class="navmenu_pic" title="zurück zur Thumbnail-Seite"><img src="images/navbar/thumbnails.png" align="middle" border="0" alt="zurück zur Thumbnail-Seite" /></a></td>
<!-- BEGIN pic_info_button -->
                <!-- button will be added by displayimage.js -->

                <td id="pic_info_button" align="center" valign="middle" class="navmenu" width="48"></td>
<!-- END pic_info_button -->
<!-- BEGIN slideshow_button -->
                <!-- button will be added by displayimage.js -->
                <td id="slideshow_button" align="center" valign="middle" class="navmenu" width="48"></td>
<!-- END slideshow_button -->
                <td align="center" valign="middle" class="navmenu" width="100%">Datei 4/248</td>


<!-- BEGIN nav_start -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26316-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="Zum Anfang zurückkehren"><img src="images/navbar/start.png" border="0" align="middle" alt="Zum Anfang zurückkehren" /></a></td>

<!-- END nav_start -->
<!-- BEGIN nav_prev -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26318-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="vorherige Datei anzeigen"><img src="images/navbar/prev.png" border="0" align="middle" alt="vorherige Datei anzeigen" /></a></td>
<!-- END nav_prev -->
<!-- BEGIN nav_next -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26320-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="nächste Datei anzeigen"><img src="images/navbar/next.png" border="0" align="middle" alt="nächste Datei anzeigen" /></a></td>
<!-- END nav_next -->
<!-- BEGIN nav_end -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26563-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="Zum Ende gehen"><img src="images/navbar/end.png" border="0" align="middle" alt="Zum Ende gehen" /></a></td>
<!-- END nav_end -->

        </tr>
    <script type="text/javascript">
        var sthhasfocus;
        $(document).ready(function() {
            $('.textinput').focus(function () {sthhasfocus = true;}).blur(function () {sthhasfocus = false;});
            $('select').focus(function () {sthhasfocus = true;}).blur(function () {sthhasfocus = false;});
            $(document).keydown(function(e) {
                if (!e) {
                    e = window.event;
                }
                if (e.which) {
                    kcode = e.which;
                } else if (e.keyCode) {
                    kcode = e.keyCode;
                }
                if (sthhasfocus != true) {
                    if(kcode == 37 && $('#prev').attr('title') != '') {
                        window.location = $('.navmenu_pic img[src*=prev]').parent().attr('href');
                    }
                    if(kcode == 39 && $('#next').attr('title') != '') {
                        window.location = $('.navmenu_pic img[src*=next]').parent().attr('href');
                    }
                    if(kcode == 38) {
                        window.location = $('.navmenu_pic img[src*=thumb]').parent().attr('href');
                    }
                    if(kcode == 40) {
                        blocking('picinfo','yes', 'block');
                        return false;
                    }
                }
            });
        });
    </script></table>

<!-- End standard table -->

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">
        <tr>
                <td align="center" class="display_media" nowrap="nowrap">
                        <table width="100%" cellspacing="2" cellpadding="0">
                                <tr>
                                        <td align="center" style="{SLIDESHOW_STYLE}">
                                                <table cellpadding="0" cellspacing="0" border="0"><tr><td background="albums/Wassersport/20100822_RobertoBeach/SK-20100822-0005.jpg" width="600" height="400" class="image"><img src="images/image.gif?id=786204808109" width=600 height=400 border="0" alt="" /><br />
</td></tr></table><div id="preload_container" style="display:none;"></div>    <script type="text/javascript">
        $(window).load(function() {
            var urls = '';
            $('a:not([href*=26319])[href*=pid]').each( function (i) { urls += $(this).attr('href'); });
            $.get('index.html?file=preload/ajax', {urls:urls}, function(data) { $('#preload_container').html($('#preload_container').html() + data); });
        });
    </script>            <!-- Facebook share -->

            <a name="fb_share" type="button" href="http://www.facebook.com/sharer.php?u=http://www.sk-foto.info/displayimage-26319-_Wakeboarding_.html&t=Wakeboarding">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
                                        </td>
                                </tr>
                        </table>
                </td>
            </tr>
            <tr>
                <td>

                        <table width="100%" cellspacing="2" cellpadding="0" class="tableb tableb_alternate">
                                        <tr>
                                                <td align="center">
                                                        
                                                </td>
                                        </tr>
                        </table>


<!-- BEGIN img_desc -->
                        <table cellpadding="0" cellspacing="0" class="tableb tableb_alternate" width="100%">

<!-- BEGIN title -->
                                <tr>
                                        <td class="tableb tableb_alternate"><h1 class="pic_title">
                                                Wakeboarding
                                        </h1></td>
                                </tr>
<!-- END title -->
<!-- BEGIN caption -->
                                <tr>
                                        <td class="tableb tableb_alternate"><h2 class="pic_caption">
                                                Wakeboarding am Roberto Beach
                                        </h2></td>

                                </tr>
<!-- END caption -->
                        </table>
<!-- END img_desc -->
                </td>
        </tr>
</table>
<!-- End standard table -->
<div id="filmstrip">
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">

        <tr>

          <td valign="top" class="filmstrip_background" style="background-image: url(images/tile.gif);"><img src="images/tile.gif" alt="" border="0" /></td>
        </tr>
        <tr>
          <td valign="bottom" class="thumbnails filmstrip_background" align="center" style="{THUMB_TD_STYLE}">
            <table width="100%" cellspacing="0" cellpadding="3" border="0">
                <tr>
                   <td width="50%" class="prev_strip"></td>
                     <td valign="bottom"  style="{THUMB_TD_STYLE}">
                       <div id="film" style="width:924px; position:relative;"><table class="tape" ><tr>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26316-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0002.jpg" class="strip_image" border="0" alt="SK-20100822-0002.jpg" title="Dateiname=SK-20100822-0002.jpg
Dateigröße=35KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26317-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0003.jpg" class="strip_image" border="0" alt="SK-20100822-0003.jpg" title="Dateiname=SK-20100822-0003.jpg
Dateigröße=35KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26318-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0004.jpg" class="strip_image" border="0" alt="SK-20100822-0004.jpg" title="Dateiname=SK-20100822-0004.jpg
Dateigröße=37KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>

                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26319-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0005.jpg" class="strip_image" border="0" alt="SK-20100822-0005.jpg" title="Dateiname=SK-20100822-0005.jpg
Dateigröße=36KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26320-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0006.jpg" class="strip_image" border="0" alt="SK-20100822-0006.jpg" title="Dateiname=SK-20100822-0006.jpg
Dateigröße=35KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26321-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0007.jpg" class="strip_image" border="0" alt="SK-20100822-0007.jpg" title="Dateiname=SK-20100822-0007.jpg
Dateigröße=33KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26322-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0008.jpg" class="strip_image" border="0" alt="SK-20100822-0008.jpg" title="Dateiname=SK-20100822-0008.jpg
Dateigröße=33KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>
</tr></table></div>
                     </td>
                   <td width="50%" align="right" class="next_strip"></td>

                </tr>
            </table>
          </td>
        </tr>
        <tr>
         <td valign="top" class="filmstrip_background" style="background-image: url(images/tile.gif);"><img src="images/tile.gif" alt="" border="0" /></td>
        </tr>


</table>

<!-- End standard table -->
</div><table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
    <tr>
        <td colspan="6" class="tableh2" id="voting_title"><strong>Diese Datei bewerten</strong> (noch keine Bewertung)</td>
    </tr>
    <tr id="rating_stars">
        <td class="tableb" id="star_rating"></td>
    </tr>

    <tr class="noscript">
      <td class="tableb" colspan="6" align="center">
        <noscript>
           JavaScript muss aktiviert sein, um Abstimmen zu können
        </noscript>
      </td>
    </tr>
</table>
<div id="picinfo" style="display: block;">

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">
        <tr><td colspan="2" class="tableh2">Datei-Information</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >Dateiname:</td><td class="tableb tableb_alternate">SK-20100822-0005.jpg</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Name des Albums:</td><td class="tableb tableb_alternate"><span class="alblink"><a href="profile-1-_SK_.html">SK</a> / <a href="thumbnails-180-_20100822_Wakeboarding_am_Roberto_Beach_.html">20100822 Wakeboarding am Roberto Beach</a></span></td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Schlüsselwörter:</td><td class="tableb tableb_alternate"><span class="alblink"><a href="thumbnails-search-keyword-Wasser.html">Wasser</a> , <a href="thumbnails-search-keyword-Sommer.html">Sommer</a> , <a href="thumbnails-search-keyword-Sonne.html">Sonne</a> , <a href="thumbnails-search-keyword-Wake.html">Wake</a> , <a href="thumbnails-search-keyword-Wakeboarding.html">Wakeboarding</a> , <a href="thumbnails-search-keyword-Wakeboarder.html">Wakeboarder</a> , <a href="thumbnails-search-keyword-Sport.html">Sport</a> , <a href="thumbnails-search-keyword-Wassersport.html">Wassersport</a> , <a href="thumbnails-search-keyword-Wasserski.html">Wasserski</a> , <a href="thumbnails-search-keyword-Mono-Ski.html">Mono-Ski</a> , <a href="thumbnails-search-keyword-Roberto+Beach.html">Roberto Beach</a> , <a href="thumbnails-search-keyword-Aschheim.html">Aschheim</a> , <a href="thumbnails-search-keyword-Muenchen.html">Muenchen</a> , <a href="thumbnails-search-keyword-Bayern.html">Bayern</a> , <a href="thumbnails-search-keyword-Strand.html">Strand</a> , <a href="thumbnails-search-keyword-Fun-Sport.html">Fun-Sport</a> , <a href="thumbnails-search-keyword-Fun+Sport.html">Fun Sport</a> , <a href="thumbnails-search-keyword-Trendsport.html">Trendsport</a> , <a href="thumbnails-search-keyword-Kicker.html">Kicker</a> , <a href="thumbnails-search-keyword-Jumps.html">Jumps</a> , <a href="thumbnails-search-keyword-Rail.html">Rail</a></span></td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >Dateigröße:</td><td class="tableb tableb_alternate"><span dir="ltr">36&nbsp;KB</span></td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Hinzugefügt am:</td><td class="tableb tableb_alternate">23. August 2010</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Abmessungen:</td><td class="tableb tableb_alternate">600 x 400 Pixel</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Angezeigt:</td><td class="tableb tableb_alternate">2 mal</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >Belichtungszeit:</td><td class="tableb tableb_alternate">1/1000 sec</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Blende:</td><td class="tableb tableb_alternate">f/7.1</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Brennweite:</td><td class="tableb tableb_alternate">300 mm</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Hersteller:</td><td class="tableb tableb_alternate">Canon</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Modell:</td><td class="tableb tableb_alternate">Canon EOS-1D Mark II</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Titel:</td><td class="tableb tableb_alternate">Wakeboarding</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Copyright:</td><td class="tableb tableb_alternate">(c) 2010 Sven Kiesewetter</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Stichworte:</td><td class="tableb tableb_alternate">Wasser Sommer Sonne Wake Wakeboarding Wakeboarder Sport Wassersport Wasserski Mono-Ski Roberto Beach Aschheim Muenchen Bayern Strand Fun-Sport Fun Sport Trendsport Kicker Jumps Rail</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Kategorie:</td><td class="tableb tableb_alternate">Sports</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Unter-Kategorie:</td><td class="tableb tableb_alternate">Watersports Wakeboarding</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >URL:</td><td class="tableb tableb_alternate"><a href="http://www.sk-foto.info/displayimage-26319-_Wakeboarding_.html" >http://www.sk-foto.info/displayimage-26319-_Wakeboarding_.html</a></td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Favoriten:</td><td class="tableb tableb_alternate"><a href="addfav.php?pid=26319&amp;referer=displayimage.php%3Falbum%3D180%26pid%3D26319" >zu Favoriten hinzufügen</a></td></tr>
</table>
<!-- End standard table -->
</div>
<a name="comments_top"></a><div id="comments">
</div>

</div><!-- #content -->
</div><!-- #container -->

</div><!-- #main -->

<div id="footer" role="contentinfo">
<div id="colophon">
<div id="site-info">
1/640 Sekunde
</div><!-- #site-info -->

<div id="site-generator">


<div class="footer" align="center" style="padding:10px;display:block;visibility:visible; font-family: Verdana,Arial,sans-serif;">Powered by <a href="http://coppermine-gallery.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a></div>
</div><!-- #site-generator -->

</div><!-- #colophon -->
</div><!-- #footer -->

</div><!-- #wrapper -->

<!--Coppermine Photo Gallery 1.5.8 (stable)-->
</body>
</html>


One more thing... (oh, that's Steve Jobs words :) )

In the Template there is a Link to your blog :)
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #7 on: September 02, 2010, 04:44:43 pm »

I removed the blog link in the theme.php file and updated the .zip attached to original post.

If you don't want to re-download the .zip, go into theme.php and remove these lines (should be lines 94-96):
Code: [Select]
<!-- BEGIN blog home -->
                <li><a href="http://shaneandpamela.com/wp/index.php" title="Go to the Blog home page" target="_blank">{HOME_ICO}Blog Home Page</a></li>
<!-- END blog home -->

Not sure why the header image does not work for you.  I had to code the template.html file like this to get the image to load on my site:
Code: [Select]
<div id="header">
<div id="masthead">
<div id="branding" role="banner">

<span><div id="site-title">
<b>{GAL_NAME}</b>
</div></span>

<div id="site-description">{GAL_DESCRIPTION}</div>
<!-- header image to be size 940px by 198px -->
<img alt="photo frame" src="themes/twentyten/images/headers/header.jpg" width="940px" height="198px" border="0" />
<!-- END header image -->
</div><!-- #branding -->

<div id="access" role="navigation">
<div class="menu-header">
  {SYS_MENU}
{SUB_MENU}
{ADMIN_MENU}
</div>
</div><!-- #access -->
<div id="access" role="navigation"></div>
</div><!-- #masthead -->
</div><!-- #header -->

You could try changing the src to "images/headers/header.jpg" in your template.html and see what that gives you.  I had to trial and error it to get it to load.  I originally had the img src hard coded directly to the http:// location of my image, but didn't like that.  I've said it before, and I'll say it again.  I'm no coder.  I'm just a guy who likes playing around with websites.  Maybe one of the admins can tell us both what the correct way to code in the image would be.
Logged

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #8 on: September 02, 2010, 04:59:30 pm »

The header-Image works fine... The Image out of my Gallery is not shown...
See Screenshot attached...
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #9 on: September 03, 2010, 02:20:19 am »

The theme.php file does not make any changes to the intermediate page rendering.  I do not know why your image would not be showing.  It works for me.
Logged

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #10 on: September 03, 2010, 07:25:03 am »

Works well on the Curve-Theme...
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #11 on: September 03, 2010, 08:57:58 am »

FYI: the intermediate view doesn't work if you enable the transparent overlay. If you disable it, the image will be shown.
Logged

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #12 on: September 03, 2010, 09:20:46 am »

Thanks André!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #13 on: September 06, 2010, 05:10:11 pm »

Is this theme ready to be added to the demo/downloads yet?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #14 on: September 06, 2010, 05:53:45 pm »

No:
the intermediate view doesn't work if you enable the transparent overlay
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #15 on: September 07, 2010, 02:34:39 am »

FYI: the intermediate view doesn't work if you enable the transparent overlay. If you disable it, the image will be shown.

I have no idea how to fix this.  If someone can tell me how, I'll fix it and re-post the .zip again.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #16 on: September 07, 2010, 09:57:29 am »

The image is invisible because of
Quote from: wp_style.css
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
   background: transparent;
   border: 0;
   margin: 0;
   padding: 0;
   vertical-align: baseline;
}
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #17 on: September 08, 2010, 12:30:24 am »

Updated the wp_style.css file and updated the .zip file in the first post.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #18 on: September 08, 2010, 08:56:17 am »

Still an issue with transparent overlay enabled (see attachments).
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #19 on: September 08, 2010, 11:09:29 pm »

This should fix the visual issue with transparent overlay. Though the link seems broken when its turned on, haven't found a solution for that yet.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1] 2   Go Up
 

Page created in 0.033 seconds with 22 queries.