Closed (fixed)
Project:
Classified Ads
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2012 at 17:51 UTC
Updated:
21 Nov 2012 at 07:17 UTC
I apologize if this is an odd request but here goes... This module is perfect for what we want to do on our site except we'd like to call it something other than "Classified Ads". Specifically we'd like to use 'Friendly FreeCycling".
Altered all references that I can find in the PHP code but still the page for this, the navigation menu item and main classified ads breadcrumb and heading all still say "Classified Ads". Clearly I am missing something here. How can I make everything use "Friendly FreeCycling" instead of "Classified ads".
Thanks
Patrick
Houston, Texas
Comments
Comment #1
tireregroover commentedOK I think I have it now. The module was retaining the "Classified Ads" text because I had installed it that way and then changed names. Seems to work if I do the name change in the module files and THEN add the module. At least so far.
Comment #2
fgmIt's good that you've found a solution, but note that you should /never/ modify the files in a module, because you will have to change them again and again on each update of the module. Not that I expect any further release on Drupal 6 now that we're reading for Drupal 8, though...
To change the name of the menu link, just navigate to
admin/structure/menu/manage/navigationon your site and clickediton the Classified Ads link, then change it to whatever you want.Changing the breadcrumb is a bit more challenging, though, as it will involve a tiny bit of code: implement hook_process_page() in a module for your site or, if you have no custom module, in the
template.phpfile in your custom theme, to override the value in$variables['breadcrumb']with the text you want.