Riley Anderson Posted November 14, 2023 Posted November 14, 2023 Hi, I have custom file made for display content, but i cant find how to create a widget for display the code to my php file. I have Pages app, i keep trying since hours without understanding how-to do it. Any help will be appreciated. Regards.
Nathan Explosion Posted November 14, 2023 Posted November 14, 2023 You have to create a block in the ACP, using the "Manual HTML" or "Manual PHP" options If you need assistance with taking your code and rewriting it to work then you'll need to provide the code.
Riley Anderson Posted November 14, 2023 Author Posted November 14, 2023 Thanks for this fast reply. I already tried without succes. If i try with the HTML Block <?php include "uploads/_custom/_pages/events_countdown/widget.php" ?> If i try with the PHP Block (ParseError: syntax error, unexpected end of file (0)) include "uploads/_custom/_pages/events_countdown/widget.php"
Solution Nathan Explosion Posted November 14, 2023 Solution Posted November 14, 2023 Manual HTML - see if this still works...
Riley Anderson Posted November 14, 2023 Author Posted November 14, 2023 Still working. Big thanks to you. You saved my day. 🤗
Recommended Posts