Technology Tools for Ministry

Community

Web-Empowered Church Developer's Community
All Categories > Developers > Templates > Default templates - no graphics?
Total Posts: 5 - Pages (1): [1]
Author: Peter Schott
Posted: Mar 17 2007 - 06:39 AM
Subject: Default templates - no graphics?
I apologize for posting this on the dev and user site - not sure which is more appropriate for this.

I installed a local Apache 2.2 server on Windows XP - nothing fancy, but I wanted to play around with various CMS's. I installed and configured the WEC Starter package - took a while and disabling RealURL and apparently turning off compression as well. However, now that it's installed, I don't get any graphics in my front end (except for the buttons). I've switched the built-in templates, but nothing changes except the text layout. Any ideas what I might be doing wrong?

-Peter Schott
Author: Peter Schott
Posted: Mar 17 2007 - 06:43 AM
Subject: re: Default templates - no graphics?
OK - so I missed a config. I guess for each template, I'll have to disable the RealURL settings. I just did that and graphics started showing up again. I'll remember to do this for my local/Win box in the future when I change templates.

Apologies for the trouble and hope this helps someone else.

-Pete
Author: David Lanier
Posted: Mar 17 2007 - 11:26 AM
Subject: re: Default templates - no graphics?
Could you check something? If you go back to your earlier configuration, before you disabled the realurl settings, view the source of a rendered page that isn't displaying graphics. Right near the top there should be a "base" tag. <base href="http://example.com/path/" /> That path should be the path to your site root. In other words, if you go directly to that address, you should see your home page.

If that path is wrong, there is a different configuration you should change. You probably need to change the constant: constants.wec.siteURL. An easy way to do that is to use the Template module, click on the home page, and select the constant editor. From the list of categories, select constants.wec. Then the siteURL setting is just a couple boxes down.

If you don't mind, could you post another message with your findings from this? Thanks!
Author: Peter Schott
Posted: Mar 18 2007 - 03:24 PM
Subject: re: re: Default templates - no graphics?
That could have been it as well, but I needed to disable realurl because I'm on a Windows box. I know that I changed (corrected) the root as well, but don't remember if I did that simultaneously or after disabling the RealURL. I know I still had to modify my template because I was getting RealURL warnings/errors and things weren't working correctly until I did that.

-Pete
user picture Author: Mark Stephenson
Posted: Mar 18 2007 - 03:41 PM
Subject: re: Default templates - no graphics?
Pete,

If you wrote the .htaccess file from the WEC Starter package and set the site URL correctly, it seems like it should work even on a Windows box without modifying templates unless the Apache you installed does not offer the features that TYPO3 needs.

An easy way to get Apache and MySQL installed on a PC for local testing is to use the WEC-TYPO3 Server:

http://webempoweredchurch.com/gettingstarted/installing/wec_typo3_server/

In Him,
Mark
Total Posts: 5 - Pages (1): [1]
You must login to post a message to this conference.