Application error and fix

I found a bug here and updated the project. If your already using it around line 71 of the application you'll see

[code]<cfif listGetAt( cgi.script_name, ( listLen( cgi.script_name, '/' ) - 1 ), '/' ) EQ "admin">[/code]

replace with

[code]<cfif GetDirectoryFromPath(cgi.script_name) EQ "/admin/">[/code]

Also when adding a new post there is a check box on the bottom called External Page, this creates a post page that is not listed under posts. So you can add menu pages and track views and allow comments for those pages. Around line 54 you'll find this.

[code]SELECT COUNT(bl.blID) as bcount
FROM blog_tbl bl[/code]

change to

[code]SELECT COUNT(bl.blID) as bcount
FROM blog_tbl bl
WHERE blPage <> 1[/code]



 
1 Comment
I see my code blocks are not working I'll get them finxed tomorrow.
John Ramon - Saturday, August 04, 2007



Leave a comment.



Close
E-mail It