Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Hack, v3.0] Auto-open 'page options' (slug, tags, navigation, etc.)
#1
This is a quick hack (not upgrade-safe!) for auto-opening the page options in the page edit section. I am currently setting up a v3.0 beta testing site so having the options for slugs, navigation, etc. open without having to click is a bonus for me. Haven't checked on v2.03.1.

The file to be edited is at /admin/template/js/jquery.getsimple.js, look for the comment

Code:
// edit.php
at line number 206 or thereabouts. Right below that comment, insert the following snippet which simply slides open the options and then toggles the state of the button with which you would normally open up the page options.
Code:
// START Auto-open page options on edit page load
    $("#metadata_window").slideToggle('fast');
    
    $("#metadata_toggle").toggleClass('current');    
// STOP

Maybe this is helpful for someone else, too. Enjoy.
Reply


Messages In This Thread
[Hack, v3.0] Auto-open 'page options' (slug, tags, navigation, etc.) - by polyfragmented - 2011-03-15, 22:54:12



Users browsing this thread: 1 Guest(s)