We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

module tab and stylesheet.

Development and Programming

Incite's avatar
Incite
20 posts
16 years ago
Incite's avatar Incite

Hi,

I’m building my first module in EE and I ran into these 2 problems.

  1. I can’t seem to find a way to add a tab to the main tab list in the control panel. I know each user can add a tab, but I need all users to be able to access this new sections easily.

  2. How can I add an stylesheet to my admin page body? I’m following the Fortunes Cookie tutorial and I can’t find a way to do so.

Thanks.

       
Incite's avatar
Incite
20 posts
16 years ago
Incite's avatar Incite

I found the solution of my second question 😊

// adding an extra CSS file to the list
$DSP->extra_css = $_SERVER["DOCUMENT_ROOT"] . "system/modules/modulename/extra.css";
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.