New Theme: Kubrick - Page 4 New Theme: Kubrick - Page 4
 

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

Main Menu

New Theme: Kubrick

Started by pnear, January 10, 2005, 04:37:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stilgar

hi pete !

Thanks for the theme anyway  :D I know what you mean, time constraints... And I'm not even a dad. I changed my WordPress Kubrick theme a while ago, but I just can't seem to find the time to update my matching Coppermine theme (that is based on yours).

c'ya

henfri

Hello!
First of all I want to thank you for this theme.
There's just one slight problem, which appears when viewing this site: http://www-users.rwth-aachen.de/hendrik.friedel/coppermine/displayimage.php?album=27&pos=9 (displayimage.php) with Firefox. (Hard for me to describe. Something seems to be to wide)
Strangely everything is Ok, after clicking on details, which just calls javascript:;

BTW: It happens with the coppermine online demo aswell: http://coppermine-gallery.net/demo/cpg13x/displayimage.php?album=27&pos=0

Any Ideas?

Regards,

Hendrik


dub_doctor

#63
Not sure if this is the place to ask, but there seems to be an html validation problem with the Coppermine Kubrick theme as found in this thread. This theme does not correctly set the values for {lang_dir} and {charset}. Thus all pages will have the following code:

<html dir="{lang_dir}">
<meta http-equiv="content-type" content="text/html; charset={charset}" />

Instead of:
<html dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
for example
(2bornot2b gets it right).

I don't know much about php and css. Is this easy to fix other than just manually modifying the template.html file (which will make it difficult to change charset)?

Nibbler

Placeholder tags in template.html should be in upper case.

dub_doctor

Thanks. Changing to uppercase worked.

Now to fix all the other validation errors!

henfri

Hi,
would you kindly post the corrected template.html?

Thanks a lot!

Hendrik

dub_doctor

#67
Quote from: henfri on September 21, 2005, 03:15:46 PM
Hi,
would you kindly post the corrected template.html?

Thanks a lot!

Hendrik

Sorry. I've made numerous other changes to template.html and I'd rather not post it.

All I did to fix this problem was make these changes in template.html
<html dir="{lang_dir}">  to  <html dir="{LANG_DIR}">
and
<meta http-equiv="content-type" content="text/html; charset={charset}" /> to <meta http-equiv="content-type" content="text/html; charset={CHARSET}" />

henfri

Hi,
yes, ok. Thats how I understood it. Just wanted to make sure.

Thanks a lot,

Hendrik

OutKa5t

Hi, great theme - well done. This kind of clean design is what CSS is good for.

I installed the theme and immediately wanted a link to the 'Home' from the menu file so after seeing others have wanted this too I thought I would post my code. Very simple to those that are familiar with CPG themes but an easy fix for those that aren't.

Quote from: MEANMUGG on April 13, 2005, 09:19:06 AM
1. How do i make a Home link (in menu) or make the top header pic (blue box) a LINK that will link back to my homepage witch is just plain HTML/..??

Open up theme.php in a text editor and search for <!-- BEGIN my_gallery -->. Above this line add in the following lines

<!-- BEGIN home -->
                                        <li>
                                                <a href="/index.php" title="Home">Home</a>
                                        </li>
<!-- END home -->


so that your code looks like this




$template_main_menu1 = <<<EOT
                        <li>
                                <h2>Main Menu</h2>
                                <ul>
<!-- BEGIN home -->
                                        <li>
                                                <a href="/index.php" title="Home">Home</a>
                                        </li>
<!-- END home -->
<!-- BEGIN my_gallery -->
                                        <li>
                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
                                        </li>
<!-- END my_gallery -->

DeadKenny

Quote from: betan on May 13, 2005, 02:56:25 AM
The real Kubrick theme for wordpress, automatically resize your posted images in wordpress if it is bigger than the main table. can someone point me to that direction so we can code the kurbick theme in cpg the same thing?
Though wordpress does do that it's really ugly as it's just a browser resize.

I'm afraid with the Kubrick theme, either in WP or Coppermine, you've got to have your images resized properly to fit.

It's the one drawback with the theme. It's really cool, but it's just too thin for photo use. Does anyone know of some themes derived from Kubrick that are wider (and available for both WP and Coppermine)?

Prim3r

OutKa5t, thank you for that code, i was just working on that :)

I have a modified by me version of Kubrick on my blog, with a custom code that put a nice menu in the header like this :

http://www.prim3r.nextdesigns.net/iBlog/

i was trying to copy the code of that "navigation on header" , on coppermine, but since coppermine dont have a header.php , and i dont fully undestand php to start messing with it...i just used your way :)

if someone that want to had that menu on the coppermine header, i would apreciate it :)

For now...OutKa5t way will do :D

Thanks again.

hmp

Hi
I want to change places with "Category" and "Last additions" so that "Last additions" is on the top of the page.
What to do?  ???

Thanks!
/hmp

Joachim Müller


henfri

Hi,
there's two things, I want to change with the Kubrick Theme:
1) I'd like to have the Caption and Title of the Image, which is as a default below the actual Image, moved above the Image, and vice versa.
If I just switch the postions in theme.php, instead of the Title of the Image, I get {Title} displayed. (Same for caption). Equally the Link to the Slideshow doesn't work when it is placed below the Image.
2) I'd like to have a Link to the Slideshow of the current Gallery at the Navigation bar. But here also the Link doesen't work.

I couldn't find any further Documantation on writing Themes, so I couldn't figure out, what the Problem is.

Any Ideas?

Thanks a lot!

Hendrik

unbeliever

can someone tell me how i can change the font color of categorys on the mainpage ?!?
thx

joerod

anyone have a kubrick theme for 1.4?



Joachim Müller

@joerod: stop misbehaving, you already posted on the cpg1.4.x support board, there's no use to post on the cpg1.3.x board. To give you some time to review your attitude, you're banned from posting for 3 days. Don't behave like a moron.