Quantcast
Channel: OXID Community Forum
Viewing all articles
Browse latest Browse all 6951

in template: replace placeholder in cms-snippet with variable-value

$
0
0
Hi there,

I'm using a component function to get a url for an article within my tpl.
I also have a cms-snippet defined in which I want to put the url.
Both values are available in the tempalte.

The cms-snippet contains something like
Code:

click on this [LINK]
I got my tpl-varaible $sUrl

I like to replace the '[LINK]' of the snippet with the content that's included in $sUrl.

How can I do that?
:confused:

Thans in advance.

Kind regards
Stefan

Viewing all articles
Browse latest Browse all 6951

Trending Articles