Page 1 of 1

was this never thought?

Posted: Tue Jul 12, 2011 3:45 pm
by Timbalu
;-)

Sorry for this provoking question...

When selecting plugins, we have the additional README or documentation_lang.html file.

Is there anything similar for templates?

So you can read some more details before you download/install and have your own look?

I'd wish at least something like
Description: "short and cute template blahblah with a little bit more than one line"
in the info.txt, to be available via the admin styles xml and the s9y.org templates section.

Re: was this never thought?

Posted: Tue Jul 12, 2011 6:04 pm
by Timbalu
Ahhh, and being there...,
could we have some sort of sort by date option inside the xml and the s9y.org templates page?

Re: was this never thought?

Posted: Wed Jul 13, 2011 12:20 am
by abdussamad
There are only a few devs working on s9y so you'll have to contribute code if you want changes made. Anyway if you click on the thumbnail of a template you can see its full image if the author included one with the theme.

Re: was this never thought?

Posted: Wed Jul 13, 2011 8:54 am
by Timbalu
Hi

Thank you.
Well, actually I know this...,
My intention to ask, if this was ever thought and maybe not coded by some reasons out of my scope, came from developing a plugin which might have these needs.

btw, nice one again, Abdussamad!

Re: was this never thought?

Posted: Wed Jul 13, 2011 1:16 pm
by yellowled
Timbalu wrote:When selecting plugins, we have the additional README or documentation_lang.html file.

Is there anything similar for templates?
While I think you can actually use HTML markup in the info.txt (like <b> and <br/>), I don't think we have the README/documentation_lang.html functionality for themes yet.

If a theme has a config.inc.php, however, you can add a theme option of the "custom" type to display extra info concerning the theme and/or it's options, which usually works pretty good since it's displayed right where users usually need it – within the theme options.

Code: Select all

array(
        'var'           => 'infoxxx1',
        'name'          => 'infoxxx1',
        'type'          => 'custom',
        'custom'        => MIMBO_INSTR,
    ),
This is from the Mimbo theme. Add MIMBO_INSTR to lang_*.inc.php. You can use HTML inside your lang variables, plus it can be multi-lingual out of the box.

YL

Re: was this never thought?

Posted: Wed Jul 13, 2011 1:25 pm
by Timbalu
Ok, didn't know that and its good to have it as well. Thank you.
But this will happen when you have made your template decision, or give them a try.
My main goal was to have it somehow before....