Joomla HTML element and php

uwe.pfeiffe
4 Posts
uwe.pfeiffe posted this 15 November 2016

Hello,
in Themler (Joomla) I inserted a HTML element and edit the text in the ribbon with the following content :
<?php echo ("hallo");?>

Wher I reopen the edit field I see that's it's changed to
<!--?php echo ("Hallo"); ?-->

The word Hallo is not shown.

Can I insert PHP Code within the HTML element ?? And how to do that ??

Best regards
Uwe Pfeiffer

Hello, in Themler (Joomla) I inserted a HTML element and edit the text in the ribbon with the following content : &lt;?php echo (&quot;hallo&quot;);?&gt; Wher I reopen the edit field I see that's it's changed to &lt;!--?php echo (&quot;Hallo&quot;); ?--&gt; The word Hallo is not shown. Can I insert PHP Code within the HTML element ?? And how to do that ?? Best regards Uwe Pfeiffer

Last edited 15 November 2016 by uwe.pfeiffe

Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 16 November 2016

Hi,

Use the CMS Code control to insert the PHP code.

Sincerely,
Hella

Hi, Use the CMS Code control to insert the PHP code. Sincerely, Hella
uwe.pfeiffe
4 Posts
uwe.pfeiffe posted this 17 November 2016

Thanks you ..
but as I see CMS Code can only be placed on the top of an article ??
All other positions in Columns are not possible.. ?
When I move my mouse ith CMS element all columns are no longer visible..

Best regards
Uwe Pfeiffer

Thanks you .. but as I see CMS Code can only be placed on the top of an article ?? All other positions in Columns are not possible.. ? When I move my mouse ith CMS element all columns are no longer visible.. Best regards Uwe Pfeiffer
Support Team
Support Team posted this 17 November 2016

Hi,

You can insert the CMS Code inside the Column control. Please provide your theme and explain where exactly you need to add the CMS Code control.

Sincerely,
Hella

Hi, You can insert the CMS Code inside the Column control. Please provide your theme and explain where exactly you need to add the CMS Code control. Sincerely, Hella
You must log in or register to leave comments