From: Victor Stone <lists@fo...> - 2005-07-14 23:55:22
Just released 0.2.2
There's a breaking change to folks using 'pretty urls' you can read
about here (you'll need to update your ReRewrite rules):
The phpBB2 template is completely different, be prepared for a complete
replacement when you download the new release.
Finally, not mentioned in the release note: the API for getting remixes
and sources has changed which I know will break some of you writing
The syntax is now:
$remix_sources =& CCRemixSources::GetTable();
$parents = $remix_sources->GetSources($row);
GetSourcesFromID is now GetSources and takes a db row instead of an ID.
Likewise GetRemixesFromID($id) becomes GetRemixes($row):
$remixes =& CCRemixes::GetTable();
$children = $remixes->GetRemixes($row);
I also realized (too late for this release) that the default return
values for these are actually truncated. There is a temporary workaround
hack for this that has to do with when you get the uploads table:
// Note use of 'new' instead of GetTable()
$uploads = new CCUploads();
// Add this flag to every row:
$uploads->AddExtraColumn("'on' as works_page");
I haven't tried this so there's every reason to believe it doesn't work
but, you know, it should.
I'll obviate the need for the workaround by next release.
Get latest updates about Open Source Projects, Conferences and News.