Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2005-11-29 18:06:46
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Do you customise the admin area for your clients?
You might be better off just applying CSS to hide those elements. i.e:
// keywords
graf(gTxt('keywords').popHelp('keywords').br.
'<textarea name="Keywords" style="display:none;width:100px;height:80px" rows="1" cols="1">'.
$Keywords.'</textarea>'),
Offline
Re: Do you customise the admin area for your clients?
Mary,
Cool, that’s plausible.
What about with these code bits though?
I’m not familiar with how to add styling to what seems to be a totally php based string?
Where would one add dispaly:none; to these elements?
<code>
// textile toggles
graf(gTxt(‘use_textile’).br.
tag(gTxt(‘article’).br.pref_text(‘textile_body’,$textile_body)
,‘label’).
br.
tag(gTxt(‘excerpt’).br.pref_text(‘textile_excerpt’,$textile_excerpt)
,‘label’)),
// form override
($allow_form_override)
? graf(gTxt(‘override_default_form’).br.
form_pop($override_form).popHelp(‘override_form’))
: ‘’,
</code>
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#18 2005-12-01 03:11:12
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Do you customise the admin area for your clients?
Replace that with this:
// textile toggles
graf(gTxt('use_textile').br.
tag(gTxt('article').br.pref_text('textile_body',$textile_body)
,'label').
br.
tag(gTxt('excerpt').br.pref_text('textile_excerpt',$textile_excerpt)
,'label'), 'display: none;'),
// form override
($allow_form_override)
?graf(gTxt('override_default_form').br.
form_pop($override_form).popHelp('override_form'), 'display: none;')
:'',
Offline
Re: Do you customise the admin area for your clients?
Thanks Mary,
That’ll get me learnin fer awhile :p
oops, it doesn’t work.
Let’s not worry about it.
Not worth your time, better spent on more important txp things :)
Matthew
Last edited by ma_smith (2005-12-01 03:23:39)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline