On Wed, Jun 23, 2010 at 6:14 AM, DavoNZ <tahunasky@...> wrote:
>>You need to use the configuration utility to set your
>>chosen default template set.
> what you suggested works. Just wondering why, if you select the template in
> SQM / OPTIONS / DISPLAY, it doesnt use the LOGIN.TPL of the selected
> template, only the default one ?
Because the fact that you logged in and made a user-level skin
selection should not have any effect on what *other* users see when
they log in. You made a *user*-level selection, not a system-wide
>>> <?php if (!empty($plugin_output['menuline'])) echo
>>> $plugin_output['menuline']; ?>
>>> displays nothing, the var is empty .. so i am guessing there is a
>>> or include file, or something that i am not called..
>>It only displays something if you have a plugin installed that puts
>>some output there. If your code in that spot is the same as the code
>>from the default template set, then I wouldn't worry.
>>> i have basically moved the menu bar out of page_hearder.tpl into the
>>> top.tpl/top frame, so all the the page_header does now is tells the left
>>> frame what mailbox is being displayed, and what to highlight on mailbox
>>If you've *moved* that code, then this is why that plugin output
>>section is not working. Plugins expect to know which template they
>>will be sending their output to, so the only way to make that work
>>correctly is to move that code back to the template where it was.
> Is there a function that i can call to find out if any plugins have/want to
> be added to $menuline ?
No; just put that code into its rightful place and you'll see if there
are. I suppose you can look in config/plugin_hooks.php for
"menuline", but it is also possible for a plugin to *dynamically*
register itself on that hook.
>>> i would like to keep it original, so if you can poiint me in right
>>> to fix the problems above would be good..
>>Sounds like the real problem to address is whatever is behind your
>>need to create "top.tpl"
> The top.tpl is for looks, and its the layout i want/like.. Isnt that the
> whole idea of skinning !
Your exclamation doesn't answer the question. As I said, it should
not be necessary, and you need to explain why you found it to be so.
Please support Open Source Software by donating to SquirrelMail!