Unable to rename the block from "Current Jobs"

jamesmcd - January 26, 2009 - 19:40
Project:Job Posting
Version:6.x-2.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have set up a panel and a pane to display my block "Current Jobs" I would like to change the title of "Current Jobs" to "Lastest Job Vacancies" but I do not seem able to do this. I have tried renaming the block, changing the block title to etc but it still stays titled "Current Jobs"

What am I doing wrong?

Any pointers, much appreciated thanks

#1

gmarus - September 30, 2009 - 17:17
Status:active» closed

#2

jamesmcd - October 1, 2009 - 22:44
Status:closed» active

Was there something wrong with my request? I would still like to achieve this, if someone could point me in the right direction

Many thanks

#3

gmarus - October 1, 2009 - 23:07

No, there wasn't anything wrong with your request. I did an overly zealous purge of the issues queue yesterday and closed your request, assuming (incorrectly it seems) that it was long forgotten. I know I must have missed it the first time around. Sorry about that.

Just search in job_posting.module for all instances of the string 'Current jobs' and change it to what you want. There are more than one of them because it's used as title for the listing page as well as the block and menu items. HTH

#4

gmarus - October 1, 2009 - 23:16

Re-reading your request I realize you just want the block title changed. That should be easily done through site building->blocks and then 'configure' and works on my test server. How are you trying to rename the block?

#5

whittonj - November 4, 2009 - 23:43

I tried doing this (changed the name in 3 places in job_posting.module) and it did not change the title of the page that lists the jobs. Do I need to rebuild anything or run cron?? to get the change to take affect? Should I have done this before I entered anything.

It really looks like it should have changed the page title. I'm at a loss.

#6

gmarus - November 5, 2009 - 00:11

Forget what I wrote earlier about editing job_posting.module; that's for the menu items, etc. and I misunderstood the OP's question first time around.

To change the title of the block you just do it through the admin interface:

Administer -> Site Building -> Blocks

Find the item in the list ('Current jobs' by default) and click the 'configure' link then just change it to whatever you want in the form provided.

#7

gmarus - November 5, 2009 - 00:15

...also, if caching is the issue for you just disable it while you're developing/testing

#8

whittonj - November 5, 2009 - 17:15

Sorry- I was trying to change the node title name for the list of jobs. http://www.esw.org/jobs - no matter what I change- in code in blocks in content types it doesn't change the title.

I'm either missing something or just drawing a blank on what I need to do here.

#9

gmarus - November 5, 2009 - 19:02

Are you talking about the title for the default node listing page at /jobs? If so, the easiest way to change this is by going to Administer->Menus and enable it in the list, then click 'edit' link to change.

#10

whittonj - November 5, 2009 - 19:28

My menu item has been edited to "Job postings" and the title for the default node listing page at /jobs is still "Current jobs".

It has to be in the module file. I'm probably not overwriting something server side or something stupid like that. Need to check some items.

 
 

Drupal is a registered trademark of Dries Buytaert.