Ford Doctor Posted February 18, 2017 Share Posted February 18, 2017 I am in the process of converting from 3.4.5 to 4.1.X and I have to rebuild my content and blocks because things don't look right. I have a custom block that displays a random fact (quote if you will) that uses a line of PHP. I tried all of my options when creating the block and paid attention to any notations about using php. I can't get it to display the random fact. For example, I choose: Create New Block Type = Custom Content Editor = Manual PHP Then I enter in the editor: {parse include="/filebin/randomquote/randomquote.php"} What I get on the front end is: Parse error: syntax error, unexpected 'include' (T_INCLUDE) in /home/fordd0/public_html/ips4TEST/applications/cms/sources/Blocks/Block.php(201) : eval()'d code on line 1 What am I doing wrong? This works fine on my live site with the old version. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted February 18, 2017 Share Posted February 18, 2017 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.