Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Smarty > Wordpress

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
elena
Smarty n00b


Joined: 20 Apr 2012
Posts: 3
Location: Aš - CZ

PostPosted: Fri Apr 20, 2012 9:42 am    Post subject: Smarty > Wordpress Reply with quote

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
View user's profile Send private message
Grizzly
Smarty Pro


Joined: 15 Apr 2011
Posts: 172
Location: Germany

PostPosted: Tue Apr 24, 2012 11:18 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
elena
Smarty n00b


Joined: 20 Apr 2012
Posts: 3
Location: Aš - CZ

PostPosted: Fri Jan 18, 2013 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP