Announcement

  •  » Engine
  •  » [resolved] How to make tabsheet?

#1 2012-06-23 14:59:26

EvilKant
Member
Russia
1970-01-01
98

[resolved] How to make tabsheet?

Trying to make tabsheet in my plagin.
I used tabsheet.class.php and can see tabsheet at my adminpage. But I can't make url in tab header. Additional Pages have url like "http://localhost/piwigo/admin.php?page=plugin-AdditionalPages-add_page" , but my plagin have "http://localhost/piwigo/admin.php?page=plugin&section=Evil_Blog/admin.php". I looked to "addition page" code, and don't find where "page=plugin&section=Evil_Blog/admin.php" becomes in "page=plugin-AdditionalPages-add_page".

Can you help me?

Offline

 

#2 2012-06-23 15:15:08

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: [resolved] How to make tabsheet?

Hello,
this "url rewriting" is not in plugins but in the core

since 2.3 you mustn't use url like "admin.php?page=plugin&section=Evil_Blog/admin.php" anymore
use "admin.php?page=plugin-Evil_Blog" this will load the file admin.php in your plugin directory

take a look at my plugin [extension by mistic100] Header Manager it use tabsheets and new url style

Offline

 

#3 2012-06-23 15:31:14

EvilKant
Member
Russia
1970-01-01
98

Re: [resolved] How to make tabsheet?

Working. Thanks :) . I don't understand why that don't work before :) .

Offline

 
  •  » Engine
  •  » [resolved] How to make tabsheet?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact