Need to add ul to block.
Permalink
In my opinion concrete5 has bad documentation and even less help but hopefully the community will come to the rescue. I am creating a custom block for product information. This block has a section for listing features. I would like to list them as <li> so that I can change the icon for them. Problem is that different products have different amount of features so I will need to populate the features as I go. If you look at the core example of the tag block it has a section where you type in a tag name and hit add, it then populates in the form and adds all the populated tags to the block. I have looked at the code but there is way more functionality than I need and it is confusing. If someone could point me in the right direction asap I would be greatly appreciated and might even release this block for free on the community. Thanks.
Quick, easy solution: Make a custom block that takes your list in a text area, but selerate each line with a special character, like "|" for example. Then in PHP, you explode on "|", and wrap a <li> arround each one.
Other option is to have a block that is a <li> it's self. wrap your <ul> around the area.