|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Template System Page Links
I'm having a hard time understanding how new pages can be linked with the template system tutorial.
I got the concept that under this structure... Control Class-->Template.php Index.php templatefiles.template That the index.php will load all the template files. If making a Index1.php and wanting it to show something completly different, it still will show from the original Index.php template files. My set up is currently similar to this... Index.php shows a random article and links. Display.php shows pagination with links to comment.php and send.php Comment.php shows the comments with link to Submitcomment.php which then goes to thanks.php. Under something like the above, I am trying HARD to understand how to use a template system. becuase all the html in the php is driving me mad! lol..... |
|
#2
|
|||||
|
|||||
|
RE: Template System Page Links
Actually scratch that!
I understand it now. However this brings me to my other problem. How do I use the current classes/functions my code already has, and make use of the template system? For example, with this function, how do I seperate content/logic to use the template system? php Code:
|
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Template System Page Links |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|