Page 1 of 11
uCoz Community » uCoz Modules » Additional Features » Substitution of default phrases
Substitution of default phrases
Natashko
Posts: 3366
Reputation: 171

Message # 1 | 2:21 PM
If you would like to substitute default titles and inscriptions on your website, this thread is for you. What can be substituted?
Substitution of default phrases

Control panel->Main->Substitution of default phrases


Module names [+]
If we change modules names, their names will be changed in Control panel only!
If you would like to change modules names on the website itself, you need to do the following: Any content module->Module settings->Module name->change it and click “Save”.

Go back to your website then. We have only changed the staff that belongs to $MODULE_NAME$ code with default phrases substitution. But the inner inscriptions of the module remained unchanged ("Files" in our example).

To change inner inscriptions (of File Catalog for instance) go to Control panel->Design->Design management (templates). You need to substitute default phrases 6 times. It means it has to be done in all the File Catalog templates, besides Appearance of entries template.
Substitute this part of the code:
Code
<a href="$HOME_PAGE_LINK$"><!--<s5176>-->Main<!--</s>--></a> » <a href="$MODULE_URL$"><!--<s5208>-->Files<!--</s>--></a>

with your own name, like:
Code
<a href="$HOME_PAGE_LINK$"><!--<s5176>-->Main<!--</s>--></a> » <a href="$MODULE_URL$"><!--<s5208>-->Movies<!--</s>--></a>

It can be done with the help of “Quick substitution of template parts” feature in Control panel->Main » Customize design » Quick replacement

Form for registering new site users [+]
Fields of registration form way be changed only, if Local users is enabled on the website as the authorization method. It is not possible to change the fields of the registration form on the websites with uNet authorization.

In the “Fields of a new entry form:” section of some modules there are Custom fields. You can name them with the help of “Substitution of default phrases” option. The important thing is not to mix up with their numbers. Re-named Custom field 1 is going to be displayed in the template as $OTHER1$. And Custom field 2 as $OTHER2$ etc.

Attachments: 3595850.png(30Kb) · 2677447.png(1Kb) · 6679938.png(1Kb)
Ultra
Posts: 23
Reputation: 1

Message # 2 | 2:21 PM
Is there a way to change name of this phrases in forum?

Threads Replies Updates
Thread:
Message from:

TORNADO
Posts: 2
Reputation: 0

Message # 3 | 2:21 PM
Hi,

I'd like to substitute the words like "Replies", "Views", "Thread starter", "Updates" etc. and phrases like "You can post new threads" or "Normal thread (There are new message(s))".
Is it possible? I didn't find it at the "Main » Substitution of default phrases" as well as at "Editing templates" at Forum section.

Animorph
Posts: 2855
Reputation: 189

Message # 4 | 2:21 PM
rebelion
Posts: 130
Reputation: 4

Message # 5 | 2:21 PM
TORNADO, try "design >> quick substitution of template parts"
project-implement.com join rsps 508/525
Ultra
Posts: 23
Reputation: 1

Message # 6 | 2:21 PM
That helps a lot. Thanks!
Animorph
Posts: 2855
Reputation: 189

Message # 7 | 2:21 PM
rebelion, you can't do that with that

TORNADO, this might be useful
http://forum.ucoz.com/forum/9-4835-1


TORNADO
Posts: 2
Reputation: 0

Message # 8 | 2:21 PM
Quote (rebelion)
TORNADO, try "design >> quick substitution of template parts"

Doesn't work. Seems like these phrases are not the part of the customizable templates.

Quote (Animorph)
TORNADO, this might be useful

Looks promising .. I'll try. Thanks!
uCoz Community » uCoz Modules » Additional Features » Substitution of default phrases
Page 1 of 11
Search: