Antworten: 4
Seite [1] |
|||||
Psylicium Beginner Beiträge: 2 |
# Thema - 26.02.2009 um 23:12 Uhr
Hi, I hope you understand (and will reply) in english. Is it possible to 1. include php code in the template .html file. I will include server stats in one of the blocks to the right of the main content. 2. create custom pages? If the above can't be done, is there any way I can create a custom page or mod for the stats page, like index.php?mod=stats (where the stats paeg will display as main content in the middle (see screenshots) Only stats php file: What I want to do - stats php file included (as a custom page?) in Clansphere: Zuletzt editiert von Psylicium am 26.02.2009 um 23:13 Uhr (1x Editiert)
|
||||
Inaktiv |
|
||||
hajo VIP - Poster Herkunft: Barsbüttel Beiträge: 9411 |
# Antwort: 1 - 26.02.2009 um 23:21 Uhr
you can create static pages with php code in it it is possible to add new entrance sites and create html files in your template dir especially for them: inside files like board.php in the main dir:
the html file must be in your template dir then and contain some placeholders, e.g. {func:show} for the main content ------------------ ClanSphere - professional clan care starts here |
||||
Inaktiv |
|||||
Psylicium Thread-Ersteller Beginner Beiträge: 2 |
# Antwort: 2 - 27.02.2009 um 11:28 Uhr
Hi hajo, and thanks for replying. I still don't get it... I have made a copy of board.php, renamed it to stats.php (and placed it in the main dir), and changed
to
I have also created a stats.htm in my template dir, but how do I access it? If I go to index.php?mod=stats, it says "file not found". Zuletzt editiert von Psylicium am 27.02.2009 um 11:29 Uhr (2x Editiert) |
||||
Inaktiv |
|||||
UnKn0wn Geekboy Beiträge: 1160 |
# Antwort: 3 - 27.02.2009 um 11:50 Uhr
only stats.php is the right link. www.youdomain.com/stats.php (not more) Than the stats.htm will be load! ------------------ Mit freundlichen Grüßen SEBEL-DESIGN http://www.sebel-design.com Zuletzt editiert von Sebel-Design am 27.02.2009 um 11:50 Uhr (1x Editiert) |
||||
Inaktiv |
|||||
Psylicium Thread-Ersteller Beginner Beiträge: 2 |
# Antwort: 4 - 27.02.2009 um 12:35 Uhr
Thanks, now I figured it out HAve a great weekend! |
||||
Inaktiv |
|||||
Antworten: 4
Seite [1] |
Sie müssen sich registrieren, um zu antworten. |