new layout for the module mod_eb_view

  • Roy Chappell
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 2 months ago #141458 by Roy Chappell
new layout for the module mod_eb_view was created by Roy Chappell
Hi

Is it possible to create a new layout that can be used by the mod_eb_view module, for an example called 'newtable'

So I can change the Query String from
index.php?option=com_eventbooking&view=category&layout=table&id=14&Itemid=462
to
index.php?option=com_eventbooking&view=category&layout=newtable&id=14&Itemid=462

Is it matter of copying a view folder and modifying the files?

Is the field name for Event - Short Description  'short_description'  , so I can call it into a layout.

thanks
Roy

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #141463 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic new layout for the module mod_eb_view
Hello Roy

That's not enough. There are still files in common folder (events_table.php) need to be copied, too. You will also needs to edit code in some files to make it to work

So maybe you should edit existing layout instead ? The extension has 4 available layouts, so it should be enough for you to use instead of creating new layout

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc