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

Add tabs to weblog mcp

Development and Programming

Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

Anyone have a simple tutorial on how I can add a tab to the control panel area where I edit the weblog?

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

Wired,

Care to be a little more specific about what you mean by tab?

Do you mean the main set of tabs along the top?

Publish|Edit|Modules|Etc…

Or are you talking about something else?

The main set of Tabs only has one officially supported way of adding a tab. And that is to go to a CP page and click “New Tab” on the top right of the page.

Jamie

       
Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

Sorry by tab I mean

Something like this, when i try to edit a weblog, i would like to add an option to this list, in which I can add my own code.

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

So you want to add a tab to the Publish form while adding or editing an entry. Editing a weblog is very different from editing an entry. Thus why I was so confused.

To do that you would need to write an Extension.

It is going to require some PHP/MySQL ability obviously.

The extension hooks you will need to affect are:

publish_form_new_tabs publish_form_new_tabs_block

You will also want to use a hook to deal with whatever controls you have in the new tab. The hook you choose for that will depend on your specific needs.

Jamie

       
Cocoaholic's avatar
Cocoaholic
445 posts
17 years ago
Cocoaholic's avatar Cocoaholic

See this thread for reference and a sample extension.

       

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.