show nodes alphabetically
guppydrupal - December 20, 2007 - 08:45
| Project: | Link to content |
| Version: | 5.x-2.x-dev |
| Component: | User interface |
| Category: | task |
| Priority: | normal |
| Assigned: | stBorchert |
| Status: | active |
Jump to:
Description
great module. one quick question. is it possible to show the nodes alphabetically rather than when it was last modified?
thanks
guppy

#1
Hi.
Unfortunately it isn't possible without modifying the module (yet).
Open the file "linktocontent_node.module" (directory "contrib/linktocontent_node") and modify line 236 (
$order):<?phpfunction _linktocontent_node_query_nodes($tid) {
$order = 'n.sticky DESC, n.created DESC';
$descendant_tids = array();
?>
to
<?phpfunction _linktocontent_node_query_nodes($tid) {
$order = 'n.title ASC';
$descendant_tids = array();
?>
Hope, this helps (next version will be sortable by config ;-) ).
greetings,
Stefan
#2
moved task to new development version
#3
update assignment