Title is missing when announcement is clicked in block
bdornbush - October 12, 2009 - 23:39
| Project: | Announcements |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This is strange. On one web site, I have the "Announcements: Active" block on the front page. When I hover over an announcement title, it shows the link as /node/nn. When I click on the title, I view the announcement.
But on another site, I have a similar block. When I hover over the title, it shows the link as /announcements/nn. When I click on the title, I see a page title of "Announcements," no announcement title, and the abstract and body of the title.
I tried uninstalling and re-installing the module, but the problem persists.
Any idea what is causing this difference?

#1
My first thought would be permissions differences. There may be a difference in URL alias settings. And another possibility is the way the different themes handle the node title (see the discussions in #505962: Option to NOT link to NODE).
#2
It appears to be a difference in URL alias settings. I use Pathauto module to provide aliases for nodes. For announcements, it is set to "news/[title-raw]" but the block "Announcements: active" provides the link as "/announcements/nn" where "nn" is the node number. What should the Pathauto alias setting be so that the block will play nicely with the URL alias? And why would the block use the "announcements" part?
#3
I suspect this is a legacy thing. AFAICT, there is no need for it to do that.
#4
Okay, it points to node/nnn now.
#5
I tried to download the latest -dev, and got an error message when I tried to unpack it:
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error exit delayed from previous errors
Modules shows that the -dev version was installed, but the link is still "announcements/nn" so I suspect there is something wrong with the -dev file. How do we get it regenerated?
#6
I took a couple of unused styles out of the CSS and committed it. I can open the new -dev.
#7
Thanks. It worked great. I appreciate the great support you provide for this module.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.