coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Roepertje on February 07, 2006, 09:44:17 PM

Title: PowerBookG4
Post by: Roepertje on February 07, 2006, 09:44:17 PM
I like PowerBookG4 very much.
I only have a problem with adding a custom link.
The template isn't 100% but 110% width

How to make it 100 % with the custom link?
Title: Re: PowerBookG4
Post by: Joachim Müller on February 07, 2006, 11:39:27 PM
why don't you post a link to your site for a start?
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 12:16:43 AM
Quote from: GauGau on February 07, 2006, 11:39:27 PM
why don't you post a link to your site for a start?

http://singles.si.funpic.org/album (http://singles.si.funpic.org/album)

I added the link Activiteitenbord (on your right side after search)
The original place was on the left side, but also the scrollbar appears.
You can see a scrollbar at the bottom.

How to get rid of the scrollbar at the bottom.
Without the Custom link name it wasn't there
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 12:27:14 AM
http://singles.si.funpic.org/album

( you have to copy and paste the link into your browser to see the page because extern linking is forbidden )
Title: Re: PowerBookG4
Post by: Joachim Müller on February 08, 2006, 12:33:31 AM
ah OK, an internet page that can't be accessed by a link ::). You got the concept of the www wrong imo ;). Hotlink protection is accomplished in another way...

The content of your page (your navigation) is too wide for 1024 x 768 or less. Only workarounds: remove the additinal navigation entry, add a <br> or reduce width by reducing the font size of the navigation. This is basic HTML, no particular coppermine thing - I suggest reading basic HTML tutorials first.
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 12:47:11 AM
Well, I think I don't need <br> to fit in 1024 x 768 because there is much space after Activiteitenbord
Title: Re: PowerBookG4
Post by: Joachim Müller on February 08, 2006, 01:05:54 AM
no, there is no space at all, attached are screenshots using a screen resolution of 1024 x 768
Using English or Dutch, the space is enough, and there theme fits on the screen (making your complaint invalid). Using German, the page is broken.
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 01:18:19 AM
 ???
I have the Dutch version.
Why is it broken with 1024 x 768
Title: Re: PowerBookG4
Post by: Joachim Müller on February 08, 2006, 01:20:44 AM
it isn't for me using dutch and Firefox 1.5.0.1
Post a screenshot how things look for you.
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 01:37:21 AM
This is how it looks with internet explorer
Title: Re: PowerBookG4
Post by: Joachim Müller on February 08, 2006, 01:43:15 AM
surprisingly, your (silly) hotlink protection won't let us see your screenshot if you host it on your page ::). Attach the screenshot to your posting, using "additional options" when composing your message.
Disable your hotlink protection, it's the most silly one I've ever come across.
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 01:50:26 AM
Well, I can't turn hotlinkprotection off.
I'm also not happy with this protection either.

You can see that Internet Explorer handles it different than firefox.
Can somebody please help me with the code that it looks the same in Internet Explorer?

Edit: I've uploaded it now to you.
Title: Re: PowerBookG4
Post by: Joachim Müller on February 08, 2006, 09:06:48 AM
remove your custom link, what else could I possibly advice?
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 09:25:17 AM
Quote from: GauGau on February 08, 2006, 09:06:48 AM
remove your custom link, what else could I possibly advice?

That's the easyest way to do  ;D , but maybe there is somebody with a better solution.
I want to use that option in my Coppermine-gallery.
Title: Re: PowerBookG4
Post by: Roepertje on February 08, 2006, 03:14:54 PM
I finally found out what causes this:

Find around line 40 in your template.html this code:

  <td style="width:100%;text-align:center;background-image:url('themes/powerbookg4/images/{LANG_DIR}/table_r1_mid.jpg');">{GAL_NAME}</td> 

and change it to

  <td style="width:89%;text-align:center;background-image:url('themes/powerbookg4/images/{LANG_DIR}/table_r1_mid.jpg');">{GAL_NAME}</td> 

so width must be 89% or less.