By Andy on Wednesday, 24 September 2014
Replies 5
Likes 0
Views 766
Votes 0
I'm trying to work with the custom field called 'Custom HTML'

It doesn't seem to be doing what I'd expect. Maybe I'm misunderstanding what it does... if so, maybe there's another way to do what I want...

OBJECTIVE: Have a custom field in the event category that allows the event creator to add some custom HTML to display in his / her event info page. (I use bootstrap button code to insert a few button links depending on what type of event it is)

PROBLEM: When I'm setting thing up back-end, I add the Custom HTML field to my Event Category but it forces me as admin to enter the HTML value there and then and it's fixed in the front-end display and the same for each and every event created in that category.

Hmmmm....

So if how it currently works is what is intended, I'm looking for another way to get custom HTML on my events. Worst-case scenario I'll set up modules for each and every event..... If I have to do that, are there inbuilt module positions in the event detail page?
Hello Andy,

Yep, there are a few module positions available on the Event's layout. Take a look at the file /components/com_easysocial/themes/wireframe/events/item.header.php
·
Wednesday, 24 September 2014 12:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andy,

The custom html module allows the admin to set a html code in that particular field and it doesn't actually allow user to input html codes. It's very risky to actually allow that because with a noob like me, I could easily mess up with your site
·
Wednesday, 24 September 2014 10:39
·
0 Likes
·
0 Votes
·
0 Comments
·
OK thanks. In that case Plan B.... I'll add a module with Custom HTML on every EasySocial event page (I'm creating Menu views for individual ES Events)... Are there built-in module positions in the event detail layout? If so I'd want to consider using those instead of my standard template positions.
·
Wednesday, 24 September 2014 11:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark.

For anyone else following and interested the available positions are:


es-events-before-actions
es-events-after-actions
es-events-before-name
es-events-after-name
·
Wednesday, 24 September 2014 23:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Andy
·
Thursday, 25 September 2014 01:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post