#1 April 6, 2012 2:56pm

oliver
Member
Registered: April 6, 2012
Posts: 8

In which the hero is forsaken by the tags.

Even on the example site install, tags for a page and/or "wonders" module are not retaining their tags, and it doesn't seem to be writing to the database either.


The great wisdom of the docs has yielded no answers. What setting have I forgotten, oh people of the Big Tree?

Offline

#2 April 6, 2012 3:38pm

benplum
Administrator
Registered: March 30, 2012
Posts: 54

Re: In which the hero is forsaken by the tags.

Nice find! This is a bug that has been successfully squashed in the beta 2 release.

If you're feeling adventurous you can fix it your self. Open up core/inc/bigtree/admin.php in your favorite text editor and look for the createTag() function. The issue is that the object $cms is out of scope and needs to be globalized:

// Change:
function createTag($tag) {   
    $tag = strtolower(html_entity_decode($tag));
   
// To:
function createTag($tag) {   
    global $cms;
   
    $tag = strtolower(html_entity_decode($tag));

Offline

#3 April 6, 2012 3:56pm

oliver
Member
Registered: April 6, 2012
Posts: 8

Re: In which the hero is forsaken by the tags.

Rejoice! The humble hero levels up. Ovations for the swiftness of The Big Tree bug squash.



Offline

#4 April 6, 2012 8:03pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: In which the hero is forsaken by the tags.

This bug should be fixed in the 4.0 beta 2 release that is now available for download.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.