yyeric
Forum Replies Created
-
I’ve worked out to generate a list of tag for NGG and to link them to create post for tag when you do a ?tag=blad on URL.
Will update in a few hours
Forum: Fixing WordPress
In reply to: SQL doesn’t return valuesThat is just brilliant, I will need to find more doco to work on my SQL for WP.
Thanks Otto
Eric
I am still pretty much in the dark as to how yo got it to work! Seems real simple but just couldn’t figure it out.
Do you have a post (titled Customer Gallery), which list all the tags, and create another post which includes your php.
How come it doesn’t seem to connect the dots for me.
Perhaps I am missing something from your method.
E
Mate, Not sure if you could give me a hand with this, but I am working on extracting all my tags from the database
<?php global $wpdb; $sql = 'SELECT COUNT(*) FROM wp_ngg_tags '; $count= $wpdb->get_var($sql); echo $count; echo "<hr>"; for ( $counter = 1; $counter <= $count; ) { $row = 'SELECT name FROM wp_ngg_tags where id='.$counter; $name= $wpdb->get_var($row); echo $name; $counter=$counter+1; } ?>do you know why it doesn’t display all the tag names?
Cheers,
Eric
Thanks mate,
Hope you don’t mind me being a pain, but could you walk me through the setup?
1. I have exec-php setup. It’s nice and working.
2. I insert your php tag onto a post (here)
3. how do I actually go from here?Any assistance will help,
Cheers,
Eric
Hi Realsol,
Very Clever! Is it possible that you could show us an example of how it actually works from the front end?
I have been looking for something like tag cloud for NextGen image tags too.
Cheers,
Eric