Set a new default theme but not displaying correctly Set a new default theme but not displaying correctly
 

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]

Main Menu

Set a new default theme but not displaying correctly

Started by harryo22, November 16, 2007, 02:22:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

harryo22

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.

harryo22

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.

Joachim Müller

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

harryo22

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?

Joachim Müller

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.

harryo22


harryo22

Thanks GauGau,

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

harryo22

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.

Joachim Müller

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.

harryo22


harryo22

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

Thank you so much

harryo22

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.