|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
elena Smarty n00b
Joined: 20 Apr 2012 Posts: 3 Location: Aš - CZ
|
Posted: Fri Apr 20, 2012 9:42 am Post subject: Smarty > Wordpress |
|
|
Hallo,
ich möchte ein (komplettes) Smarty-Template in eine Wordpress Installation einbinden.
Habs mit:
Code: | <?php require_once("/home/webxxx/public_html/chat/LoaderMax.php"); ?> |
versucht - klappt aber nicht.
Jemand einen Ansatz?
MfG:
Jürgen |
|
Back to top |
|
Grizzly Smarty Pro
Joined: 15 Apr 2011 Posts: 172 Location: Germany
|
Posted: Tue Apr 24, 2012 11:18 am Post subject: |
|
|
Sorry aber könntest du dich bitte etwas genauer ausdrücken?
Quote: | ich möchte ein (komplettes) Smarty-Template |
Ein Smarty-Template wäre eigentlich eine .tpl-Datei....
Quote: | Habs mit:
Code: | <?php require_once("/home/webxxx/public_html/chat/LoaderMax.php"); ?> |
versucht - klappt aber nicht. |
Wo hast du versucht was einzubinden und was genau klappt nicht?
Was genau ist LoaderMax.php (klasse, funktionen???).
Was willst du erreichen? |
|
Back to top |
|
elena Smarty n00b
Joined: 20 Apr 2012 Posts: 3 Location: Aš - CZ
|
Posted: Fri Jan 18, 2013 4:19 pm Post subject: |
|
|
Hallo,
ich will in einem Smarty-Template Wordpress-Code bzw. Daten ausgeben.
Habe versucht in der Smart.class.php folgenden Code einzubinden:
Code: | require '/home/u188181892/public_html/blog/wp-blog-header.php';
require '/home/u188181892/public_html/page.restrictor.php'; |
Es kommt eine weisse Seite (Frontend und Admin).
Wo liegt der Fehler?
MfG:
Jürgen |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|