Allow Different View Format

  • LAC Webadmin
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 8 months ago - 6 years 8 months ago #112658 by LAC Webadmin
Allow Different View Format was created by LAC Webadmin
Hi Tuan,

Would you consider allowing different view format for event booking? Event Booking will only render HTML view type which is the default.

I tried adding &format=raw or &format=ajax in the URL and the getView() method in RADController rad/controller/controller.php defaults the $type variable 'html'. If the default $type value is removed, I guess, adding an ajax.php under views folder would work just like how default Joomla view works.

If you have another way of doing this and not using joomla's default, please let me know.

Update:

For anybody who wants to create their own view type aside from html, this is already possible without modification like I mentioned above. Check out the category view how Tuan created feed.php view.

Thanks,

Jackson
Last edit: 6 years 8 months ago by LAC Webadmin.

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

Moderators: Tuan Pham Ngoc