Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2063

General Questions/New to Joomla! 5.x • Re: Suggestion/proposal for backend

$
0
0
A Joomla core component Help button has code like this:

Code:

<button class="button-help btn btn-info js-toolbar-help-btn" data-url="https://help.joomla.org/proxy?keyref=Help44:Articles&amp;lang=en" data-title="Help" data-width="700" data-height="500" data-scroll="1" type="button" title="Opens in a new window">    <span class="icon-question" aria-hidden="true"></span>    Help</button>
A custom component might have code like this:

Code:

<button class="button-help btn btn-info js-toolbar-help-btn" data-url="components/com_countrybase/help/en-GB/countrybase.html" data-title="Help" data-width="700" data-height="500" data-scroll="1" type="button" title="Opens in a new window">    <span class="icon-question" aria-hidden="true"></span>    Help</button>
So if you want to replace selected core Help pages with your own, one way to do it would be to use a custom plugin that responds to onAfterRender and checks the Help url. If it is in your list then substitute your url.

Statistics: Posted by ceford — Sat Feb 17, 2024 12:29 pm



Viewing all articles
Browse latest Browse all 2063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>