Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I do have one question: What is the second value passed to the params->get function? Eg, the '3' here. I have seen 1, 0, 3 and DESC used. Are these default values, and for a text parameter would you enter the default here? Is there a document/API overview I could review?
[code:1]$params = $this->params;
$showtext = $params->get('mcShowtext', 3);[/code:1]
In my plugin, it shows this value until I edit/save the tab after install.
Please Log in or Create an account to join the conversation.
The second parameter is the default value to use in case no value is present for parameter.
Original API document is here:
www.joomlapolis.com/component/option,com_docman/task,doc_details/gid,16/Itemid,36/
and even though it needs to be drastically updated its the best starting point.
Please Log in or Create an account to join the conversation.