Allow unpublished links to be included in regular groups

NancyDru - August 30, 2009 - 23:11
Project:Web Links
Version:6.x-2.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:NancyDru
Status:closed
Description

Some themes make a display change to highlight unpublished nodes. For sites using those theme, it would be nice to disregard the status when building the links page.

#1

NancyDru - August 30, 2009 - 23:14

I have reverted the "required" attribute for the Unpublished group title. If it is left blank now, the query will not check the status value, thereby having them display just as any other link would. It also bypasses the Unpublished group on the links page.

#2

NancyDru - August 30, 2009 - 23:49
Status:active» fixed

#3

jonathan1055 - August 30, 2009 - 23:59

This is a nice idea and a good solution.
If only you had thought of it earlier it would have saved us a lot of discussion in #504202: 'Unpublished' title and desc entry fields on admin form ;-)

#4

NancyDru - August 31, 2009 - 00:38

Yeah, oh well... I'm not even sure why it suddenly slapped me upside the head today. But it did take me a bit of deliberation to figure out how to get the query to work the way I wanted. I'm not super happy with a variable_get in there, but managing a static variable would be just as bad, and I didn't want to add any more calling parameters.

#5

NancyDru - September 13, 2009 - 23:33
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.