Site is http://www.radimage.com
I have been abandoned by my developer and am a mere designer! My Radia pages need a different footer to appear than the rest of the site. I found the file he used for the footer. I also see that all the page types match the names of these .ss files (Page.ss, SearchForm.ss, etc.) I saw this code in the Page.ss file:
<% include footer %>
I made a copy of the footer.ss, renamed it RadiaFooter.ss, Made a copy of the page.ss, named it RadiaPage.ss that calls up the new footer and uploaded it. My thinking was that I could then see the new"Radia Page" in the page type drop down under the behavior tab. Clearly I am a dreamweaver hack in way over my head!!! How do you create and then get a new page type to show up in the behavior tab? Let me know if I need to copy and paste or attach code here.
Thanks so much for trying to help me. Unfortunately, it didn't work. I saw that our home page had the EXACT code you typed except for that page type name so I know your advice is sound. I copied and pasted, edited the name to "RadiaPage" and uploaded, then flushed the cache. Still not showing up in that behavior tab. I see all the other page types there so I must be doing something seriously wrong.
I'm close to having to fork out mega bucks to the SS developers at this point so it's worth my flailing around a bit before I admit defeat. :o)
Take it back - IT WORKED!! You are my hero (saved me from hiring the guys down under for big $$)
Note to the nubies - it didn't at first until I found/did this :
Visiting db/build runs a script that will check the database schema and update it as necessary. Putting ?flush=1 on the end makes sure that nothing thatâ€™s linked to the old database structure will be carried over. If things arenâ€™t saving, pages arenâ€™t loading, or other random things arenâ€™t working itâ€™s possible that the database hasnâ€™t been updated to handle the new code. Here are some specifics situations:
Youâ€™ve created a new page type / other data object type
Youâ€™ve change the type of one of your database fields
Youâ€™ve published a new copy of your site
Youâ€™ve upgraded your version of SilverStripe
I didn't know there were different "flush" procedures so that fixed it. YAY!
I have created the php file in the correct location. However, when I attempt to flush the database with www.mysite.com/dev/build?flush=1 I get a page not found error. Doesn't make any difference whether I am logged into the CMS or not.
I do not have a localhost installation of the web site. I am working remotely.