Becki Beckmann
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Multisite Dashboard AJAX problem – solved – bug report?so … just did what you told me. enabled the twenty eleven theme for the network. then enabled it on one mutlisite domain and the problem is still there!!
if i click on the toggle thingy in the dashboard upper right corner ‘screen option’ or ‘help’ or on ‘howdy, username’ nothing is happening! the menus don’t collapse!
so it is the same thing with theme twenty eleven.
also i’m not sure how you could say that i clearly have made a few changes??
i haven’t! just the standard twenty ten theme with ONE function in the functions.php file to remove this ‘quickpres’ widget as the problems go away after i did that
hope this helps you guys to re-produce the issue
thanks & fun
beckiForum: Networking WordPress
In reply to: Multisite Dashboard AJAX problem – solved – bug report?well … actually i didn’t do any changes at all! not one single bit!
the sites use the default twenty ten theme … but i will give twenty eleven a try and will report back π
thanks
Forum: Networking WordPress
In reply to: multi site looses permalink structurehi andrea,
thanks for your reply …
don’t think that a plugin is flushing my rewrite rules in the htaccess file, because then all other sites would be affected by this, which actually isn’t the case
but i think a WP upgrade somehow might flush the settings for that multi site … or a plugin could cause that … in the database table ‘options’
sadly i don’t have much time to dig deeper into that. will keep on updating the permalink structure after every upgrade ..
but thought perhaps you guys would know about a fix for this issue
anyway … thanks a lot
beckiForum: Fixing WordPress
In reply to: need to modify core file object method WP_Widget_Pages->widgethey duck__boy π
you’re the man! custom widgets saved my day π
did create my custom widget class extending from WP_Widget and saved the code in the themes function.php file
then registered my custom widget ->
register_widget(‘myCustomWidget’);and voila … in the admin panel the widget shows up and i can drag & drop it into the sidebar …
no more modifying of WP core files … problem solved π
thanks again for pointing me towards the right direction!
greetz
beckiForum: Fixing WordPress
In reply to: need to modify core file object method WP_Widget_Pages->widgetyep …thanks a lot for your idea π
the register_sidebar function would take care of the ->
before_widget & after_widget
before_title & after_titlegreat!
but this would still lack 2 things I’m trying to achieve …
first … completely remove the $title!
and add a CSS class ‘vlist’ to the UL container!how can this be done without modifying the core file??
any more input, ideas & hints are more than welcome π
greetings
beckiForum: Fixing WordPress
In reply to: need to modify core file object method WP_Widget_Pages->widgethello duck__boy,
thanks for your reply … i will copy the original and modified code below so you can have a look what i’m trying to achive ->
original code first ->
function widget( $args, $instance ) { extract( $args ); $title = apply_filters('widget_title', empty( $instance['title'] ) ? __( 'Pages' ) : $instance['title'], $instance, $this->id_base); $sortby = empty( $instance['sortby'] ) ? 'menu_order' : $instance['sortby']; $exclude = empty( $instance['exclude'] ) ? '' : $instance['exclude']; if ( $sortby == 'menu_order' ) $sortby = 'menu_order, post_title'; $out = wp_list_pages( apply_filters('widget_pages_args', array('title_li' => '', 'echo' => 0, 'sort_column' => $sortby, 'exclude' => $exclude) ) ); if ( !empty( $out ) ) { echo $before_widget; if ( $title) echo $before_title . $title . $after_title; ?> <ul> <?php echo $out; ?> </ul> <?php echo $after_widget; } }modified function follows ->
function widget( $args, $instance ) { extract( $args ); $title = apply_filters('widget_title', empty( $instance['title'] ) ? __( 'Pages' ) : $instance['title'], $instance, $this->id_base); $sortby = empty( $instance['sortby'] ) ? 'menu_order' : $instance['sortby']; $exclude = empty( $instance['exclude'] ) ? '' : $instance['exclude']; if ( $sortby == 'menu_order' ) $sortby = 'menu_order, post_title'; $out = wp_list_pages( apply_filters('widget_pages_args', array('title_li' => '', 'echo' => 0, 'sort_column' => $sortby, 'exclude' => $exclude) ) ); if ( !empty( $out ) ) { // echo $before_widget; core hack if ( $title) // echo $before_title . $title . $after_title; core hack ?> <ul class="vlist"> <?php echo $out; ?> </ul> <?php // echo $after_widget; core hack } }so … what am i modifying?
first i need to remove the $before & $after_widget
then i need to remove the $title from the widget …
last … i need to add a CSS class named ‘vlist’ to the
‘ul’ container
this is a request from my customer … he doesn’t want to have the widget title ‘pages’what’s the best way to achieve this without modifying the core files?
thanks & fun
beckiForum: Installing WordPress
In reply to: wordpress updates which files have been changed?hello 2ells,
thanks for your reply and pointing me in the right direction.
did also browse through the forum here and someone else was asking a similar question ->thanks & all the best
greetings
beckiForum: Installing WordPress
In reply to: wordpress updates which files have been changed?