Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linking php template...
#4
(2014-01-07, 17:34:58)blu11 Wrote: Thanks Timbow, but I'm a little bit confused,
So am I
Quote:if I want to connect only one or two pages in GS, because only those pages I want to update sometime, how do I connect these pages to the site in php?
I have never done that, but I guess you could have an ordinary static site with GS installed in a sub folder and just put links to the GS pages in the site nav menu without using the GS menu. You cannot easily do it the other way (adding static pages to the GS menu).
Quote:Others questions, I created a page in GS and I called "paul" but I can not find it in the Theme folder, where it is? Could you tell me what to upload in the site hierarchy? What I see in my local site? perhaps home.php?
The page as such does not exist, it is generated dynamically by php when a page view is requested. Data from the xml files is inserted into the template.php and returned to a browser as html. So if you create a page called 'paul', make sure it has the slug 'paul', and the page content will be stored in paul.xml. Turn on 'fancy urls' and there will seem to be a page called paul.htm which you could link to in your local site by www.yoursite.com/folder/paul/
Is that what you wanted to do?
Reply


Messages In This Thread
Linking php template... - by blu11 - 2014-01-07, 03:03:36
RE: Linking php template... - by Timbow - 2014-01-07, 11:17:37
RE: Linking php template... - by blu11 - 2014-01-07, 17:34:58
RE: Linking php template... - by Timbow - 2014-01-07, 19:59:59
RE: Linking php template... - by shawn_a - 2014-01-08, 00:06:25
RE: Linking php template... - by blu11 - 2014-01-08, 00:28:07
RE: Linking php template... - by Timbow - 2014-01-08, 01:08:24
RE: Linking php template... - by datiswous - 2014-01-09, 03:22:10
RE: Linking php template... - by blu11 - 2014-01-09, 20:02:56
RE: Linking php template... - by datiswous - 2014-01-10, 07:25:17



Users browsing this thread: 1 Guest(s)