Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Navigation.ss & Footer.ss not loading when moving from Windows to UNIX

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

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

Page: 1
Go to End
Author Topic: 789 Views
  • jmstark
    Avatar
    Community Member
    6 Posts

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

    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)

  • jmstark
    Avatar
    Community Member
    6 Posts

    Re: Navigation.ss & Footer.ss not loading when moving from Windows to UNIX Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Navigation.ss & Footer.ss not loading when moving from Windows to UNIX Link to this post

    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.

  • jmstark
    Avatar
    Community Member
    6 Posts

    Re: Navigation.ss & Footer.ss not loading when moving from Windows to UNIX Link to this post

    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.

  • jmstark
    Avatar
    Community Member
    6 Posts

    Re: Navigation.ss & Footer.ss not loading when moving from Windows to UNIX Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Navigation.ss & Footer.ss not loading when moving from Windows to UNIX Link to this post

    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?

  • jmstark
    Avatar
    Community Member
    6 Posts

    Re: Navigation.ss & Footer.ss not loading when moving from Windows to UNIX Link to this post

    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.

  • jmstark
    Avatar
    Community Member
    6 Posts

    Re: Navigation.ss & Footer.ss not loading when moving from Windows to UNIX Link to this post

    Will,

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

    Thanks,

    Justin.

    789 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.