HDI: aggregator2 - how do I suppress display of "aggregator2" title heading?

sprite - February 13, 2006 - 21:12

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

There may be a better way/s

colorado - February 13, 2006 - 22:49

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

sprite - February 14, 2006 - 00:47

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

I think the pathauto has

sepeck - February 13, 2006 - 23:51

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

Hmm... I looked at the code

colorado - February 14, 2006 - 01:14

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

sulleleven - March 3, 2006 - 20:06

autopath works fine for this.

or this?

whicks - April 10, 2006 - 18:37

Yep, I was just about to say

divrom - May 4, 2006 - 10:30

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

 
 

Drupal is a registered trademark of Dries Buytaert.