Jump to content

Creating Custom Blocks Using Existing Templates


Meddysong

Recommended Posts

Hello!

I wasn't sure what form any coding for a custom block should take so I thought the safe thing to do should be to paste the content from an existing block there, confirm that it works, and then start making adjustments. With this in mind I created a new custom block called Events Test and pasted in the content from the template calendar > front > widgets > upcomingEvents.

When trying to place this new customised block on a page I'm greeted with an error. (Parse error: syntax error, unexpected '<' in /home/esperant/public_html/test/tim/suite-17/applications/cms/sources/Blocks/Block.php(195) : eval()'d code on line 1)

Is it the case that I'm at fault from the start by adopting this approach of pasting from a template and that's what's at fault here, or should it work and I've stumbled upon a bug within my suite?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...