LostInNetwork
Forum Replies Created
-
Forum: Plugins
In reply to: Implementing JS Toggle Boxes for the widgets widget works pluginsSolved. The following code works:
Edited widget_links function in widgets.php version 1.0.20060711
Tested on WordPress 2.0.7
function widget_links($args) {
extract($args);
global $wpdb;
?><?php
echo “$before_widget”;
echo “< ul >”;// Loop through all link categories
$link_cats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->linkcategories”);
foreach ($link_cats as $link_cat) {// Set current link category id
$cat_id = $link_cat->cat_id;// Create a new
- element in the list of link categories.
echo ‘< li id=”linkcat-‘.$cat_id.'”>’;
// This new list element begins with a title
echo $before_title;
echo ”.$link_cat->cat_name.’ ‘;// and the expand/collapse link
echo function_exists(‘JSTB_box_toggle’)? JSTB_box_toggle(‘[+/-]’, ‘toggle’, ‘Click to toggle’, ‘cookie_link_’.$cat_id, ‘toggle_link_’.$cat_id) :”;
echo $after_title;// followed by a list of links
echo ‘< ul id=”toggle_link_’.$cat_id.'” class=”JSTB_shown”>’;
wp_get_links($link_cat->cat_id);
echo “< /ul >”;// Initialize
echo function_exists(‘JSTB_box_init’)? JSTB_box_init(‘cookie_link_’.$cat_id, ‘JSTB_shown’, ‘toggle_link_’.$cat_id) :”;
// and this particular category of links is done
echo “< /li >”;// Next round in loop begins
}// All link categories done.
echo “< /ul >”;
echo “$after_widget”;
?><?php
}Forum: Plugins
In reply to: Photo Gallery Page: What’s the best plugin to use?Gallery2 & WPG2 plugin.
Then edit your theme scripts to include a link to Gallery2 in the page list. You will get your WP header, WP footer and Gallery2 in the middle. Nice.
Forum: Requests and Feedback
In reply to: Am I allowed to charge money for making a WP site?Read the license: http://codex.wordpress.org/GPL
What does it say about modifications and derivative work? What we say here, is irrelevant. Only the license counts.
Forum: Plugins
In reply to: Implementing JS Toggle Boxes for the widgets widget works pluginsNote: In the code above, I have inserted some spaces inside the UL and LI tags, so that they would display as plain code.
Forum: Plugins
In reply to: Implementing JS Toggle Boxes for the widgets widget works pluginsNote: In the code above, I have inserted some spaces inside the UL and LI tags, so that they would display as plain code.
Forum: Fixing WordPress
In reply to: Blogroll: Images instead of text?Found it. I need to go to the “link categories” page and enable image display for relevant link categories.
Forum: Requests and Feedback
In reply to: Bring Back Link Categories PageIs it true that I cannot choose the sorting order of my links anymore in WordPress 2.1? All I wanted was manual sorting, and now even the automatic options are gone?
Please clarify.
It would be completely stupid to remove such a wonderful customization option. Make it optional, at least! Or even better: let us choose the sorting order of items in ALL categories. Posts, pages, links…
Forum: Themes and Templates
In reply to: Display 1 category onlyHave you tried making http://www.domain.com/category/xyz your start page? There’s a way of doing that – at least by adding a file to your theme directory…
Forum: Plugins
In reply to: Role Manager fix for WP 2.1Automatic sorting of roles by user level would be a nice thing, too. Any ideas of how to do that?
Forum: Plugins
In reply to: Does a photo plugin exist that…I do not really know what these “tags” are, but keywords is part of the “IPTC headers” and “IPTC Core” professional photo metadata standards. These are supported by Fotoware, Iview Media Pro, ACDSee and others. And Adobe. The Adobe consumer applications use “tags”, though. I guess that these “tags” are stored as keywords, but I’m not sure. Maybe it’s a new fancy name, or maybe it’s different.
Take a look at the Gallery2 image gallery and the WPG2 plugin. Lots of metadata visible there… EXIF and all…
Forum: Your WordPress
In reply to: Fragile – WPthemeA nice idea, but you need to work on the cracks. They somehow remind be of red eyes (veins), cut hair, grass or birds. Don’t know why. Maybe it’s the color or the form of the crack areas or the density… You could try extending the cracked areas – esp. at the top to make it less eye like / round, less flying… The bottom cracks are too sparse making them to feel like added trash. More cracks! The idea is good, but you need to finetune it a little. Otherwise, very nice!
Forum: Fixing WordPress
In reply to: Two quick questionsDELETED (posting timeout -> duplicate entry)
Forum: Fixing WordPress
In reply to: Two quick questionsDELETED (posting timeout -> duplicate entry)
Forum: Fixing WordPress
In reply to: Two quick questionsDid you not notice this:
“The lossless XML import and export makes it easy for you to move your content between WordPress blogs.”
Forum: Fixing WordPress
In reply to: Two quick questionsThe “Database backup” plugin stores your database to filesystem. You just need to ftp it to your pc.
- element in the list of link categories.