[ This is a test blog, with posts about the development of b2, and comments ]
[ Bugs/suggestions ? Check the Forums ! ]
08.11.01
Michel, is there a function in b2 to collect just the titles of cafelog posts? I'm working on something, and hopefully it will see day of light here.
ian @
08:09:30 589
:: comments
Daynah - email - url
something like this? http://daynah.net/girl/snow.php?x=archive
08.11.01 @ 09:07:45 630
ian - email - url
no... just to collect the titles of posts, without having to code in MySQL database connect stuff (hopefully)
08.11.01 @ 17:00:40 958
Ricardo - email - url
Go to your b2template.functions.php and look for the function list_categories.
Duplicate it, give it a unique name like list_posttitles and change existing to the appropriate tables and and field names.
Include it in any page as you include any other function.
08.11.01 @ 17:31:02 979
michel v - email - url
Since the posts are stored in the db, you need to access the db to get their titles...
08.11.01 @ 20:54:35 121
ian - email - url
ey, ricardo's method is nice. but i'm doing this in perl.
okay, mysql. i suck at mysql, i wish there ain't such a thing... but thank heaven for perl modules.
09.11.01 @ 07:33:40 565
:: leave a comment
:: return to the blog
|