As I already said, I am trying to build a site for the company where I work, hoping that we can pass to Wikidot and use it as our platform for our business sites. As the whole thing is still just a test, I have the site in Private mode.
Now, I got a fantastic idea to have a multiple languages site, but I have a little issue I am not sure it is because the site is hidden, or because this is simply impossible at Wikidot. I'll explain.
The site is supposed to be in three languages, Spanish, English and German. I imagined to make three main categories: es:… ; en:…; d:… I don't have too many pages, and the site is pretty simple, so these three categories will just do perfectly for what I want. Also, each category would have its own nav:top bar, so it can be also in different languages.
Now, I imagined to put the following code in each live template:
[[div style="margin:-80px 0 0 750px"]]
[[table]]
[[row]]
[[cell]]
[[image ES width="50px" link="es:%name%"]]
[[/cell]]
[[cell]]
[[image UK width="50px" link="en:%name%"]]
[[/cell]]
[[cell]]
[[image D width="50px" link="d:%name%"]]
[[/cell]]
[[/row]]
[[/table]]
[[/div]]
There are three images of three flags, Spanish (ES), British (UK), and German (D). These should appear at each page and by clicking them, you should be led to the same page but in other language. The only thing that should be respected is that the names of the pages in all three categories/languages should be the same. For example, the start pages should be: es:start; en:start; d:start.
I did it, and it worked!!! I can actually have real multiple languages web page with this code. But…
Then I encountered two problems:
- The images are not visible in other pages except in the live template page. Instead of the images, only names of the images can be seen. If you click them, they give the correct result (you go to the same page with the same name but in other language/category, i.e., if on es:start you click to EN flag, you go to en:start, if you click to D flag, you would go to d:start), but the images don't show. Is this because the site is hidden, or it's just impossible to do this on Wikidot?
- I cannot position these images where I want, and this is in the heading. If I go on increasing the negative value in margin-top parameter, it simply goes under the header, not above it. I would need some CSS help, if this is possible.
Right now, I have this code in the nav:top, and it works well, but the negative side is that I cannot use %%name%%, so I have to put the links to the start pages of each language/category. This is ok, too, but it would be great if I could achieve to put it as I imagined in the live template. It would also mean that multiple language sites are possible on Wikidot. :)
These are the images of how it is right now, and it should stay the same, only the links of the photos should lead to the same page with the same name (using %%name%%), and not only to start page of each language, as it is now.
PS: I also noticed another rare thing: on all public sites, the direct link of the image is like this:
http://strathviewconsultants.wdfiles.com/local--files/support:images/website.jpg
Meanining, after the site name and the page name, goes /image name and that's it. But, in hidden site, it is like this:
After the image name, there is a very long row of numbers and letters. Will this make a problem when the site goes public?
Thanks in advance for all your comments!
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney