PDA

View Full Version : Same Wordpress Themes, VERY Different Results


tiempo76
06-10-2008, 05:33 PM
Hi There,

I've successfully integrated the calendar into this site: http://www.bingaswingas.com. I am using the mouseover functions, pop-ups, and I even have a list page here: http://www.bingaswingas.com/events-specials/.

On another site (http://www.centerstudioandspa.com) I am using the same wordpress theme and have, I believe, utilized all of the same back end settings as I have used for the successful site mentioned above. Yet this site is not working out: from a calendar with strange formatting to a wide list page to no rollover or pop-up reliability--the situation is rough.

If anyone would like to share insights on what I may have set-up incorrectly, they would be appreciated.

Best regards,
Aaron

ve9gra
06-10-2008, 08:08 PM
Make sure that you sign on to your Setup Manager from your client's URL instead of from your master hosting URL.

Alternatively, you can manually edit the $urlPath in /calendar/calendar.php. If you check in the generated code of your page, the css is using "/centerstudioandspa" in the url, when it should start with "/calendar" (for your installation).

tiempo76
06-12-2008, 12:05 PM
Hey Gervais, thanks for looking that over. I looked at my source code and I do see what you're saying re: my css. I'll spend more time diving in later today/tomorrow, but for the moment I am unable to determine how to change that file on a wordpress site. The code you are referring to is not the css that defines how the "theme" looks.

I'll post back once I get further with this.

ve9gra
06-12-2008, 01:34 PM
Actually, it is. The calendar uses the variable $urlPath to make the link to your CSS file in the theme you've chosen. So, since your $urlPath is invalid when you're looking at www.centerstudioandspa.com, there won't be any CSS applied. And your overLib will also not work as the .js file it's referring to doesn't exist.

If you sign in to your Setup Manager from www.centerstudioandspa.com/calendar/setup you should receive a warning to the effect that your paths are wrong. If your calendar.php file is writable by the user that runs your web server (basically have the permissions set to 0666), then it will automatically update the paths.

This situation usually occurs when a designer creates their client's website under their own domain with a subfolder, and then try to use the calendar from their client's domain, or that an installation was moved from a temporary subfolder to the root when going live.