terms of use worked well on 6 - but on 7 no node body visible on create account …
I set up my terms of use with a basic page - gave the title "Terms of use" into terms of use settings - result no node body visible on create account - same procedure wehen using id instead and regardless of cleared cahed or not …

Comments

andrenoronha’s picture

Same here!

Sborsody’s picture

subscribe

Sborsody’s picture

There's an error showing up in the logs: "No node is set to use as terms of use in the currecnt language [en]."

It would seem that there's something not working right with setting up the node in the configuration section. I put in a node id, but the variable terms_of_use_node_id does not get set. Devel moduel variable editor is showing blank for that variable.

Sborsody’s picture

Here's the issue: things get messed up with the configuration form if one leaves the "Title of the post where your Terms of Use are published" field blank and clicks on "I prefer to specify the node id" button then tries to save the form with the node id. I noticed that the "Label for the checkbox " field change I had made wasn't sticking either when trying to specify the node id.

After clearing cache and doing something else for awhile, I revisted the configuration page and typed in the title of the node rather than clicking on the button to specify the node id. Now things seem to be working and the terms_of_use_node_id variable is no longer blank.

andrenoronha’s picture

Thank you Sborsody!

choy’s picture

not a very logical configuration - however in my case
doesn't work like that, neither with name, neither with id - the node continue unviewable at the registration page -
Log message is: The body field of the terms of use node was empty. Please check the the nodes content.

Sborsody’s picture

Hrm... Sounds like it knew of the right node but could not read it. If I had to guess, I'd say check permissions/promoted to front page status/published status. If I recall correctly, you need to ensure the node is not promoted to the front page.

choy’s picture

The log reports: The body field of the terms of use node was empty. Please check the the nodes content.

I tried both solution - per title in my case "Terms of use" and per node number "123"
Nothing works - flush caches doesn't help - The terms of use node is set to published, nothing else

So why terms of use doesn't recognize ... ?

Arnion’s picture

choy’s picture

Component: Miscellaneous » Code

All propsals indicated here above don't work on my installation Neither the node title neither the node id is recognized on the regstration site - just the agreement box is to see - but no terms of use node is recognized (as report as well the log again) - If there is no way to repair this bug, I fear the stays unusable for me :-(

Sborsody’s picture

ChoY,

It would be helpful if you provided more detail about your installation. For example, are you using any sort of node or field access kind of module that restricts permissions? You posted earlier that the log message was "The body field of the terms of use node was empty" so it sounds like the problem is related to Terms of Use being unable to read the body field of that node for some reason.

choy’s picture

As told above I tried every kind of variation to install terms of use - including on a clean drupal7 with nothing else than drupal core - always with the same result: "The body field of the terms of use node was empty" -
On my live version I use as extra fields for registration fields generated by module "name" and "profile2" - the node itselfs make use of the module content_access. Additionally he is translatable and translated with the module i18n. - All anonym and users have right to see the content.
However on my test-site all this modules are not avtivated and and I get the same non-results by terms of use

nicolasdiogo’s picture

same problem here
i tried entering the number or the page title

flushed all cache

tried again but nothing seems to work.

any suggestions? or is there an alternative module?

thanks,

spacechick’s picture

StatusFileSize
new220.31 KB

Pretty much the same thing, but here's my error code:

spacechick’s picture

StatusFileSize
new28.28 KB
new203.43 KB

The title will save if I use the node ID, but the page's "Terms of Use" body text still doesn't show up when creating a new account.

More info: Running Acquia Dev Desktop distribution, 7.4.4 core, with a WAMP stack...

And, in case you're wondering, I did flush cache and the other things suggested above...

Sborsody’s picture

@spacechick

It looks like you specified the path of the node, not the title. Specifying by node id never worked for me.

spacechick’s picture

Thanks, @Sborsody, that's exactly what I did. Specifying the title rather than the path took care of it.

kenorb’s picture

the same problem

Québec’s picture

edit:

Hi, it finally worked (new install) on a new install with the «translate» patch. Could it be a problem with Profile2 module? I have not installed it yet this time. But the first time, when Terms_of_Use did not work, I had Profile2 installed with fields to fill on registration.

Hi,

I have experienced the same problem. I did the change to line 26 in terms_of_use.admin.inc.

The default language is French.

What is the solution? Thank you for your time.

kars-t’s picture

Assigned: choy » Unassigned
kars-t’s picture

Status: Active » Closed (duplicate)
Sborsody’s picture

Status: Closed (duplicate) » Active

Issue can't be a duplicate of itself.

kars-t’s picture

Status: Active » Closed (duplicate)

Hi

uups yes the issue was #1378600: Undefined language in user_registration_form_alter

Please test the latest dev and if the body still doesn't show up please check the logs again if there are any errors. And make sure there really is a node in the desired language. Maybe field translation could be a problem here.