SMF Community Helpers > SMF Documentation Help
SMF Function Database - loadTemplate(); Behind
Labradoodle-360:
That's because I fixed it :P The style_sheets param used to be applied to all versions and then it showed a bunch of junk because I was fixing it hahaha sorry. Does it look okay?
AngelinaBelle:
I think it looks OK. And I am happy to know there was a GOOD reason for the nonsense I saw.
You are the expert on whether it is correct.
As a doc writer, I will ask you this:
--- Quote ---Example of Input: array('additional') [additional = ./Themes/default/css/additional.css]
--- End quote ---
I am not sure what this means. This is not correct array notation.
Perhaps you want it to be array('./Themes/default/css/additional.css') or else you want it to be array['additional'] (where array['additional'] = './Themes/default/css/additional.css')
Or perhaps you want it to be array('additional' => './Themes/default/css/additional.css')
Which is a correct example of EXACTLY what should go in the call?
Or do you really want array ('additional'), because that will cause ./Themes/default/css/additional.css to be loaded?
I am lost.
AngelinaBelle:
Wait. I see. I am looking at the function now. you do want array ('additional') because that will cause
' . $settings[$sheet_path] . '/css/' . $sheet . '.css"
to be loaded.
How do you like it now?
http://support.simplemachines.org/function_db/index.php?action=view_function;id=61;sa=viewall
Labradoodle-360:
Very good. I knew what it was, but I didn't know how to state it quite like that in one line, it'd be nice if you could format the text.
Navigation
[0] Message Index
[*] Previous page
Go to full version