how do i change the webfm view title. currently it is "Web File Manager". I cannot find it in the module's code.

probably a noob question

CommentFileSizeAuthor
#1 screener.png145.15 KBballerjones

Comments

ballerjones’s picture

StatusFileSize
new145.15 KB

this should be easy. there are only 2 instances of the phrase "Web File Manager" in the module's code. none of them affect the view's title. so how is that changed?

I have attached a screenshot in case I'm not explaining myself adequately.

thanks

ballerjones’s picture

Status: Active » Closed (fixed)

alright, got it on my own

http://drupal.org/project/page_title

thanks anyway (though i didn't get a response).

gintass’s picture

Hmm, you referred to "Page Title 2" module (http://drupal.org/project/page_title), but this module can only change value inside HTML title tag. In your initial request (and your png image) you asked about changing node title "Web File Manager" into something else. That is what I was looking for and I was able to do it by editing page.tpl.php:
In my page.tpl.php file (I was using "AD Blueprint" theme) I found this statement:

          <?php if ($title): ?>
            <h1 class="title">
              <?php print $title ?>
            </h1>
          <?php endif; ?>

I replaced it with the following:

          <?php if ($title!="Web File Manager"): ?>
            <h1 class="title">
              <?php print $title ?>
            </h1>
          <?php else: ?>
            <h1 class="title">
              <?php print "Files" ?>
            </h1>
          <?php endif; ?>

This way I could replace "Web File Manager" with "Files". This may not be the best way, but it worked.

ballerjones’s picture

thanks, you probably knew this, but all I had to do was rename its navigation link. Thanks for code-backed explanation.