Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP in page content
#5
No matter where I place the tag in wys editor and or component in php,
the hello from the above test always shows up outside all page elements.

Anyone know why and how to fix this please?

edit:
Ok after some tinkering I was able to get it to place withing the page.

The only problem now is I'm getting 2 messages/components.
1 generated in PHP and the other from the tag.

I only need the tag.

Thanks

edit:
I removed the php function call get_component() from theme template and I now only get the 'message' inline!
So all is well now.
Reply


Messages In This Thread
PHP in page content - by zig - 2011-09-23, 02:53:13
PHP in page content - by mvlcek - 2011-09-23, 03:58:28
PHP in page content - by mvlcek - 2011-09-23, 04:31:36
PHP in page content - by zig - 2011-09-23, 04:38:21
PHP in page content - by roy_b8te - 2011-10-06, 10:10:33
PHP in page content - by Darin87 - 2011-10-07, 15:51:21
PHP in page content - by Connie - 2011-10-07, 17:08:31
PHP in page content - by roy_b8te - 2011-10-07, 21:17:34
PHP in page content - by Darin87 - 2011-10-08, 17:20:50
PHP in page content - by Darin87 - 2011-10-08, 17:21:51



Users browsing this thread: 1 Guest(s)