Page 1 of 1

Previous page/Next page

Posted: Tue Nov 27, 2007 7:21 pm
by Brian Rønnow
Hej

Hvor kan jeg ændre denne tekst til dansk :  Previous page/Next page?

den vises nederst på siden, og ser ikke godt ud når resten af siden er på dansk

Re: Previous page/Next page

Posted: Wed Nov 28, 2007 9:59 am
by RonnyK
Brian,

I hope you dont mind me answering in English....

The previous page / next page logic is included in the "relational links area" in the template.
        {* Start relational links *}


{anchor anchor='main' text='^ Top'}

       
            {cms_selflink dir="previous" label="Previous page: "}

            {cms_selflink dir="next"}
       
        {* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}
For 'previous' is the label= parameter used to show how you can put a hardcoded label, as the default label being pulled is the "default language for the frontend" that can be set in "Global Settings".

So if you want Danish, you can put the default language to Danish in the Global settings, and additionaly loose the 'label="Previous page: "' as than the default translation will be used.

Ronny

Re: Previous page/Next page

Posted: Wed Nov 28, 2007 3:24 pm
by Brian Rønnow
Hi Ronny

Its fine that you come with an ansaw, even if its in english..

You were very helpfull, thanks alot.. the cmsms is very new for me.