was this never thought?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

was this never thought?

Post 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: was this never thought?

Post 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?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
abdussamad
Regular
Posts: 117
Joined: Fri Apr 21, 2006 10:11 pm
Location: Karachi, Pakistan
Contact:

Re: was this never thought?

Post 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.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: was this never thought?

Post 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!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: was this never thought?

Post 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
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: was this never thought?

Post 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....
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply