Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
#25 2011-05-09 16:24:43
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: esq_adminsplash - Admin splash page
Guys:
I get – Badly formed or empty plugin code – when I try to download this plugin from the refrenced site — I am sure it is an error on my side — any guidance would be appreciated —-
progre55
Offline
#26 2011-05-09 23:40:59
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: esq_adminsplash - Admin splash page
You may be accidentally copying the line numbers on the left as well. Try ensuring you’re copying only the code, or click “View raw file” on the right and copy the whole lot there.
Offline
#27 2014-10-03 07:36:38
- candyman
- Member

- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: esq_adminsplash - Admin splash page
In TXP 4.5.7 I can’t find the ‘Default admin tab’ under Advanced in the Preferences tab.
So I can’t set the ‘Admin Help’ and use the plugin.
Am I missing something?
Offline
#28 2014-10-03 07:55:35
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: esq_adminsplash - Admin splash page
It should still be there.
https://github.com/textpattern/textpattern/blob/master/textpattern/include/txp_prefs.php#L562
Are you on the Advanced tab?
Offline
#29 2014-10-03 08:42:11
- candyman
- Member

- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: esq_adminsplash - Admin splash page
Yes, I’ve searched for the “Default Admin Help” in the Advance tab of the TXP Preferences but it’s missing.
I use TXP with Italian language but I think this is not the problem (I don’t expect to find the localized version but at least the original one).
Where should I find it?
Last edited by candyman (2014-10-03 08:47:33)
Offline
#30 2014-10-03 08:53:11
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: esq_adminsplash - Admin splash page
Look for Default admin tab.
I just installed a fresh copy 4.5.7 and it’s definitely there.
It’s possible that a borked admin theme is hiding it, but I don’t know why.
Make sure you’re on /textpattern/index.php?event=prefs&step=advanced_prefs and then view source and look for default_event.

Offline