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

Iframe

 
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
bweichel
Smarty n00b


Joined: 14 Oct 2004
Posts: 2

PostPosted: Thu Oct 14, 2004 1:33 pm    Post subject: Iframe Reply with quote

Hallo,

ich möchte Smarty mit IFrames verwenden. In meiner Seite die ich mit Smarty erzeuge habe ich einen IFrame eingebaut. Dieser Iframe beinhaltet wiederum gewissen Textpassagen die ich austauschen möchte. Wie kann ich mittels Smarty darauf zugreifen...???

{include file="inhalt.tpl"}

habe ich bereits ausprobiert, aber das geht über ein IFrame nicht... Kann mir jemand eine Lösung veraten oder zumindest eine Anregung geben?

Vielen Dank!

Gruß Björn
?>[/php]
Back to top
View user's profile Send private message
kills
Smarty Elite


Joined: 28 May 2004
Posts: 493

PostPosted: Thu Oct 14, 2004 2:18 pm    Post subject: Reply with quote

hm ich denke, das du im source des iframes in der source dein PHP Script mit den entsprechenden Parametern reinschreiben musst.

z.b.
Code:

<iframe src="index.php?content={ $inhalt }" width="90%" height="400">


deine index.php muss dann natürlich die variable auswerten und daraus den entsprechenden source generieren
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