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:
Related
How to disable aui.css for custom pages in Liferay 7. Is it possible to do this somehow via portal-notmal.ftl
aui.css is coming in through the unstyled theme, which typically is the basis for every theme there is. That being said, you can override it and remove it this way. It's refined in the styled theme, and also in the classic theme (in the same github repo, you'll find it).
If you do so, note that you'll still have to deal with a lot of formatting on your own - the classes and other DOM elements will be generated, but it looks like aui now includes the Lexicon CSS that you'll have to simulate if you get rid of it. Why you'd want to do so, instead of accepting the defaults and overriding what you don't like, is beyond me.
Edit, answering to your comment:
You'd simply create your own theme (Linking to 7.1 here, see below) with any overrides that you'd like to have. There's not a single file with an option, as this configuration file would be too complex and unmanageable.
Also, you sound like you've just started building your site - my recommendation would be to always go with the latest release and use 7.1 (at this time) and note that 7.2 is around the corner, Beta 3 has just been released
I need to be able to link to another document on the site in the rich text editor by browsing and selecting it without manually typing in a URL to the document. Is this possible with Crafter?
I looked through the documentation about the RTE configuration plugins, and it looked like maybe the insert-component or insert-linkBrowse plugins would do it, but I made an attempt to configure them and add an item in the RTE editor controls, but it had no effect. I couldn't find any documentation specifically about those plugins, so everything I did was just a (wrong) guess.
There is nothing out-of-the-box that addresses this use-case. Options:
Build your model such that it has a repeating group of item pickers after the RTE and then followed by another RTE if need be (this means it won't be inside the RTE), which would make things more structured and arguably cleaner
Build it as a customization (it'll be a TinyMCE plugin)
Wait for the feature to be built by Crafter CMS: https://github.com/craftercms/craftercms/issues/1412
I recently installed Resharper 2017.1.3 on Visual Studio 2010 and 2017.
On 2010, the File Structure window has a nice grouping based on categories (private method, public methods, override, etc - see image below). However, in 2017 there is no grouping at all.
I'd like to know if anyone can show me how to enable that in 2017. I tried researching it but couldn't find any solution.
thanks,
ReSharper's structure window doesn't have any grouping functionality as such - it always shows files in the order in which everything is defined. However, it does show regions as groups, as in your first screenshot. Those EqualsCore methods are both defined inside a region, and so get grouped by that.
(You'll also notice the little 'x' in the top right of the region grouping box. Click that and ReSharper will remove the region.)
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.
Per user feedback, I am opening a new question for this topic.
So I am currently using Struts-Menu to handle my menu needs for my Struts 2 J2EE application. It is not necessarily a package I wish to work with I have found by playing around with it. So what are some alternatives to this package? I immediately flocked to Struts-Menu because I saw a fair amount of web search traffic pointing to it, including those who use Struts2. What I am worried about is difficulty in the future of making it work with other packages, given its 2007 last update and the extra tap dance I had do to make it work with my configuration. It seems too fragile at this point for my taste.
I have several different menus in my app, but the one I am specifically addressing at the present is like this ... The top level menu drops down upon mouse hover over it. The submenus expand horizontally upon mouse hover. Exactly one menu item can be selected as no radio buttons or check boxes are contained in the menu. This particular menu does not require db access to populate its children. It works sort of like Velocity CoolMenus4 from the Struts-Menu demos.
I've never used struts-menu, but it looks like overkill to me.
I would recommend that you locate a menu that you like and then write a tag file to handle outputting it in your view layer. To me, that's a lot easier than using a framework or library just to output a menu. Plus, its specific to the actual menu you want to use. Your tag can handle doing security checks to ensure that the user only sees what they have permission to access, etc.