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]   Go Down

Author Topic: Set a new default theme but not displaying correctly  (Read 3655 times)

0 Members and 1 Guest are viewing this topic.

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Set a new default theme but not displaying correctly
« on: November 16, 2007, 02:22:03 am »

I am building a website and I want to use Coppermine, however, I am having some issues.

I followed the steps in http://forum.coppermine-gallery.net/index.php?topic=47068.0 (Set a new default theme).  But when I look at photo gallery it does not display correctly.  There is no theme...everything is left justified with no format.

As suggested in the topic, I tried to access the admin.php (http://localhost/coppermine/admin.php?theme=rin) but I got a "You don't have permission to access this page." error message.

Since I have not uploaded the website, I know it is harder to diagnose the issue.



Any suggestions would be appreciated.
« Last Edit: November 20, 2007, 03:17:12 pm by GauGau »
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #1 on: November 16, 2007, 05:19:51 am »

When I log in to the photo gallery everything looks fine only when I try to access the page through the link on my index page does it look like it does not have any formatting.  Also, if I access the page from template.html it does not show the formatting. 

I renamed the rainy_day folder and changed all of the references in the theme.php, template.html, and styles.css from themes/rainy_day to themes/drizzle.

I hope this is an easy fix.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Set a new default theme but not displaying correctly
« Reply #2 on: November 16, 2007, 07:56:02 am »

Post a link if you can. Post screenshots if you can't. I have no idea what you're talking about.
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #3 on: November 16, 2007, 12:29:52 pm »

I wanted to post a screenshot but I do not understand how.  what do I do when the "(http://)" tags come up?  do i put a file name in there?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Set a new default theme but not displaying correctly
« Reply #4 on: November 16, 2007, 04:25:01 pm »

Click on "Additional options" when composing your message and use the "Attach" dialog there to upload your screenshot. Doesn't get easier than that. This forum has got a menu item labelled "help" that you might try if you have issues using it.
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #5 on: November 20, 2007, 01:28:42 am »

(http://)
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #6 on: November 20, 2007, 01:30:22 am »

Thanks GauGau,

Hopefully you will be able to view the attachment.  And you are right...it doesn't get any easier than that.
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #7 on: November 20, 2007, 03:57:42 am »

I read post http://forum.coppermine-gallery.net/index.php?topic=48390.0 and that person seemed to be having the same issues I am having.  I followed those steps and I checked my to see if my stylesheet was empty but it was not.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Set a new default theme but not displaying correctly
« Reply #8 on: November 20, 2007, 07:51:54 am »

Do a right-click on a blank part of the screen, choose "view source". Go through the source, find the line that links to your stylesheet (something like <link rel="stylesheet" href="themes/yourtheme/style.css" type="text/css" />), highlight the path to your stylesheet (in my example themes/yourtheme/style.css), copy the selection and paste it into the address bar of your browser after the domain and folder (giving your URL and the above example something like http://localhost/newCCFC/images/themes/yourtheme/style.css) and hit enter. Post the result (i.e. if you were able to see your stylesheet in your browser).
Please note that self-hosting is not recommended at all, especially if you have no idea what you're doing. Avoid capitalization in folder names and URLs.
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #9 on: November 20, 2007, 12:44:28 pm »

Here is the result:
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #10 on: November 20, 2007, 12:47:51 pm »

I am not self-hosting...I am XAMPP as my development environment, so that's why it says localhost.

Thank you so much
Logged

harryo22

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Set a new default theme but not displaying correctly
« Reply #11 on: November 20, 2007, 01:04:30 pm »

I feel so stupid... ;D

The reason why the theme was not displaying correctly was that I had it in a div.  I will now use a custom header and footer instead of the div.

Thanks so much for your help.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.