Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 24, 20177 yr 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.
May 24, 20177 yr It shows you an option when you create the module. Take a look if it is inside Community, etc.
May 24, 20177 yr Author 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" ?
May 24, 20177 yr 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/
May 24, 20177 yr Author Thank you ! But where I create this language bit ? I don't found on Languages item.
May 24, 20177 yr It's a php file created in applications/your_app_key/dev folder. You'll notice a lang.php file there.
May 24, 20177 yr 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
June 2, 20177 yr Author How nice ! And how can I order my tab menu @Adriano Faria @TheJackal84 ? Thank you.
June 3, 20177 yr 6 hours ago, Eidorian said: And how can I order my tab menu On applications page reorder applications.
August 13, 20177 yr 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.
August 14, 20177 yr 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.
Archived
This topic is now archived and is closed to further replies.