The bug being the missing icon/link on the far right of the top toolbar at:Write -> Posts -> Post -> Visual.
(NB: the typeface seems to be smaller after following this procedure …)
1. Search /wp-includes/general-template.php for:
<div id=”quicktags”><?php wp_print_scripts( ‘quicktags’ ); ?><script type=”text/javascript”>edToolbar()</script></div>
Change: <?php wp_print_scripts( ‘quicktags’ ); ?>
to: <?php wp_print_scripts( ‘tiny_mce’ ); ?>
and delete: <script type=”text/javascript”>edToolbar()</script>
2. In /wp-includes/js/tinymce/tiny_mce_config.php
Search for: $mce_buttons = apply_filters
Change the order of: ‘wp_adv_start’, ‘wp_adv’
to: ‘wp_adv’, ‘wp_adv_start’
3. Clear cache, log out and log back in.
4. Spew when WP chews up your formatting yet again!!!
Entries categorized as ‘Wordpress’
WP advanced toolbar bug
September 18, 2007 · Leave a Comment
Categories: Wordpress
Disable wysiwyg
August 31, 2007 · Leave a Comment
To change the default, switch this line in wp-admin/upgrade-schema.php: add_option(‘advanced_edit’, 0);
Categories: Wordpress
WordPress widget woes
August 27, 2007 · Leave a Comment
I want multiple contextual sidebars but still can’t find how to do it easily. Once you’ve dragged and dropped a widget, that’s it – it’s no longer available. The text box widget can be used up to 9 times but not Recent Posts or Search – things you’d expect Anyway …
In functions.php:
In sidebar.php:
Ok, so I’ve been trying to add the code into this stupid wysiwyg box but every time I save it, what doesn’t disappear turns to garbage. Impressive.
Will try the upload file function.
Nope.
Categories: Wordpress
WordPress install next steps
August 6, 2007 · 1 Comment
(Ok, I reached First Step …
Then filled in Weblog Title and email address etc, then … )
First Second Step
Now we’re going to create the database tables and fill them with some default data.
Finished! (That’s because you already created them using cle.)
Now you can log in with the username “admin” and password “010101″.
Note that password carefully! It is a random password that was generated just for you. If you lose it, you will have to delete the tables from the database yourself, and re-install WordPress. So to review:
Username
admin
Password
010101
Login address
wp-login.php
Categories: Wordpress
WordPress install NB …
August 6, 2007 · Leave a Comment
Would not work till I did this:
PASSWORD FOR 'wordpressusername'@'hostname' = OLD_PASSWORD('password');
Categories: Wordpress
WordPress db in MySQL
August 6, 2007 · Leave a Comment
Set up using CPanel – how to
$ mysql -u adminusername -pEnter password:Welcome to the MySQL monitor.Commands end with ; or g.Your MySQL connection id is 5340 to server version: 3.23.54Type 'help;' or 'h' for help. Type 'c' to clear the buffer.mysql> CREATE DATABASE databasename;Query OK, 1 row affected (0.00 sec)mysql> GRANT ALL PRIVILEGES ON databasename.* TO"wordpressusername"@"hostname"IDENTIFIED BY "password";Query OK, 0 rows affected (0.00 sec)mysql> FLUSH PRIVILEGES;Query OK, 0 rows affected (0.01 sec)mysql> EXITBye$
Restart mysql.
Categories: Wordpress