Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-05-20 05:06:45

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Change the Name of tabs like 'Write' & 'Articles'

OK – I’m doing a favor for a mate – but she can’t seem to get a grasp of articles being articles.

I have her site setup so that each page has one article – so in turn each article is in essence a page.

Is there anyway to change the display name or ‘Articles’ to ‘Pages’?

Offline

#2 2008-05-20 06:05:03

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Change the Name of tabs like 'Write' & 'Articles'

May be use javascript (jQuery will do this into 1 line code)?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#3 2008-05-20 07:03:58

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Change the Name of tabs like 'Write' & 'Articles'

If you are proficient with phpMyAdmin or any other database editor: All texts are stored in th txp_lang table. You’d probably find most of the embarrassing strings with this query:

SELECT *
FROM `txp_lang`
WHERE `lang` = 'en-gb'
AND `event` = 'article'
AND `data` LIKE '%article%'

Then change the data field to your liking. Never update your languages again, that would overwrite your changes.

Last edited by wet (2008-05-20 07:04:11)

Offline

#4 2008-05-20 07:33:55

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Change the Name of tabs like 'Write' & 'Articles'

Thanks for the answers… jQuery looks to difficult for me – looks like its time to fire up phpMyadmin… I’ll backup first though :)

Offline

#5 2008-05-20 08:25:43

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Change the Name of tabs like 'Write' & 'Articles'

LOL… this will be very confusing if that person ever comes here to ask for support on pages or articles ;)

Offline

#6 2008-05-20 09:05:07

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Change the Name of tabs like 'Write' & 'Articles'

Take pencil, write word on paper, stick on screen. Person can take off when done ;D


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#7 2008-05-20 11:07:17

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,727
Website

Re: Change the Name of tabs like 'Write' & 'Articles'

If you are proficient with phpMyAdmin or any other database editor: All texts are stored in th txp_lang table.

Can you not download the language file as a text file. Make the changes in the text file in your favourite text editor and then load the language file into the admin > prefs > languages pane?


TXP Builders – finely-crafted code, design and txp

Offline

#8 2008-05-20 12:57:46

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Change the Name of tabs like 'Write' & 'Articles'

jakob wrote:

Can you not download the language file as a text file. Make the changes in the text file in your favourite text editor and then load the language file into the admin > prefs > languages pane?

Yes, that’s what I do – very easy.

Offline

#9 2008-05-20 19:20:16

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Change the Name of tabs like 'Write' & 'Articles'

If you make changes to either the file or the db table, keep in mind that it will be overwritten when upgrading.

Offline

Board footer

Powered by FluxBB