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

spritefully yours

Comments

colorado’s picture

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."

sprite’s picture

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 ...

sepeck’s picture

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

colorado’s picture

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."

sulleleven’s picture

autopath works fine for this.

whicks’s picture

divrom’s picture

Yep, I was just about to say 'why not use locale', when I followed whicks link! :-)