Author |
Message |
cornishpixie
Regular


Joined: Dec 15, 2008
Posts: 79
|
Posted:
Sat Jan 31, 2009 12:57 pm |
|
Not sure if this is the right place on the forum, but can you change the name of the Encyclopedia and if so, is it just a simple case of editing the module file? Or is it linked to lots of other files that need editing to reflect the new name?
Thank you. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Jan 31, 2009 1:13 pm |
|
Having not used it all that much, I can't recall if there is anything lurking under the covers. But, my gut tells me it is not an issue. However, what I might suggest instead is copying the entire folder to a new named folder and then also check for any hardcodings of the name within the index.php (doubtful there is). |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
cornishpixie

|
Posted:
Sat Jan 31, 2009 1:17 pm |
|
Thanks for your speedy reply.
I've never used it before either, but on one site it's come in very handy. Pity there's no way to edit the alphabet letters into words tho, as they're a bit of a pain.
Will try what you suggest, thank you Montego |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sat Jan 31, 2009 1:22 pm |
|
I'm not sure if there are any hard-coded references to the Encyclopedia module in the module scripts, but there shouldn't be any references elsewhere. Just scan all the files in the modules/Encyclopedia folder and replace any with what you want the new module name to be. Then rename the Encyclopedia module and active the new module in your admin modules function. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
cornishpixie

|
Posted:
Sat Jan 31, 2009 1:27 pm |
|
Thanks will do that. I checked index.php and there's no mention of it in there.
So in theory, I could also change the A,B,C,D etc to names in the encyclopedia files without any problems |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sat Jan 31, 2009 4:19 pm |
|
Why do you need to?
You may already know this, but you can change the name of the link in the Modules menu by changing the "Custom Module Name" in the Modules admin panel
Just a thought  |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sat Jan 31, 2009 4:27 pm |
|
Its possible you will get different issues if you change the A,B,C
I have added there umlauts and got more or less problems with the search function and the rewrite rules.
But try it out and test it.
Good luck ! |
|
|
|
 |
cornishpixie

|
Posted:
Sat Jan 31, 2009 4:55 pm |
|
Thanks both. Much appreciated. |
|
|
|
 |
spasticdonkey
RavenNuke(tm) Development Team

Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Sun Feb 01, 2009 11:51 am |
|
On a somewhat related note, if you use images in Encyclopedia you will run into issues with the Search function "bolding" file names... I just commented out this line in Encyclopedia/index.php to remove the bold tags from search.
Code:// $contentpages[$arrayelement] = eregi_replace($query,"<b>$query</b>",$contentpages[$arrayelement]);
|
|
|
|
|
 |
|