I have a menu item in a Joomla 1.5 site that needs to have a certain link when it's in Greek (default language) and another link when it's in English.
I have seen this question which maybe gives me a hint, but I would need more detailed help. I don't even know in which files I'd need to insert the code. How do I find out what's the language id?
Why complicate it, I know in 3.0 and I think right back to at least 1.5 in the Menu item you can select which language the link appears for. So you have two link items, one which displays for English viewers and one for Greek.
Ps why are you still using 1.5, it is now officially unsupported, I strongly suggest you move up to at least 2.5 Joomla 1.5 end of life
I don't know are you use SEF on your site... But using JoomFish for multylanguage it very simple to make different links for the same menu item for different languages. Just make translation for menu item you need and enter different alias for this. For example you have a link www.mysite.com/gk/contacts. When you'll translate menu item Contacts on English and enter alias conatact-us you'll get a link like this: mysite.com/en/contact-us. I hope it will be helpfull for you.
Related
I have a problem with Prestashop. I have a second menu that I want to display on some pages.
For example, when I click on "program", I get to the "program" page but the side menu does not appear.
I know that it is possible to do this in the block configuration options.
I've tried a lot of things but nothing works, if someone has any advice / lead to give me.
I use a translator, hoping that it will be comprehensible, I remain at your disposal for any further information.
Thank you all, have a good day.
I have a slight problem here and a doubt. I have created a page which has three components added in three different placeholders. This page was created for English version. I need this page and the components to get added in German version of the page as well.
I read a few articles that illustrate the use of layout deltas and "Final layout" feature of Sitecore 8 but got a little confused over this matter.
Article1
Also, I have checked the __Renderings setting in /sitecore/templates/System/Templates/Sections/Layout and the Shared field is checked. Still the layout is not shared.
Am i missing any settings ? Do I need to every time create both versions i.e. repeat the layout steps for German versions as well ?
All suggestions welcomed.
If you are using Sitecore 8.0 and adding the component via the Experience Editor then you will need to add the components to each language variation of the Item, i.e. once for English and once for German. This is because the components are stored against the Final Layout field when added through the Experience Editor and the field is language specific.
The only option you have is to add the components to the Shared Layout manually by selecting the Presentation > Details from the tabs.
If you need to add the same components to all language variations at the same time then I suggest you upgrade to Sitecore 8.1 which will enable you to do that via Edit all versions option in the ribbon:
Edit: As of Sitecore 8.1 update-1, the Shared Layout can be edited using the "Layout Switcher" under the Presentation tab:
I start to use Asset Publisher in liferay. I added an article with some text in english. Then I want to add translation but there was no my language. So I added into portal-ext.properties next lines to enable more languages.
locales.enabled=ca_ES,zh_CN,en_US,fi_FI,fr_FR,de_DE,iw_IL,hu_HU,ja_JP,pt_BR,es_ES,cs_CZ,sk_SK
My language then appear, but the problem is the translation doesn't work. Not to my language, it doesn't work to any other languages. All it did is it just changed the font of the text. That's all. Can you help me and tell me what should I do? Thanks a lot.
Seems to be solved on the Liferay forums: You'll need to provide the translation yourself. Liferay offers the functionality to enter translated articles, but it doesn't translate the articles itself.
If I may add a personal remark: "...luckily". Automatic translation is not that good.
It's hard to explain by words, so I'll just provide a screen shot for it.
Is there any other way to disregard the path on main menu on drupal?
So when I just click it, it won't happen anything, just a # sign.
Hope you understand, any help would be appreciated.
Use Special Menu Items module. Drupal will not allow you to use a special character like #,?,. etc by default in menu links.
If you know the exact page you want it to lead to, you can enter the full html e.g. html://www.yourdomain.com/my_page
But, I don't understand why you would be adding a link to a menu if you don't want it to be a link?
If you want to disable menu links (e.g. "home"), go to "/admin/structure/menu/manage/main-menu" and just disable them using the check boxes next to the menu entry.
I'm using a standard link list web part. What I want to achieve is before my users click on the link a pop-up javascript warning box will display, stating that they are leaving the domain. In regular anchor tag I would preceed the URL with javascript:ShowWarning('http://www.youtube.com');.
I've search the AllLinks table in the database but did not find the links was looking for.
Where or how are these stored?
Thanks,
Risho
Firstly, editing the SharePoint database directly is a really bad idea. You shouldn't do it unless you really, really know what you are doing, and even then you will probably break the system.
Secondly, any change made in the data will be what shows up in the editor, and I don't think the editor supports links that don't start with "http://".
A better approach is to use jquery to add the popup behaviour to the links when the page is loaded.