Advanced search  

News:

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

Pages: 1 [2]   Go Down

Author Topic: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets  (Read 38158 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #20 on: August 15, 2007, 06:23:27 pm »

The column on the right is set to be 165 pixels wide - you'll need to set the width to zero. Edit wp_style.css, find
Code: [Select]
#leftside, #rightside {
margin:0;
padding:0 10px 10px;
width:165px;
}
and replace with
Code: [Select]
#leftside {
margin:0;
padding:0 10px 10px;
width:165px;
}

#rightside {
margin:0;
padding:0 10px 10px;
/*width:165px;*/
}

Another option would be to get rid of the container - edit template.html, find
Code: [Select]
<!-- Right Sidebar Template -->

         <div id="rightside">

            <ul>
           
               <li><h2>Links</h2>
               <ul>
                  <li><a href="http://www.bullseyephotos.com/blog/" title="Read my blog">Blog</a></li>
                  <li><a href="#" title="Contact the Author">Contact</a></li>
                  <li><a href="http://forum.coppermine-gallery.net/" title="Coppermine Support Forum">CPG Support Forum</a></li>
                  <li><a href="http://www.mozilla.com/firefox/" title="Get Firefox">Get Firefox</a></li>

                  <li><a href="http://chrispederick.com/work/webdeveloper/" title="Web Developer Extension">Web Developer Extension</a></li>
               </ul>
               </li>
               
               <li><h2>Theme Colors</h2>
               <ul>
                  <li>
                     <p>
                     <FORM name="guideform">

                     <SELECT name="grootte" onChange="SetCookie(nameOfCookie, this.value, exp); doRefresh();"> <OPTION SELECTED value="2">--Color--
                     <OPTION value="1">Red
                     <OPTION value="2">Red2
                     <OPTION value="3">Blue
                     <OPTION value="4">Blue2
                     <OPTION value="5">Black
                     <OPTION value="6">Black2
                     <OPTION value="7">Green
                     <OPTION value="8">Green2
                     <OPTION value="9">Purple
                     <OPTION value="10">Purple2
                     <OPTION value="11">Orange
                     <OPTION value="12">Orange2
                     <OPTION value="13">Pink
                     </SELECT>

                     </FORM>
                     
                     
                     </p>
                  </li>
               </ul>
               </li>
                     

            </ul>
         </div><!--End rightside-->
and replace with
Code: [Select]
<!-- Right Sidebar Template -->
         <!-- commented out to give the other columns more room
         <div id="rightside">

            <ul>
           
               <li><h2>Links</h2>
               <ul>
                  <li><a href="http://www.bullseyephotos.com/blog/" title="Read my blog">Blog</a></li>
                  <li><a href="#" title="Contact the Author">Contact</a></li>
                  <li><a href="http://forum.coppermine-gallery.net/" title="Coppermine Support Forum">CPG Support Forum</a></li>
                  <li><a href="http://www.mozilla.com/firefox/" title="Get Firefox">Get Firefox</a></li>

                  <li><a href="http://chrispederick.com/work/webdeveloper/" title="Web Developer Extension">Web Developer Extension</a></li>
               </ul>
               </li>
               
               <li><h2>Theme Colors</h2>
               <ul>
                  <li>
                     <p>
                     <FORM name="guideform">

                     <SELECT name="grootte" onChange="SetCookie(nameOfCookie, this.value, exp); doRefresh();"> <OPTION SELECTED value="2">--Color--
                     <OPTION value="1">Red
                     <OPTION value="2">Red2
                     <OPTION value="3">Blue
                     <OPTION value="4">Blue2
                     <OPTION value="5">Black
                     <OPTION value="6">Black2
                     <OPTION value="7">Green
                     <OPTION value="8">Green2
                     <OPTION value="9">Purple
                     <OPTION value="10">Purple2
                     <OPTION value="11">Orange
                     <OPTION value="12">Orange2
                     <OPTION value="13">Pink
                     </SELECT>

                     </FORM>
                     
                     
                     </p>
                  </li>
               </ul>
               </li>
                     

            </ul>
         </div>
         commented out to give the other columns more room -->
