First of all: This is definitely one of the modules that I needed most.
Great work !!!Everything works fine for me but I get an error when I go to the settings ==> LinkToContent Page.
There I can select which extensions should be used.
The default is activated.
Beneath that I have furthermore the choice of selecting:
-categories
-taxonomy
-taxonomy content
I would liket to enable the categories.
If I do so, my drupal gets me the error-message:
"Validation error, please try again. If this error persists, please contact the site administrator."
As I'm the administrator...
So, perhaps I made somethign wrong within the categories module (also just installed, but this works as far as i see stable).
I dont know if this is a bug. I think not.
Seems that my drupal is doing something wired.
Perhaps somebody has an idea???
Thanks everybody in advance.
gb5256
Comments
Comment #1
stborchertOk, this is not the latest version (should include "forum" as well). But that doesn't matter.
Hm. I never saw this message before.
Which drupal version do you use?
Perhaps 4.7.4?
Ah, I got it: v4.7.4 requires a new form-tag ("form_token"). If it is not present, validation will fail.
I'll will fix this.
Thanks for your feedback.
Comment #2
stborchertUpdated linktocontent.module as descriped in the converting guide.
I suggest you download the latest package and replace linktocontent.module (v1.8) with the newest version (v1.9; see above) if it isn't already in.
Please reply if it is working.
Comment #3
gb5256 commentedHi, so that fix works. I do not receive any more errors on that page.
But:
If I create a new node, and I click on the LinkToNode in the TinyMCE it opens the popup correctly.
There my Containers and Categories are displayed (correctly).
But no nodes are shown.
I do have nodes in all my categories and containers.
Do I miss something or did I setup my categories and/or containers wrong?
gb5256
Comment #4
stborchertDo you have selected some node types in the node-type-fieldset?
Comment #5
gb5256 commentedI added a screenshot.
What is your script normally supposed to do?
Am I right, that in the screenshot, all the nodes which are not in containers/categories should be displayed?
Furthermore, If I select a container and a category, also nothing is displayed?
Yes, I'm using Drupal 4.7.4.
Comment #6
gb5256 commentedhere is another screenshot, which shows my types
Comment #7
stborchertOk, lets try something.
Guess you have the following structure:
Please got to "http://[your_drupal_path]/?q=ltc/linktonode/".
There you should see something like this:
Then enter "http://[your_drupal_path]/?q=ltc/linktonode/62" (replace the number by the displayed "vid").
You should see something similar:
Result of "http://[your_drupal_path]/?q=ltc/linktonode/62/63":
(To go to a deeper level just replace the last number by the terms tid.)
If you see some nodes in the results (try to take a vocabulary where you've got a story/page in one of the first terms) everything works fine.
I assume your browser uses a cached version of the javascript files. Please call them (unctions.js, dropdown.js, nodelist.js) directly in your browser and try again to call the plugin.
Hopefully it will work now.
Comment #8
gb5256 commentedSo, it looks like I did something wrong with my nodes.
If I do: http:/ ... /cms2/?q=ltc/linktonode/49
this happens:
{ "category": [ { "vid": "49", "tid": "50", "title": "Links to Multimedia-Sites" } ], "node": { } }After that I point at: http://.../cms2/?q=ltc/linktonode/49/50
this happens:
{ "category": false, "node": { } }Inside this Category I created three nodes. They are visible in my menu-Structure within this.
Comment #9
stborchertHm, tricky.
"category": falsetells, that there are no sub-categories.I've created two screenshots:
with and without "container" and "category" enabled as content type.
Could you please check if you get similar results in the plugins node listing.
Comment #10
gb5256 commentedNow we are getting closer (well, actually you are...):
So, if I enable the types Container and Category they do show up when I create a new linktonode as is shown in your first screenshot.
(so: Perfect!)
But, If I not enable them, nothing is shown.
(In your second screenshot I see the nodes that are not in categories or containers, right?)
Do I have to set up something with this non-categorized nodes?
Comment #11
stborchertSounds good.
Ähm, not really. The dropdown shows the two sub-categories of "vocabulary #11".
Because no nodes are stored in "vocabulary #11" the node list is empty.
In the first screenshot the two categories are listed (because you've checked the type "category" in settings").
If their are nodes in the category (see screenshot) they are listed additionally to the categories (highlighted).
Comment #12
gb5256 commentedI think i dont see what is wrong (stehe auf dem Schlauch...).
Please take a look at the attached screenshot.
If I understand you module right, i should see in that case all the nodes that are in the Container "Links" and in the Category "Links to Multimedia".
But there is nothing.
In my Menu-Structure everything shows up (if I click on "links" and "Links to Multimedia" my three nodes appear.
???
I'm so sorry that you have to struggle with me.
Let us discuss my following statement:
"Your module gives me the ability to link to EVERY node that I have created within my Drupal. They dont need to be inside a container or category"
True or Not?
Comment #13
stborchertIch auch ;-)
[By the way, do you have skype or something similar, then we can talk faster and nail down this pronlem (you could mail me).
I am away for the next 6 hours so we can proceed tomorrow.]
Right.
No problem. I would have wondered if there where no more problems.
Unfortunately: false.
You will only see nodes that are "stored" inside a container/category and which type is one of the selected.
I will change the module so that nodes that do not belong to a container are listed on "the first page".
For other types (for example: event; I do not now know whether events are listed or not) I will add an extension from time to time.
Comment #14
stborchertI'm back again.
Please skype ("st._.borchert" without both dots) or contact me so we can fix the problem.
Comment #15
stborchertI added a patch to display uncategorized nodes in the "first" listing.
Do you have a positive result?
Comment #16
gb5256 commentedYOU CAN CLOSE THIS ISSUE.
YOUR PATCH WORKED PERFECT.
(ich werde heute abend mal skypen um mich noch persönlich zu bedanken...)
gb5256
Comment #17
stborchertNice to hear.
I will commit the patched file.
Comment #18
stborchertlinktonode_default.inc