(->1.6) meaningful colors for page tags

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: (->1.6) meaningful colors for page tags

Post by cmb » Sat Jan 26, 2013 2:27 pm

cmb wrote:Alternatively we could use the basename() of the file containing the view's definition. This will hopefully consist of allowed characters only
The basename of the file without extension will definitely consist of allowed characters only, as it's used as the name of the function to call. So I did it this way (r446-r448).
Last edited by cmb on Sat Jan 26, 2013 5:16 pm, edited 1 time in total.
Reason: fixed revision range
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: (->1.6) meaningful colors for page tags

Post by cmb » Tue Mar 24, 2015 12:48 pm

Hmm, that's still on the XH 1.7 roadmap. Is it still relevant?
Christoph M. Becker – Plugins for CMSimple_XH

svasti
Posts: 1659
Joined: Wed Dec 17, 2008 5:08 pm

Re: (->1.6) meaningful colors for page tags

Post by svasti » Tue Mar 24, 2015 10:26 pm

cmb wrote:Is it still relevant?
Not really at present. However once it is available it could become a useful tool to indicate certain settings, e.g.:
Hidden pages could get a red page tab, pages with changed meta setting could take a little color, etc.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: (->1.6) meaningful colors for page tags

Post by cmb » Tue Mar 31, 2015 11:36 am

svasti wrote:
cmb wrote:Is it still relevant?
Not really at present. However once it is available it could become a useful tool to indicate certain settings, e.g.:
Hidden pages could get a red page tab, pages with changed meta setting could take a little color, etc.
Okay, makes sense. I propose this patch. It makes it possible to add a certain CSS class to the tab's <span>, by passing an optional argument to $pd_router->add_tab(). Style rules for this class can be added to the plugin stylesheet, as usual.
Christoph M. Becker – Plugins for CMSimple_XH

svasti
Posts: 1659
Joined: Wed Dec 17, 2008 5:08 pm

Re: (->1.6) meaningful colors for page tags

Post by svasti » Tue Mar 31, 2015 2:23 pm

Sounds good :)

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: (->1.6) meaningful colors for page tags

Post by cmb » Tue Mar 31, 2015 2:31 pm

svasti wrote:Sounds good :)
Well, you may try the patch. :)
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: (->1.6) meaningful colors for page tags

Post by cmb » Tue Apr 21, 2015 5:36 pm

Done (r1532).
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply