Hi,
I want to add a helper to the view so i can truncate text to a character limit to the nearest word. (at least i can't find where LS can do this already)
How do i do that? in other MVC apps there would be a Views directory and a Helpers dir. I would add a helper. Does LS have this concept? If not how else should i add functions to use in my views / templates?
Thanks
will
Page 1 of 1
Helpers - How do we create them How should we extend the view with helpers?
#2
Posted 31 January 2012 - 03:37 PM
Hi,
You can define helper functions in custom modules: http://forum.lemonst...dule-functions/
Thank you
You can define helper functions in custom modules: http://forum.lemonst...dule-functions/
Thank you
Share this topic:
Page 1 of 1

Help












