Antworten: 6 
      Seite  [1]   | 
  |
  stevebluck2Wannabe poster Beiträge: 20  | 
     # Thema - 19.11.2008 um 15:24 Uhr
       Can anyone please tell me how to enable php code in the templates. Thanks in advance  | 
  
Inaktiv  | 
    
       | 
  
  Tom08 ![]() Supporter Herkunft: Daheim Beiträge: 2923  | 
     # Antwort: 1 - 19.11.2008 um 15:34 Uhr
       Why do you need php-Code in the templates? What do you want to do? Tom ------------------ Bei Problemen mit Code von mir bitte eine  
      
        Private Nachricht an mich    | 
  
Inaktiv  | 
    |
  stevebluck2Thread-Ersteller Wannabe poster Beiträge: 20  | 
     # Antwort: 2 - 19.11.2008 um 15:36 Uhr
       i want to include other html files into it using php, Thanks for the fast reply  | 
  
Inaktiv  | 
    |
  duRiel ![]() Weltmeister Herkunft: Cambridge Beiträge: 7300  | 
     # Antwort: 3 - 19.11.2008 um 15:39 Uhr
       using php in the template is not possible and shouldnt be possible because you should strictly seperate them. to include another file you can just use a template variable like {yourmod:youraction} and add your file there. greetings duRiel  | 
  
Inaktiv  | 
    |
  stevebluck2Thread-Ersteller Wannabe poster Beiträge: 20  | 
     # Antwort: 4 - 19.11.2008 um 15:41 Uhr
       Ok, i will try this way. Thank you.  | 
  
Inaktiv  | 
    |
  duRiel ![]() Weltmeister Herkunft: Cambridge Beiträge: 7300  | 
     # Antwort: 5 - 19.11.2008 um 15:44 Uhr
       no problem. if you use {yourmod:youraction} then the referring file would be mods/yourmod/youraction.php.  | 
  
Inaktiv  | 
    |
  stevebluck2Thread-Ersteller Wannabe poster Beiträge: 20  | 
     # Antwort: 6 - 19.11.2008 um 16:01 Uhr
       Yep got it working cheers, i do this method all the time. Don't know why i didn't think of this first.  | 
  
Inaktiv  | 
    |
   Dieses Thema wurde von duRiel      geschlossen. | 
  |
Antworten: 6 
      Seite  [1]   | 
  |
Latest 5 Templates
Demo
Probiere ClanSphere aus und teste daran herum. Demo
Spenden
  
    ClanSphere ist freie OpenSource Software.
Bitte unterstützt uns.
    Spenden
  
 
 
 Private Nachricht
 
 
 
 
 
  
 
 
 
 