SMF Community Helpers > SMF Documentation Help
SMF Function Database - loadTemplate(); Behind
Labradoodle-360:
According to: http://support.simplemachines.org/function_db/index.php?action=view_function;id=61
The function in Load.php, loadTemplate only allows two parameters, a template name string, and a fatal bool: mixed loadTemplate (string $template_name[, bool $fatal]);
This is correct for the SMF 1.1.x branch, but in the SMF 2.0.x branch, there's one more parameter: void loadTemplate(string template_name, array style_sheets = array(), bool fatal = true); (code from comments in Load.php - SMF 2.0.2).
Thought I'd let y'all know.
AngelinaBelle:
I cannot control the function_db.
Do you know who has control over that? Is it done with document comments?
If so, the solution is to
1) Create new documentation
2) Submit a pull request for SMF 2.1
I don't know if it is possible to update the documentation for already-released versions.
Do you know?
AngelinaBelle:
OK. I was wrong. It is done directly by someone with admin access to that database.
Lab -- can you provide the updated version?
Then I will find out if we can get your version loaded to the database.
Thanks
Labradoodle-360:
I have the ability to modify the Function Database...? And you can modify it for any version(s) you want.
Trekkie101:
--- Quote from: AngelinaBelle on August 21, 2012, 03:30:51 PM ---OK. I was wrong. It is done directly by someone with admin access to that database.
Lab -- can you provide the updated version?
Then I will find out if we can get your version loaded to the database.
Thanks
--- End quote ---
You have access Miss Belle :P
http://support.simplemachines.org/function_db/index.php - Hit manage DB on the left menu. I think all the team can?
Also should we tick all the 2.0.2 boxes, I wasn't sure if it was automated or we should do it?
Navigation
[0] Message Index
[#] Next page
Go to full version