<!--End rightside-->
As suggested in the default text for the right column (the one you want to get rid of), you should really try the Web Developer Extension - it's the perfect tool to find out about such issues.
As your question is not related to the theme directly, you should have started a new thread on the regular themes support board. If my answer doesn't fully cover your issues, please do as suggested and start a new thread.
Logged

mcasatti

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #21 on: August 15, 2007, 08:10:20 pm »

Thanks for your help.
Modifying the css solves the problem. I have to change this code too:

Code: [Select]
#content {
margin:0px 20px 0px 180px;
min-width: 460px;
}

for the content to expand to the right.

I'm sorry about posting in this thread, I think the people here understands better the theme I'm using. Won't happen again.
Sorry about my english too, is not my native language.

See you guys and thanks again.
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #22 on: September 22, 2007, 08:14:26 am »

I am having a problem with the next file button not showing on the preview screen unless you use that scroll bar to move to it.  What can I do to resolve the space issue on the preview window?  I tried changing line 343 from 420 to something else, but that doesn't seem to change the preview window.

Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #23 on: September 22, 2007, 08:27:09 am »

Well, I figured it out to work it in FF, edit line 265 in wp_style.css, changed margin to 180..
Now what do I edit to resolve the issue in IE?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
SPLIT: Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #24 on: October 31, 2007, 07:49:56 am »

An unrelated reply by 34drvr to this thread has been split and moved into the sub-board cpg1.4 miscellaneous.

http://forum.coppermine-gallery.net/index.php?topic=47978.0
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #25 on: December 12, 2007, 11:52:51 am »

I'm currently using this theme and I really like it and I don't want to change, but I'm having a problem with a scroller folou has created for me, basically it doesn't work in IE6 but it works in FF, I have a test theme and it works fine, is there a way of making this work with this theme

http://cdcoverhideout.com/gallery/test.php
« Last Edit: December 12, 2007, 04:46:20 pm by will »
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #26 on: December 13, 2007, 02:21:28 pm »

anybody ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #27 on: December 14, 2007, 08:38:01 am »

Not related to this thread, but your customization. Impossible to tell without knowing your customization. Your question doesn't belong here, but into a separate thread, where you should post the needed details (the customization code you have applied). Post a reference to this thread in your own one.
There is no guarantee that people will respond to your question.
Logged

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #28 on: August 22, 2008, 01:38:49 pm »

Can someone tell me how to set a default color in this theme?!

Thanks.
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #29 on: August 22, 2008, 03:17:54 pm »

Edit the template.html file as below.

Find and remove:
Code: [Select]
<script type="text/javascript" src="themes/andreas09/changeStyle.js"></script>
Find and remove:
Code: [Select]
               <li><h2>Theme Colors</h2>
               <ul>
                  <li>
                     <p>
                     <FORM name="guideform">
                     <SELECT name="grootte" onChange="SetCookie(nameOfCookie, this.value, exp); doRefresh();"> <OPTION SELECTED value="2">--Color--
                     <OPTION value="1">Red
                     <OPTION value="2">Red2
                     <OPTION value="3">Blue
                     <OPTION value="4">Blue2
                     <OPTION value="5">Black
                     <OPTION value="6">Black2
                     <OPTION value="7">Green
                     <OPTION value="8">Green2
                     <OPTION value="9">Purple
                     <OPTION value="10">Purple2
                     <OPTION value="11">Orange
                     <OPTION value="12">Orange2
                     <OPTION value="13">Pink
                     </SELECT>
                     </FORM>
                     
                     
                     </p>
                  </li>
               </ul>
               </li>

After:
Code: [Select]
<link rel="stylesheet" href="themes/andreas09/wp_style.css" type="text/css" />
Add:
Code: [Select]
<link rel="stylesheet" href="themes/andreas09/black.css" type="text/css" />
Change the black.css to what ever color you chose.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: Andreas09 - Theme for cpg1.4.x and WordPress 2.0 + Widgets
« Reply #30 on: August 24, 2008, 01:09:11 pm »

Thank you Gizmo. Your help is very appreciated.

Cheers.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.022 seconds with 20 queries.