Eidorian Posted May 24, 2017 Posted May 24, 2017 Hello, After several attempts and a search on the forum, I have not found a solution. I created a new application, set an admin module with a default controller but I have no menu that appears for my application. Did I forget a step? Thank you for your clarification.
Adriano Faria Posted May 24, 2017 Posted May 24, 2017 It shows you an option when you create the module. Take a look if it is inside Community, etc.
Eidorian Posted May 24, 2017 Author Posted May 24, 2017 Hello, Thank you to answer me. I see an option to choose "Menu tab", this is the default name of my application.I have nothing in the other basic tabs :/ Edit : Yes ! I found option, so I can select "core", "cms", "community" .. etc, but it's possible to create new item like "Community" ?
Adriano Faria Posted May 24, 2017 Posted May 24, 2017 2 hours ago, Eidorian said: Edit : Yes ! I found option, so I can select "core", "cms", "community" .. etc, but it's possible to create new item like "Community" ? You mean a new group? Yes, it's possible. You need to create a language bit and choose a font awesome icon, like: 'menutab__classifieds' => "Classifieds", 'menutab__classifieds_icon' => "newspaper-o", That will create: Where: classifieds is the app key newspaper-o is the font awesome icon: http://fontawesome.io/icons/
Eidorian Posted May 24, 2017 Author Posted May 24, 2017 Thank you ! But where I create this language bit ? I don't found on Languages item.
Adriano Faria Posted May 24, 2017 Posted May 24, 2017 It's a php file created in applications/your_app_key/dev folder. You'll notice a lang.php file there.
TheJackal84 Posted May 24, 2017 Posted May 24, 2017 5 hours ago, Adriano Faria said: You mean a new group? Yes, it's possible. You need to create a language bit and choose a font awesome icon, like: 'menutab__classifieds' => "Classifieds", 'menutab__classifieds_icon' => "newspaper-o", That will create: Where: classifieds is the app key newspaper-o is the font awesome icon: http://fontawesome.io/icons/ I wondered that myself I managed to do the app icon in the app list via the application.php but I didn't know how to do the menu tab I override it with a .css edit .fa-menutab__myapp_icon::before { content: "\f2dd"; } but now I can do it properly
Eidorian Posted June 2, 2017 Author Posted June 2, 2017 How nice ! And how can I order my tab menu @Adriano Faria @TheJackal84 ? Thank you.
newbie LAC Posted June 3, 2017 Posted June 3, 2017 6 hours ago, Eidorian said: And how can I order my tab menu On applications page reorder applications.
TDBF Posted August 13, 2017 Posted August 13, 2017 On 24/05/2017 at 6:51 PM, Adriano Faria said: You mean a new group? Yes, it's possible. You need to create a language bit and choose a font awesome icon, like: 'menutab__classifieds' => "Classifieds", 'menutab__classifieds_icon' => "newspaper-o", That will create: Where: classifieds is the app key newspaper-o is the font awesome icon: http://fontawesome.io/icons/ Hi Adriano, How am I (As a new developer to IPS) supposed to know this without documentation? How am I supposed to know which language constant define for this starts with 'menutab__' without knowing it? What other Language defines do I need to know and where are these documented? Do I just search through the Core code or others peoples Applications to get this information? https://invisioncommunity.com/developers/docs/general/enabling-developer-mode-r23/ I have just looked through the Developer Documents and there is nothing about language defines at all. Not one word on what would be considered the 'defaults' for menu's or icons which would be really helpful. I have just spent ages trying to figure out why my menu wasn't shown, even though I had created controllers for them in the Application Development Tools. Now I understand that this has changed from previous versions where the empty Language Constant was shown.
bfarber Posted August 14, 2017 Posted August 14, 2017 23 hours ago, TDBF said: Hi Adriano, How am I (As a new developer to IPS) supposed to know this without documentation? How am I supposed to know which language constant define for this starts with 'menutab__' without knowing it? What other Language defines do I need to know and where are these documented? Do I just search through the Core code or others peoples Applications to get this information? https://invisioncommunity.com/developers/docs/general/enabling-developer-mode-r23/ I have just looked through the Developer Documents and there is nothing about language defines at all. Not one word on what would be considered the 'defaults' for menu's or icons which would be really helpful. I have just spent ages trying to figure out why my menu wasn't shown, even though I had created controllers for them in the Application Development Tools. Now I understand that this has changed from previous versions where the empty Language Constant was shown. We'll take a look at updating the documentation to note this.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.