Navigator Breadcrumbs default template enhancement

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
dlen
Forum Members
Forum Members
Posts: 79
Joined: Fri Apr 09, 2010 11:32 pm

Navigator Breadcrumbs default template enhancement

Post by dlen »

Hi there,

currently (2.1.3) you find there the following code, which conditionally puts out a start text:

Code: Select all

{if isset($starttext)}{$starttext}: {/if}
I noticed, that this puts out
- the default start text if no parameter start_text is given
- a colon if it is given, but empty.
So you have no way to switch off the colon without editing the default template.
I suggest to alter the line to

Code: Select all

{if isset($starttext) && $starttext}{$starttext}: {/if}
which gives no output at all when $starttext is empty.
cheers ...
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Navigator Breadcrumbs default template enhancement

Post by Jeff »

Or you could switch it to:

Code: Select all

{if !empty($starttext)}{$starttext}: {/if}
dlen
Forum Members
Forum Members
Posts: 79
Joined: Fri Apr 09, 2010 11:32 pm

Re: Navigator Breadcrumbs default template enhancement

Post by dlen »

Is there a bug report / enhancement request page for such things?

Or are they regularly read by the developers here and taken into account?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Navigator Breadcrumbs default template enhancement

Post by velden »

http://dev.cmsmadesimple.org/bug/list/6
http://dev.cmsmadesimple.org/feature_request/list/6

Not sure if those (incl. your menu template post) are real bugs or matter of preference. So can't promise things will change, but at least the bug/fr-system will bring it to attention of developers.
Post Reply

Return to “CMSMS Core”