Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Navigation.ss & Footer.ss not loading when moving from Windows to UNIX


Go to End


8 Posts   1035 Views

Avatar
jmstark

Community Member, 6 Posts

30 November 2010 at 9:10pm

Hi all,

I have started building a template and have the basics loaded within a Windows environment using the standard installation process for Silverstripe.

The basic template works and although it is a work in progress, it is starting to take shape.

unfortunately, when I moved the theme to a UNIX platform (dreamhost) the Navigation and Footer files are no longer loaded. I do have the basic layout working but the .ss files are not loaded.

Does anyone have any experience with issue? I have looked through _config.php, the Layout files and the Page.ss files but I cannot see what the issue is.

Any pointers would be greatly appreciated.

Cheers,

Justin.
(New to Silverstripe but impressed with the ease of use)

Avatar
jmstark

Community Member, 6 Posts

30 November 2010 at 9:29pm

I suspect it is also a bigger problem as I have tried a number of the themes from Silverstripe.org and most of them are none-functioning.

LayoftheLand, Andreas08 are two I have tried to no avail.

Cheers,

Justin.

Avatar
Willr

Forum Moderator, 5523 Posts

30 November 2010 at 9:53pm

Could be a case issue (just guessing since I don't do much windows work these days) Layoftheland vs layoftheland. Make sure your theme names are lowercase, however your 'Includes' and 'Layout' folders need capitals.

Avatar
jmstark

Community Member, 6 Posts

30 November 2010 at 10:02pm

Hi,

I tried that option and even checked each of the entries. To make sure it was the same, I checked the Blackcandy theme too and it had the same structure and format.

thanks for the help.

Justin.

Avatar
jmstark

Community Member, 6 Posts

1 December 2010 at 9:36am

Still no luck!

Here is some of the code...

<body>
<div id="Main">

<div id="Header">
<div id="HeaderLeft">
<img src="/images/chapterlogo.jpg" border="0" WIDTH="120" HEIGHT="120">
</div>

<div id="HeaderMiddle">
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2 align="center"> TITLE</h2>
</div>

<div id="HeaderRight">
<img width="120" height="120" src="/images/fmvlogo2.jpg" ALIGN="TOP" border="0">
</div>
</div>

<div id="Navigation">
<% include Navigation %>
</div>

<div class="clear"></div>

<div id="SideBarFinder">
<p align="center"> Lodge Finder </p>
</div>

<div id="SideBarBottom">
<p align="center"> Upcoming Events </p>
</div>

<div id="SideBarAbsBottom">
<p align="center"> Login Screen </p>
</div>

Again, I have checked (to my knowledge) capitalizations and ... what ever else I can see.

What is surprising me is that when I download a theme from this site, copy it up, untar it (tar -xvf), many of them do not work.

My host provider is DREAMHOST if that helps.

Thanks again,

Justin.

Avatar
Willr

Forum Moderator, 5523 Posts

1 December 2010 at 10:50am

Do you have a link to the actual site to check out. Is the html loading but the CSS not? Is the theme being set using SSViewer::set_theme() or via the backend?

Avatar
jmstark

Community Member, 6 Posts

1 December 2010 at 3:49pm

Hi,

I have tried both versions of setting the theme in the _config.php files as well as in the backend. At present, it is set in the _config file as well as being default in the admin area.

The following is the URL for the site:
http://www.grandchaptervic.net.au/silverstripe/

The theme is under the /themes/tutorial directory.

Will, thanks for your help. It is greatly appreciated as I am getting to learn by experimentation too!

Cheers,

Justin.

Avatar
jmstark

Community Member, 6 Posts

8 December 2010 at 1:20am

Will,

I hate to ask, but do you have any hints?

Thanks,

Justin.