coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: harryo22 on November 16, 2007, 02:22:03 AM

Title: Set a new default theme but not displaying correctly
Post by: harryo22 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.
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 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.
Title: Re: Set a new default theme but not displaying correctly
Post by: Joachim Müller 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.
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 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?
Title: Re: Set a new default theme but not displaying correctly
Post by: Joachim Müller 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.
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 on November 20, 2007, 01:28:42 AM
(//)
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 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.
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 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.
Title: Re: Set a new default theme but not displaying correctly
Post by: Joachim Müller 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.
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 on November 20, 2007, 12:44:28 PM
Here is the result:
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 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
Title: Re: Set a new default theme but not displaying correctly
Post by: harryo22 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.