Page 1 of 1

No Blank in Admin Menu?

Posted: Wed Jul 13, 2016 3:09 pm
by SantoDE
Hey guys,

I got a strange problem on my current demo site. I can't add a blank to my custom admin menu's name.

I've already created a github issue and added some screenshots there as well.

https://github.com/BroadleafCommerce/De ... issues/186

Looking forward to your help!

Thanks in advance :-)

Cheers,
Manuel

Re: No Blank in Admin Menu?

Posted: Wed Jul 13, 2016 3:28 pm
by jocanas
Hi Manuel,

Thank you for following up here on the forums.

The reason why it is going off of the key is that because during the last iteration of development it was modified to go off of the key so it can then be pulled from a property file. In this way it is opened for translations.

You could for example go in and create a property file in:

Code: Select all

/admin/src/main/resources/messages/CustomerCareMessages.properties

And create an entry for whatever key you have setup for you new admin section.

Regards,
Jerry

Re: No Blank in Admin Menu?

Posted: Wed Jul 13, 2016 4:18 pm
by SantoDE
Hi Jerry,

thanks a lot for your fast help. I'll definitivly check that out! I hope, I didn't missed that information somewhere.

Thanks!

Regards,
Manuel

Re: No Blank in Admin Menu?

Posted: Thu Jul 14, 2016 3:08 am
by SantoDE
Hey,

I added a file here: admin/src/main/ressources/messages/ImportDataMessages.properties with the following content:

importDataModuleTitle=Import Data
ImportData=Import Data

but it's still not displayed correctly.

What am I missing?

Regards,
Manuel

Re: No Blank in Admin Menu?

Posted: Thu Jul 14, 2016 10:52 am
by jocanas
It's possible that your properties file is not getting picked up.

Try adding it to the list in messageSource in:

https://github.com/BroadleafCommerce/De ... n.xml#L118

Either that or add try adding your entry to the existing messages-admin.properties file.