WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Snippet: Easy Multilanguage Link
  • Print
Pages: 1 2 [3]   Go Down

Author Topic: Snippet: Easy Multilanguage Link  (Read 66242 times)

jacobi22

  • Guest
Re: Snippet: Easy Multilanguage Link
« Reply #50 on: March 08, 2014, 03:56:13 PM »
Quote from: freeSbee on March 08, 2014, 03:12:19 PM
I have used the WebsiteBaker Multilingual Switcher 1.6.5
Quote
After klicking the link, the previously done assignment is gone. I do not think this is the originally intended functionality. Does anybody know what this link is intended to do?

if you install the module on a working system (maybe with 20 pages), the install progress update the new database field "page-code" with the page-ID from every page
But if you add a new page, the system set a 0 (zero) to this database field, you have to go to the page settings and select a target page from the main language tree

when you start a project with a installed multi lingual module from the begin and add all your pages, every page has the page code "0", but the script doenst work with a target page-id == 0, it needs the real page-id from the target page or the page-ID from this page self

The Link "page-code" set all this page-code's from zero to the page-id from every page, so that multi lingual can work without problems
but.... its also a RESET - all previously settings are gone without warning!

its helpfull, if you need a fast solution for a bigger system with many pages and sometime the Reset is a good solution, but not everytime..

in the next module version in wb 2.8.4 this link will only set the page-code-fields with a 0 and dont touch my settings there
« Last Edit: March 08, 2014, 03:58:00 PM by jacobi22 »
Logged

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: Snippet: Easy Multilanguage Link
« Reply #51 on: March 13, 2014, 10:27:26 AM »
Hi Chris,

here is what pagecode is for:
Quote from: crnogorac081 on November 10, 2009, 03:32:52 PM
Hi,

First - Just dont forget to install the patch files..

No, as it is mentioned in first post, you do not need to have same pages on different languages.

For example:

EN                                ES
Home    <home>           Home es
Page 1    <page1>         Pagina 1
Page 2     <seccond>     Paggina 2
Page 3

In <> is page code which needs to be inpuded in page settings. In this example, you see that Page 3 has no match page on spanish. When you click on flag image while you are on that page, you will be redirected to page where you set "home" page code.

Cheers



I used  Easy Multilanguage Link Snippet, and not Multilingual Switcher so I dont know why pagecodes resets.

I had no problems with Easy Multilanguage Link Snippet, it works perfectly so far.
Logged
Web developer

  • Print
Pages: 1 2 [3]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Snippet: Easy Multilanguage Link
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2