Forum


HomeHomePremiumPremiumAdministrationAdministrationPage in menu for administrators onlyPage in menu for administrators only
Previous
 
Next
New Post
4/25/2018 3:51 AM
 

Hi Steve,

I understand your point, however I think the TabSettings can be safely used for your own custom settings. In my opinion it would be an extension, not necessarily a change to DNN.

It is like the ContentItems table, which can be used to extend DNN with new content items.

Just my view.

Cheers,

Aderson

 
New Post
4/25/2018 4:07 AM
 

Hi Aderson,

Yes, as long as I don't change the structure of the table then that would be fine. It wouldn't be much more effort to create a new table with tabid as the primary key.

But what I meant was that I would still need to have a way indicate which pages should be shown in the menu for a user with admin rights. That would mean a change to the DNN UI and I don't think it's worth it for this small change. I assume there's no way to make changes to the DNN UI without having to reapply them manually each time a new installation is created. Custom fields would do the trick, as long as they could be reapplied when installing my module, but as far as I know, DNN doesn't have that facility either.

 

I suppose I could hard code the page name of the page in my menu's code but that's flakey since it will break if the page is renamed.

Best Regards,

 

Steve

 
New Post
4/26/2018 3:32 AM
 

I got you point now Steve. Yes, to do a comprehensive solution you would have to end up changing DNN which you shouldn't be doing for so many reasons.

Maybe there is a compromising option.

Aderson 

 
New Post
4/26/2018 4:14 AM
 

My compromise is just to create a page with the links to the 'off-menu' pages.

I suppose there's all sorts of ways to improve that but I think it will do for now.

 

Thank you for your thoughts.

 

Steve

 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationPage in menu for administrators onlyPage in menu for administrators only



Try FREE
30 days money back guaranteed