[THEME]Modifyed theme - "klaws" [THEME]Modifyed theme - "klaws"
 

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

[THEME]Modifyed theme - "klaws"

Started by klaws, December 30, 2003, 12:47:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

klaws

Hi.

Took the Galio Theme and modyfied it...

http://home.fjas.dk/gallery

Thanks for the original :D

-Klaws

MaThIbUs

It looks cool. Light, calm colours etc etc.

Are you planning to share it to the community or do you want to keep it exclusive :mrgreen:?

klaws

Yup of course..

where to put the zip file? :)

MaThIbUs

erm.. on your website for example. or upload it to a free upload site e.g. //www.uploadit.org.

and if GauGau gives you the permission, you can mail it to him so that he can put it available for download on this site :)

klaws

Yir..

well thought you ment in the download section of sourceforge....

you can download it here:

http://home.fjas.dk/Upload/cpg1.2.0theme_klaws.zip

Klavs :)

Joachim Müller

thanks for sharing - I put it into the download section, you can get it here.
I had to apply some modifications, refer to New theme: comicBook; some html elements were missing like <body> etc.
I also replaced the language selection bit at the bottom (doesn't work this way - you can't have two question marks in an url...)
Your theme is also integrated into the demo...

Cheers

GauGau

klaws

Thanks a lot GauGau..

The language flags at the bottom shouldn't be there.. forgot to remove them after testing :)

Thanks for marking up some of the code..

Happy Hangovers!

-Klaws

lasa

Wow, it looks good!. It looks a little bit like the default theme of Coppermine 1.0 :)
Good work  8)

tommytomato

Hi people i'm working of the klaws theme, this file came with it's own theme template and png files, very cool.

Question how does one import there theme into the gallery.

here is the html template file, but i notice that the theme.php is in php it self, so how do i convert it over from template.html to theme.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
{META}
<link rel="stylesheet" href="themes/klaws/style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="100%" height="20" background="test/bg_cat.gif"><div align="center">{ADMIN_MENU}</div></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr height="60">
    <td width="100%" align=center bgcolor="#B9D9F2" background="test/bg_cat2.gif"><h1>{GAL_NAME} :: {GAL_DESCRIPTION}</h1>
    </td>
  </tr>
  <tr>
    <td width="100%" height="20" background="test/bg_cat.gif"><div align="center">{MAIN_MENU}</div></td>
  </tr>
</table>
<br />
<center>
<table width="80%" height="80%" border="0" cellpadding="0" cellspacing="0">
  <tr>
          <td valign="top" width="100%">{GALLERY}
          </td>
        </tr>
      </table></td>
  </tr>
</table>
</center>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr height="20">
    <td width="16%" align="left" valign="center" background="test/bg_cat.gif"><a href="#top"><img src="themes/klaws/images/top_of_page.gif" vspace="5" border="0" alt="Top of Page"></a></td>
    <td width="84%" align="right" valign="center" background="test/bg_cat.gif">
    <!-- // to enable the theme selection for cpg1.3 remove this line
    {LANGUAGE_SELECT_FLAGS}{LANGUAGE_SELECT_LIST}{THEME_SELECT_LIST}
    // to enable the theme selection for cpg1.3 remove this line -->
    </td>
  </tr>
</table>
</body>
</html>


cheers tommytomato

Joachim Müller

Quote from: "tommytomato"Hi people i'm working of the klaws theme, this file came with it's own theme template and png files, very cool.
all themes come with their own template.html - they wouldn't work if they didn't have at least a file called "theme.php" and "template.html"

Quote from: "tommytomato"Question how does one import there theme into the gallery.
Just unzip the package and put the folder that's in it into your themes folder. Upload the whole enchilada to your webspace with your ftp program and take a look at it in your browser by adding ?theme=theme_name to the url of your gallery, like this: http://yoursite.com/coppermine/?theme=klaws
To find out more, take a look at the existing structure in /themes/...

Quote from: "tommytomato"here is the html template file, but i notice that the theme.php is in php it self, so how do i convert it over from template.html to theme.php
I don't understand what you're trying to say. Nothing to convert, both files are needed the way they are.

GauGau

tommytomato

Quotehere is the html template file, but i notice that the theme.php is in php it self, so how do i convert it over from template.html to theme.php

what i meant was, when i unpacked the file to a new folder, it has the file you said but all so has a template.html file there as well.

I've made a few changes to the template file and i wish to test it out.
but i'm unsure how to load the template in does it have to be convert to a theme.php file ?

I am alittle lost.
this is my galley
http://www.rockinghamgateway.com/gallery/index.php

and here is the template i'm talking about with my changes

http://www.rockinghamgateway.com/downloads/template.html

as you can see, i'm trying to make the gallery match my site in colours
my site is http://www.rockinghamgateway.com/
we use the Helius theme.

and i'm also trying to find the links so i can add a home link to our main site so people can find there way back to the main site..
Album list Last uploads Last comments Most viewed Top rated My Favorites Search Login
I'm unsure what file i should be looking at..

TT  8)

Joachim Müller

again: no converting! Both theme.php and template.html are needed. Just imagine their names was all_stuff_that_is_coded_in_php.php (theme.php) and all_stuff_coded_in_plain_html.html (template.html)- Both are needed for different things: template.html controls the layout of the different components of the gallery (menus, main gallery block), theme.php controls they way the individual bits of the coppermine blocks are set up. No importing whatsoever, just edit template.html and upload it. Play around with it. You'll notice how it works. Really!

As for the home button: please search the board, this has been described at lot, and make sure you have read the faq.

GauGau