1 x_rayden Oct 24, 2006 17:08
3 edb Oct 24, 2006 23:58
Isn't the order you describe 'stock' for a linkblog? The easiest way to get rid of the 'commentary' part is to not have content in your linkblog posts. I don't know how to cause linkblog links to open in a new window, but 2 out of 3 is a good head start eh?
4 blueyed Oct 24, 2006 23:59
See here for the methods of the $DB global: http://doc.b2evolution.net/v-1-8/evocore/DB.html
But it sounds like you're better off copying the /skins/_linkblog.php file to your skin directory and adjust it (instead of including the general one).
See http://doc.b2evolution.net/v-1-8/__filesource/fsource_evoskins__blogsskins_linkblog.php.html
Ok, here to check if i'm right on what i'm trying
i'll trie to do a new function called like "TrueLinkPage"
it will do something like this :
function TrueLinkPage(# of blog to list) {
-check connection to DB
-do a search for "select * from evo_categories where cat_blog_ID = # of blog"
- take rows into var "$Catz"
- for each (mysql_fetch_array($Catz)) {
- search for "select * from post_cats, Post WHERE $Catz['cat_id'] = post_cat_id AND post_cats.post_blog_id = post.post_blog_id"
}
}
i think this is what i need to do... but i'll have to check how b2evo handle DB connection / query / responses...