Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By sprite on
Is it possible to -and- how do I suppress display of the "aggregator2" page heading when a user selects view items from an aggregator2 feed?
TNX
Comments
There may be a better way/s
There may be a better way/s but you could:
Find this line in aggregator2.module:
$items[] = array('path' => 'aggregator2/sources', 'title' => t('aggregator2'),
and replace or remove that last instance of the text, aggregator2.
---
"Please drupal responsibly: give as much help as you get."
tnx colorado - I decided to hack the module ...
Colorado, I had considered hacking the module code previously.
I was relatively certain there wasn't any way to accomplish this interactively.
Hardcoded strings like that are one of my misgivings about drupal.
So....
I gave in and hacked the module.
I guess I am going to have to start maintaining a private drupal blog documenting the strings like that I have hacked.
Drupal would be really, really, cooler if every single one of such strings were available for modification through the admin user-interface for each module, or part a higher level overall module admin user-interface for modifying all the strings like that within modules and drupal core code itself.
(... a drupal re-design would begin by placing more of everything in the database, where ALL the data belongs, IMPO.)
... Taxonomies just don't work for all these cases either especially since the feeds evolve on the fly, despite the autotaxonomy feature.
Wouldn't it be cool to have a higher level query system that enabled the queries to be named and saved just as objects like rss feeds have names?
spritefully yours
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
I think the pathauto has
I think the pathauto has this functionality to rewrite on the fly. I may be wrong though.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Hmm... I looked at the code
Hmm... I looked at the code in pathauto_node.inc which is a part of that module, but I couldn't tell if it just rewrites URLs or if it will also change the title from what is hard-coded in the module.
---
"Please drupal responsibly: give as much help as you get."
autopath works fine for
autopath works fine for this.
or this?
Why not http://drupal.org/node/24593 ?
Yep, I was just about to say
Yep, I was just about to say 'why not use locale', when I followed whicks link! :-)