Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2011-03-15 11:18:06
- gfdesign
- Member
- From: Argentina
- Registered: 2009-04-20
- Posts: 401
Re: esq_adminsplash - Admin splash page
Very usefull plugin!
So. What should I do for place the help´s tab in the first level for to be accessible for any author and it isn´t under extension´s tab or any else tab?
Thanks
Offline
#14 2011-03-16 00:05:55
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Offline
Re: esq_adminsplash - Admin splash page
Offline
#16 2011-03-16 11:38:13
- gfdesign
- Member
- From: Argentina
- Registered: 2009-04-20
- Posts: 401
Re: esq_adminsplash - Admin splash page
Thanks for yours reply. But, with this way, may I to put the help´s tab without sublevels ?
Offline
#17 2011-03-16 11:43:37
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: esq_adminsplash - Admin splash page
I dont think that’s possible, due to the way txp works. I could be wrong though.
Offline
Re: esq_adminsplash - Admin splash page
gfdesign – is this what you mean?
(esq_adminsplash is powering the help tab)
Offline
#19 2011-03-16 12:25:19
- gfdesign
- Member
- From: Argentina
- Registered: 2009-04-20
- Posts: 401
Re: esq_adminsplash - Admin splash page
yep. That is my intention. But without sublevel.
Last edited by gfdesign (2011-03-16 12:28:01)
Offline
Re: esq_adminsplash - Admin splash page
Sorry – that screenshot was with Txp on the Content Tab.
Here’s the help tab with the native subtab header and one with the preference set to empty.
The location indicator is still present in the second screenshot, but that’s the admin theme css
Offline
#21 2011-03-17 00:20:21
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: esq_adminsplash - Admin splash page
The indicator is still there because there is still a sublevel nav item, but it has no text content, probably like
<li><a href="index.php?event=esq_adminsplash"></a></li>
Offline
Re: esq_adminsplash - Admin splash page
cain-mi wrote:
The indicator is still there because there is still a sublevel nav item, but it has no text content
Very true. I didn’t mean to give the impression that the sub-level nav was actually gone – only that it should be possible to hide it using the admin theme css, thus achieving the desired appearance gfdesign described.
Sorry if my suggestion confused or misled.
Last edited by maverick (2011-03-17 00:44:52)
Offline
Re: esq_adminsplash - Admin splash page
I put this code in to register the tab and I’m getting an error:
add_privs('tab.start', '1,2,3,4,5,6');
register_tab('start', 'esq_adminsplash', $config['Home']);
The error I get is:
Undefined variable $config
Any ideas? The Home tab shows up correctly. Thanks.
Last edited by maruchan (2011-03-18 19:06:54)
Offline
Re: esq_adminsplash - Admin splash page
Marc
It should be:
register_tab('help', 'esq_adminsplash', $config['tab_name']);
You set the tab name in the configuration array at the top.
$config = array(
'tab_name' => 'Name of your tab here',
Last edited by maverick (2011-03-18 19:27:24)
Offline