Closed (duplicate)
Project:
Panels
Version:
5.x-2.0-beta2
Component:
Panel pages
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2008 at 14:36 UTC
Updated:
7 Jul 2008 at 13:39 UTC
Jump to comment: Most recent
Comments
Comment #1
merlinofchaos commentedI'm a little confused. View panes and node content panes both contain a "link title to..." checkbox. It's right there, so if you're asking this question I'm concerned you're doing something unexpected and you aren't doing a good job of precisely describing your setup.
Comment #2
aschiwi commentedThank you for your reply. I did see the "link title to..." for views. For some reason the view still didnt get linked, which is solved now (no clue why). There is no "link title to..." for nodes though (i'm sure there is if you say there is but i cant see it :-) I have titles linked to the nodes now but i had to use a workaround - i checked the first checkbox (i think it would be called "overwrite title" in english) and left the text field next to it empty AND i checked the checkbox "leave node title". This gives me nodes with titles linked to them. Is this the way it's supposed to work? If so, then i guess my issue is solved. Thanks again for this awesome awesome module, there are so many cool things to do with it!
Comment #3
aschiwi commentedOk, I found a page in the handbook that adds a solution: http://drupal.org/node/207381. Adding a node like that gives me the option "link title to". However, my node was linked to mydomain.com/node. I solved this by overwriting the title and wrapping my title in anchor tags with the correct link.
Comment #4
merlinofchaos commentedAhh, perhaps the legacy node system doesn't quite support the link-to-node title thing that got added later. I can probably fix that. Also it appears to be a known bug that the nodes aren't linking correctly; the nid is getting lost. =(
Comment #5
aschiwi commentedFor me i'ts cool that i'm able to wrap the title in anchor tags, that way i can also overwrite the url (as the node url wasnt event the one i wanted to link to) :-)
Anyway, this is awesome, looking forward to the improvements.
Comment #6
cellmaker commentedOh, thank god somebody else saw this. I've been pulling my hair out wondering why my title links were going nowhere while the "Add a comment" links for the same nodes worked fine. Being new to Drupal, I thought it was just that I wasn't "getting" something about context and content in panels.
I queried this in the forums but got no takers. Same on IRC.
Thanks for anything you can do to update the module to fix this.
Charlie
Comment #7
kdebaas commentedDuplicate
You could go into node_content.inc, and correct it yourself in the meantime:
$block->title_link = "node/$nide->nid";should be
$block->title_link = "node/$node->nid";(edit: changed typo in hyperlink)
This issue has been fixed in HEAD by the way
Comment #8
cellmaker commentedExcellent. Many thanks for pointing out the error. That works a treat.
Comment #9
stevebayerin commentedThat fixed it for me too.
Comment #10
giorgio79 commentedHi,
I have just downloaded the current beta version, but I am not seeing the
"Link title to node"
option on the Node Content popup. It is a cck content type any ideas?
Here are the options I see:
" Enter the title or NID of a post:
To use a NID from the URL, you may use %0, %1, ..., %N to get URL arguments. Or use @0, @1, @2, ..., @N to use arguments passed into the panel.
Override title
You may use %keywords from contexts, as well as %title to contain the original title.
Teaser
Check here to show only the node teaser
Display links
Check here to display the links with the post.
Leave node title
Advanced: if checked, do not touch the node title; this can cause the node title to appear twice unless your theme is aware of this.
Identifier:
Whatever is placed here will appear in $node->panel_identifier to make it easier to theme a node or part of a node as necessary.
CSS ID:
CSS ID to apply to this content. This may be blank.
CSS class:
CSS class to apply to this content. This may be blank.
Access:
anonymous user
authenticated user
Only the checked roles will be able to see this pane; if no roles are checked, access will not be restricted.
Add Pane"
Cheers,
G
Comment #11
giorgio79 commentedAh I got it, the context pane was not saved after I set the argument. When I did the Link to node title appeared.
Comment #12
stefan93 commentedhi, in parameters panel just check "Link title to view" and in "Override URL" write your url.