Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question About Site Design
#1
I have a question about site design.

I'm building a site and I want to use GetSimple to manage the backend. The mock can be seen at
http://www.splitrockresort.com/mock1/

The thing is: as you go to different sections of the site.. the header is supposed to change:
http://www.splitrockresort.com/mock1/waterpark.html

I would simply like to design the site and pull the page content from GetSimple.

I have my directory setup as

www.mysite.com/CMS (CMS is where the getsimple files are stored)

My site will be located in the main directory

www.mysite.com/index.php


How can I pull content from the created pages into my website design without having to use the themes?
Reply
#2
After posting... my thought is that I could create each section as a new template and assign the different sections to a template but I'd like to use my own built in navigation...
Reply
#3
Create a separate header.php file and then use PHP INCLUDE to include the header.php file into your template.php file that you use for your site pages.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply
#4
I've added the info into my main gallery...
Reply
#5
internet54,
I can definitely do that.. but how do I change the header based on which section (waterpark, golf, etc) a guest is in?

Oh..and thanks for the speedy reply.
Reply
#6
SR Wrote:internet54,
I can definitely do that.. but how do I change the header based on which section (waterpark, golf, etc) a guest is in?

Oh..and thanks for the speedy reply.

I think you can write some little code with analysing slug variable.

something like this
Code:
if (return_page_slug()=='firstpage') {
   // first header
}

if (return_page_slug()=='secondpage') {
   // second header
}

You can see http://get-simple.info/forum/viewtopic.p...1868#p1868
Reply
#7
Thanks... I'll give it a shot today
Reply




Users browsing this thread: 1 Guest(s)