[SOLVED] Changing words in Simplex theme
[SOLVED] Changing words in Simplex theme
Hi,
I am running cmsms 2.0 "Australia".
I am trying to translate some of the words in the Simplex theme, for example the "You are here:" and "Next page:", however I cannot seem to find where in the code this is written.
I found the slogan and some other bits, but not these.
The website can be seen on www.jordemoderhænder.dk (It's in Danish)
Can anyone help me?
I am running cmsms 2.0 "Australia".
I am trying to translate some of the words in the Simplex theme, for example the "You are here:" and "Next page:", however I cannot seem to find where in the code this is written.
I found the slogan and some other bits, but not these.
The website can be seen on www.jordemoderhænder.dk (It's in Danish)
Can anyone help me?
Last edited by Kristian on Wed Oct 07, 2015 5:41 pm, edited 1 time in total.
Re: Changing words in Simplex theme
Hi Kristian,
Within CMSMS 2+ you'll need to check a couple of things, or elaborate a little more as to what module may be triggering things.
Design Manager will get you into the templates themselves.
Navigator Module may be what you're needing for 'You are here'. Next page, I can't say for certain, but it may just be within the page template itself. Possibly part of a {cms_selflink} call.
Within CMSMS 2+ you'll need to check a couple of things, or elaborate a little more as to what module may be triggering things.
Design Manager will get you into the templates themselves.
Navigator Module may be what you're needing for 'You are here'. Next page, I can't say for certain, but it may just be within the page template itself. Possibly part of a {cms_selflink} call.
Re: Changing words in Simplex theme
Hi geepers,
Thanks. I am not sure which modules I am running - i just installed it on the server and decided to use the Simplex theme.
I already played around in the Design manager where i changed a few things in the templates and in the stylesheets. In these I can find where the color and the font of the text is decided, but the text itself must be generated somewhere else.
Where do I find the navigator module? I can see that it is installed but I cannot "open" anything.
It is not just the next page thing i want to change - also the text in the news section and so.
Thanks. I am not sure which modules I am running - i just installed it on the server and decided to use the Simplex theme.
I already played around in the Design manager where i changed a few things in the templates and in the stylesheets. In these I can find where the color and the font of the text is decided, but the text itself must be generated somewhere else.
Where do I find the navigator module? I can see that it is installed but I cannot "open" anything.
It is not just the next page thing i want to change - also the text in the news section and so.
Re: Changing words in Simplex theme
Should be able to get to theme via Design Manager, Templates tab.
'Options > Filter' - try selecting from under the 'Design' heading (Simplex) to get a list of the templates you can edit (there's a navigation one in there), and for the sake of exploring, check under the 'Originators' heading as well.
'Options > Filter' - try selecting from under the 'Design' heading (Simplex) to get a list of the templates you can edit (there's a navigation one in there), and for the sake of exploring, check under the 'Originators' heading as well.
Re: Changing words in Simplex theme
Ah, I see.
I tried filtering the templates and I have been through all of them already.
Including the 'Simplex Main Navigation' and 'Simplex Footer Navigation'. However, I cannot find the text there.
Is text only generated from templates?
I tried filtering the templates and I have been through all of them already.
Including the 'Simplex Main Navigation' and 'Simplex Footer Navigation'. However, I cannot find the text there.
Is text only generated from templates?
Re: Changing words in Simplex theme
Okay, here's my best 'guess'. Simplex template contains
towards the top of the document.
Near the bottom of the document, you will notice the following:
This is basically where it spits out the full link. Two ways to approach it, and first, I'd add a symbol/character to the part that is writing to the page, just to confirm this is the snippet you're looking for.
You can try (i think it should do the trick), adding urlonly=1 to the call in the head. So, you'd have
And update the code that writes it out to:
Now, this is grabbing the name of the page itself. But you can explore other options for
Code: Select all
{cms_selflink dir='next' assign='next_page'}
Near the bottom of the document, you will notice the following:
Code: Select all
{if !empty($next_page)}<span class='next'>{$next_page nocache}</span>{/if}
You can try (i think it should do the trick), adding urlonly=1 to the
Code: Select all
{cms_selflink}
Code: Select all
{cms_selflink dir='next' urlonly=1 assign='next_page'}
Code: Select all
{if !empty($next_page)}<span class='next'><a href="{$next_page nocache}">næste side ></a></span>{/if}
Code: Select all
{cms_selflink}[code] under 'Extensions > Tags' to experiment further. You could also add & use CGExtensions module as it provides various methods for accessing other page information when you only have one parameter.
Re: Changing words in Simplex theme
Thanks. That worked! However, it does not write the name of the next page after 'Næste side'. Although, that doesn't matter!
Now, a lot of questions
Although I understand most of what happens, I cannot seem to change what I want to do.
I have played around with the following as well, to change the wording there:
Search
I changed the text to be in Danish, however the resultpage does not show anything. How do I assign the resultpage template to a content-page?
News
Newssummary: I found out where the different words are being created, however I can't seem to change them. For example, the 'More' link is called by 'morelink' and I cannot change the wording of it. I am able to write 'Mere', but it will just stand there without being a link.
The same goes for 'Category' and 'Posted by'
And again, how is the News Detail template assigned to my 'search' content-page?
Breadcrumps
I cannot change the 'You are here' text to 'Du er her'. It seems to be a standard wording made in the breadcrump tag, however this was apparently discontinued and thus I cannot read in the help file to change what I want to.
Sorry for all the questions. I have of course googled around, but without much help other than understanding what the tags and modules do.
Now, a lot of questions

Although I understand most of what happens, I cannot seem to change what I want to do.
I have played around with the following as well, to change the wording there:
Search
I changed the text to be in Danish, however the resultpage does not show anything. How do I assign the resultpage template to a content-page?
News
Newssummary: I found out where the different words are being created, however I can't seem to change them. For example, the 'More' link is called by 'morelink' and I cannot change the wording of it. I am able to write 'Mere', but it will just stand there without being a link.
The same goes for 'Category' and 'Posted by'
And again, how is the News Detail template assigned to my 'search' content-page?
Breadcrumps
I cannot change the 'You are here' text to 'Du er her'. It seems to be a standard wording made in the breadcrump tag, however this was apparently discontinued and thus I cannot read in the help file to change what I want to.
Sorry for all the questions. I have of course googled around, but without much help other than understanding what the tags and modules do.
Re: Changing words in Simplex theme
Go to Global Settings and set "Default language for the frontend" to your language
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Changing words in Simplex theme
Thanks Rolf, that changed it for the news section.
However, not for the breadcrumbs?
However, not for the breadcrumbs?