The block Creative Commons Node License is not showing and the node. I don't have any error but the block is not showing anything. Is it because it is not done yet ?!? Is anybody have the same issue ?

Thanks.

Comments

kreynen’s picture

StatusFileSize
new48.3 KB

Should be working. See attached.

You do have the block set to display in an active content region, right?

sw3b’s picture

Yes i set it in the secondary colums. In your screenshot is it the global or node block ? The one who is not showing on my case is the node block. I'm using Display Suite to rebuild the display of nodes and i'm assigning the node bloc via context. I test it without context and it's the same thing.

Thanks for your fast reply I appreciate it.

kreynen’s picture

That is the node block, but just the node block. I think the issue is when node and site are both active, but I'm not in front of a computer to confirm that.

Can you test with just the node block enabled?

sw3b’s picture

It is when it's just a node block !

Maybe I mist understand the node block... is the node block suppose to show the CC assign to a node who is actually show on a page ?!? A bit like the block term actually assign to a node who is display, has a exemple. ?!?

sw3b’s picture

Status: Active » Closed (works as designed)

I do not know why, but now it's showing and working perfectly.

wranvaud’s picture

Status: Closed (works as designed) » Needs review

I have this same problem here. Nothing seems to work in order to make this block appear (although it will appear on new content created after the installation of the module).

I have a log message that states:
Notice: Undefined index: answers in creativecommons_get_questions_array() (line 1306 of /sites/all/modules/creativecommons/creativecommons.module).

And also:
Notice: Undefined property: stdClass::$cc in creativecommons_node_view() (line 1408 of /sites/all/modules/creativecommons/creativecommons.module).

And finally (when trying to save some configurations):
Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in /sites/all/modules/creativecommons/creativecommons.module on line 2187 and defined in db_query() (line 2282 of /includes/database/database.inc).

But I'm not sure this is related...

Then I tried to make CC appear on every page of the site (by checking the checkbox) and I got the following error (described in issue http://drupal.org/node/1121024):

Fatal error: Call to a member function get_html() on a non-object in /sites/all/modules/creativecommons/theme/theme.inc on line 17

I'm giving up on this tonight, spent too many hours on this already.

Taxoman’s picture

Title: Creative Commons Node License block not showing ! » Creative Commons Node License block not showing
Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Component: User interface » Code
Priority: Normal » Major
Status: Needs review » Active

Subscribing

danst0’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha1
StatusFileSize
new215.08 KB

Same here, I do not see any CC reference or graphics, and there are no RDF tags in the source.

See error messages in the screenshot.

Daniel

kreynen’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.0-alpha2
Status: Active » Needs work

Site license block is now displayed, but still needs work on the text replacement.