Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2]   Go Down

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

0 Members and 1 Guest are viewing this topic.

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #20 on: September 09, 2010, 03:55:35 am »

The attached wp_style.css should fix the visual and the link issue with the intermediate view while transparent overlay is on.

edit - One more small correction. Updated attachment.
« Last Edit: September 09, 2010, 04:04:07 am by Jeff Bailey »
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Αndré

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

Works for me now.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4483
    • Windsurf.me
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #22 on: September 12, 2010, 11:15:01 pm »

Download - Demo

Still has a few problems though and is breaking out of our demo menu. Coming along nicely though.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Frazer

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #23 on: September 15, 2010, 10:22:03 pm »

Hi, this is my favourite theme, however there appears to be a layout issue when the cpgforum plugin is used. Difficult to describe - the forum is stretched downwards. Please see attached or http://testcpg.clockwatching.info/forum.php for visual - a login account is not necessary.

To show this I have installed a fresh version of CPG (from Fantastico, version 1.5.6) and the only changes I have made are to add the cpgforum plugin and load 2 new themes, which are i_feel_dirty_v and twentyten. The problem only happens when using the twentyten theme, and so I have posted in this thread.

I have reproduced this with Chrome, Opera and Firefox.

I would be grateful if this could be fixed as I would like to use both the forum and this fine theme. Thank you for your attention.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #24 on: September 15, 2010, 10:43:27 pm »

the forums
Code: [Select]
<img src="images/spacer.gif" height="10" style="width: 100%;">is causing the issue.

probably a conflict with
Code: [Select]
#content img {
height: auto;
margin: 0px;
max-width: 640px;
width: auto;
}
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Frazer

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #25 on: September 16, 2010, 01:53:40 am »

Thanks for the reply. Are you saying I should be raising this in the cpgforum thread?
Logged

cdawg

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #26 on: November 15, 2010, 01:57:18 am »

Having an odd style sheet issue with this one

it seems when I have category with an album in it, the category list is indented one. 

http://caterina-scorsone.com/photos/index.php?cat=6
http://caterina-scorsone.com/photos/index.php

Is there something to change to fix this?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #27 on: November 15, 2010, 05:05:18 am »

Find this in the themes theme.php
Code: [Select]
/******************************************************************************
** Section <<<$template_cat_list>>> - START
******************************************************************************/
// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left">{CATEGORY}</td>
                <td class="tableh1" width="10%" align="center">{ALBUMS}</td>
                <td class="tableh1" width="10%" align="center">{PICTURES}</td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td width="170px" style="vertical-align:middle">{CAT_THUMB}</td><td style="vertical-align:middle"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb tableb_alternate" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
/******************************************************************************
** Section <<<$template_cat_list>>> - END
******************************************************************************/

and replace it with this
Code: [Select]
/******************************************************************************
** Section <<<$template_cat_list>>> - START
******************************************************************************/
// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left">{CATEGORY}</td>
                <td class="tableh1" width="10%" align="center">{ALBUMS}</td>
                <td class="tableh1" width="10%" align="center">{PICTURES}</td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td style="vertical-align:middle">{CAT_THUMB}</td><td style="vertical-align:middle"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb tableb_alternate" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
/******************************************************************************
** Section <<<$template_cat_list>>> - END
******************************************************************************/

untested
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

cdawg

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #28 on: November 15, 2010, 06:00:14 am »

Fixed it thanks!
Logged

travelbuff

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: 'all things concerning the website' for regular users
« Reply #29 on: April 02, 2011, 02:33:23 pm »

I have a issue with the twentyten theme where the login boxes and the registration boxes are cut off on the right side.  You can see an example at: http://travelbuff.net/coppermine/login.php.
I believe I know what the problem is by viewing the source code and putting the code in my html editor.  The field boxes are the exact same size as the table they are put in.  I can correct it in html by re-sizing the field box by a couple of pixels.  My problem is I'm not sure where to find it in the php css files, to make the adjustment.  I cannot figure out what that portion is called?

Any help would be apprieciated.
« Last Edit: April 02, 2011, 06:24:35 pm by François Keller »
Logged

hk1418

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #30 on: January 11, 2013, 05:26:02 pm »

Hallo eine Frage wie ändere ich den Hintergrund...??? Bin leider eine Laie, ich würde mich freuen über ein bißchen Hilfe. Danke.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15422
Re: Twentyten theme - Wordpress port to CPG 1.5.x
« Reply #31 on: January 12, 2013, 07:32:27 am »

Hallo eine Frage wie ändere ich den Hintergrund...??? Bin leider eine Laie, ich würde mich freuen über ein bißchen Hilfe. Danke.

Please always post in English outside of the language-specific boards. Short translation:
Quote
How to change the background?
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.033 seconds with 21 queries.