We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    How can I change the Ditto [+next+] and [+prev+] link text?

    Is it possible in ditto?

    This question has been answered by thapriest86. See the first response.

      Evolution user, I like the back-end speed and simplicity smiley
    • discuss.answer
      • 40092
      • 265 Posts
      You can change that in the language file. it's in ditto/lang and then edit the language file you are using.
        • 9995
        • 1,613 Posts
        Quote from: thapriest86 at Dec 06, 2012, 05:43 AM
        You can change that in the language file. it's in ditto/lang and then edit the language file you are using.

        Thanks, I haven't tested it yet but I can probably use add language= to the ditto call? I have a multi language website and need to translate them both.
          Evolution user, I like the back-end speed and simplicity smiley
          • 40092
          • 265 Posts
            • 9995
            • 1,613 Posts
            Weird, &language somehow doesn't work correct with Yams.
            It has to do with Yams I think.

            I have a Yams call:
            [[YAMS? &get=`chunk` &from=`ditto`]]


            I have 2 chunks: ditto_nl and ditto_en and I have a Ditto call in the nl version with &language=`nederlands` and the [ + next + ] and [ + prev + ].

            It does translate when I place the call out of the YAMS and just call ditto_nl but when I do use it I get dutch translation onto both languages.. It makes no sence to me. The english version and dutch version is being loaded when I change website language.. very weird. Pages are not being cached.

            It has to do with Yams and not ditto.

            # Edit, maybe possible with: &tplPaginateNext &tplPaginatePrevious [ed. note: fourroses666 last edited this post 13 years, 9 months ago.]
              Evolution user, I like the back-end speed and simplicity smiley
              • 40092
              • 265 Posts
              Sorry, i'm not thát familliar with YAMS. Maybe someone else knows.
                • 9995
                • 1,613 Posts
                I think it must be a cache problem.

                The page is being called uncached else paging isn't working.

                My ditto call:

                [[ Ditto?extenders=`@FILE assets/modules/yams/yams.extender.inc.php` 
                  Evolution user, I like the back-end speed and simplicity smiley