Jump to content

Admin CP Menu - New aplication


Eidorian

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...