By Jens Larsson on Saturday, 02 February 2019
Posted in General Issues
Replies 3
Likes 0
Views 448
Votes 0
Hi
We have a lot of events that are open or just as information that does not require bookings / attendees. Is there a way to hide the attend buttons and listing of attendees?

One way would be if it was possible to wrap the event in a div with a class named after event category, then I could use css to hide what we want. Could this be done and if so could you give me some pointers.
Hello Jens,

Did you mean this page http://take.ms/egN45 ? if that the page you are referring to, the div that wrap the events is this http://take.ms/rpdBA . You can find the file here : ../components/com_easysocial/themes/wireframe/events/default/wrapper.php . Hope this helps.
·
Monday, 04 February 2019 12:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
I found /com_easysocial/themes/wireframe/events/about/default.php and edited that one. But I would need to create a div with a classname of the event category. Is it possible to echo the event category with php code?

Regards
Jens
·
Monday, 04 February 2019 15:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jens,

You can use this:

echo $event->getCategory()->getTitle();


Hope this helps.
·
Monday, 04 February 2019 15:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post