Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Customise layout of add news interface
Matt960
Posted on 10 Feb 2010, 21:09:33

Access: Member
Total Posts: 6
Joined: 2010-02-10

Hi,

I was wondering if it is possible to customise the 'add news' admin page? eg. I would like to really simplify things for my clients by making a few changes to the layout:

• hide the WYSIWYG controls (the only ones I would like to show are the add image and add link icons)
• keep the 'short story' field permanently open
• remove 'toggle date' and 'toggle archive' checkboxes and 'comment' dropdown

Great script!
Thanks
#1841
Chris
Posted on 11 Feb 2010, 01:04:26

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Quote:
• hide the WYSIWYG controls (the only ones I would like to show are the add image and add link icons)

Edit functions.php, around line 1084~ you'll see the the wysiwyg controls, simply comment out the ones you don't want to show by placing a # character at the beginning of each line.

Quote:
• keep the 'short story' field permanently open

functions.php, around line 498, change $toggleshortstory = '0'; to $toggleshortstory = '1'; and the short story textbox will show by default.

Quote:
• remove 'toggle date' and 'toggle archive' checkboxes and 'comment' dropdown

functions.php, around line 1135~, change

Code:
echo "<tr><td>&nbsp;</td><td>";


to

Code:
echo "<tr style=\"display: none\"><td>&nbsp;</td><td>";


line 1147

change

Code:
echo "<tr><td>".$langmsg['newsform'][7]."</td><td>";


to

Code:
echo "<tr style=\"display: none\"><td>".$langmsg['newsform'][7]."</td><td>";
#1844
Matt960
Posted on 11 Feb 2010, 09:18:07

Access: Member
Total Posts: 6
Joined: 2010-02-10

All works perfectly!
Thank you, truly first class support.
#1845
Robye
Posted on 10 May 2010, 10:32:48

Access: Member
Total Posts: 2
Joined: 2010-05-10

Quote:
...around line 1084~ you'll see the the wysiwyg controls,...

i doesnt see any wysiwyg controls... where they are?
Quote:
Quote:
• hide the WYSIWYG controls (the only ones I would like to show are the add image and add link icons)

Edit functions.php, around line 1084~ you'll see the the wysiwyg controls, simply comment out the ones you don't want to show by placing a # character at the beginning of each line.

Quote:
• keep the 'short story' field permanently open

functions.php, around line 498, change $toggleshortstory = '0'; to $toggleshortstory = '1'; and the short story textbox will show by default.

Quote:
• remove 'toggle date' and 'toggle archive' checkboxes and 'comment' dropdown

functions.php, around line 1135~, change

Code:
echo "<tr><td>&nbsp;</td><td>";


to

Code:
echo "<tr style=\"display: none\"><td>&nbsp;</td><td>";


line 1147

change

Code:
echo "<tr><td>".$langmsg['newsform'][7]."</td><td>";


to

Code:
echo "<tr style=\"display: none\"><td>".$langmsg['newsform'][7]."</td><td>";

#2279
Chris
Posted on 23 May 2010, 16:28:09

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

In 3.5 some new options have been added to make it easier to change these default values.

See here
#2299
Network-13.com © 2013