Forum


Feature request: Use language strings for page navigation

brett vac
92%
Posts: 92
TF Learn
February 24, 2025

Hello,

I would like to make the navigation a little clearer inside the page view, when the user is accessing the lesson content.

Currently in the files tmpl/page/default_navigation and default_section the language constants are just JPREVIOUS and JNEXT Which aren't really helpful to the user, because it just displays NEXT or PREVIOUS (previous what? page? view?)

I've gone ahead and created overrides for the templates on my site. Now I can then create language overrides to make navigation hopefully easier.

brett vac
92%
Posts: 92
May 14, 2025

Hello, I noticed you updated the src\View\Sky\Pagination file for page navigation. 

But unfortunately the language constants JPREVIOUS and JNEXT are still used, which I find unclear.Please consider changing these constants to something different, such as COM_TFLEARN_SECTION_NEXT to make the navigation text less ambiguous.Thanks for your consideration.

brett vac
92%
Posts: 92
May 18, 2025

Hello,Is there a way that I can create an override for this library file, just like I would with a template view file, without modifying the core file? Thanks,

Login to Reply