Jump to content

Admin CP Menu - New aplication

Featured Replies

Posted

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.

It shows you an option when you create the module. Take a look if it is inside Community, etc.

  • 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" ?

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:

Capturar.png

Where:

  • Author

Thank you ! But where I create this language bit ? I don't found on Languages item.

It's a php file created in applications/your_app_key/dev folder. You'll notice a lang.php file there. 

  • Author

Alright, thank you for you help.

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:

Capturar.png

Where:

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

  • 2 weeks later...
6 hours ago, Eidorian said:

And how can I order my tab menu

On applications page reorder applications.

  • Author

What am I stupid ... Thank you!

  • 2 months later...
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:

Capturar.png

Where:

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. :(

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.

Recently Browsing 0

  • No registered users viewing this page.