Re: Template /skin for squirrelmail 1.5.2
Paul Lesniewski <[email protected]> Mon, 21 Jun 2010 13:03:42 -0700
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
Please do not top-post next time. Please respond to MY message, not
your original one. Please consult the mailing list posting guidelines
in full.
> I over write template/DEFAULT because the login.tpl file isnt loaded/called
> unless its in the default directory.
Not true. You need to use the configuration utility to set your
chosen default template set.
> I also add a top.php to the /src dir for dispalying the top frame, but this
> could be left in the template dir.. or i could just add code to top.tpl
> file..
It's still not clear to me what you're trying to achieve with that. I
don't think it's necessary.
> Thats the only things that are over-writing/changed/added from the original
> SQM.
>
> The only other problem i have is displaying the plugins eg:?
>
> <?php if (!empty($plugin_output['menuline'])) echo
> $plugin_output['menuline']; ?>
> displays nothing, the var is empty .. so i am guessing there is a function
> 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
> list..
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.
> i would like to keep it original, so if you can poiint me in right direction
> 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"
Cheers,
Paul
>>
>> Hi,
>>
>> I have been working on a template for the latest development version of
>> squirrelmail (1.5.2).
>>
>> It is attached if anyone else would like to use.
>>
>> The plugins are not added to the menuline (eg calendar),
>> $output('menuline') contains nothing, and because we dont use addons i
>> never bothered to go into it to much, but i would like to fix for others -
>> so if anyone can help let me know.
>>
>> It has been tested on IE8, Firefox 3.5 and Chrome 5.
>>
>> cya
>> Davo
>>
>> Screenshoot:
>> http://old.nabble.com/file/p28790235/sqm.jpg
>>
>> http://old.nabble.com/file/p28790235/sqm.jpg sqm.jpg
>>
>> Template ZIP:
>> http://old.nabble.com/file/p28790235/sqm_template.zip sqm_template.zip
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel