I18n usage in CQ5 - aem

I added i18n to my component title in cq5.4.But I am unable to changed the content author's language preference to fr.How to do that.And is there a way to change the content of the webpage in the desired language in CQ5.4

To set a language preference for a user:
from the Welcome screen, click the Users button; the User
Administration and Security UI is launched;
in the panel at the
left, click the name of the user for whom you wish to set a language
preference;
click the Preferences tab;
make a selection from the
Language dropdown;
click Save.
Typically, internationalized CQ5 websites divide into language-specific nodes directly below the website root. Look at the Geometrixx example site, where there is content/geometrixx/en, content/geometrixx/de, content/geometrixx/fr, etc.
Feike Visser has a short blog post on a translation tool. In a typical local development environment, the tool is at http://localhost:4502/libs/cq/i18n/translator.html.

Related

TYPO3 How to change the name of a TYPO3 website

I am trying to update the name of my website. Since I've only been working with TYPO3 for a short time, I don't know much about it yet.
As an admin backend user, go to Amin Tools ➜ Settings and click button "Configure options" in the box Configure Installation-Wide Options. Search for the keyword sitename.
In the section System, you'll find the input field that lets you change the global site name:
[SYS][sitename] = ...
Save the new name by clicking the button "Write configuration" and reload the backend to see the change.

Liferay Asset Publisher full content

I'm using Liferay for the first time at work and I'm facing the following issue: I have an Asset Publisher which lists some web contents (abstracts). I want to see full content in another page when clicking one of the content items in the asset publisher. I believe this is a very common functionality but still haven´t been able to find a solution (hopefully it is quite simple). I'm using Liferay CE 6.2 GA5.
From the "Asset Link Behavior" drop down in the Asset Publisher configuration settings (get there by clicking the gear icon on the top right of your AP, choose "Configuration", then click on "Display Settings" tab) you can choose "View in Context". This should allow your content to open in a separate page.
You will also need to set a "Display Page" for your Web content (abstracts). Create the page where you want to display the full content, add an Asset Publisher to that page, and configure that asset publisher to "Set as the Default Asset Publisher for This Page" and "Show only assets with 'your chosen page name' as its display page." - these are checkboxes in the configuration settings.
Here's the documentation from Liferay: https://dev.liferay.com/discover/portal/-/knowledge_base/6-2/using-the-asset-publisher
I hope this helps.

common component across all CQ5 pages

I have created menu component, through which authors enter name, url field values.The component script renders the menu based on name, url entries.
Question : how to make this menu component common across all CQ5 pages, so it is not drag and dropped on each page.
Thank you,
Sri
ACS AEM Commons now supports this functionality without use of an iparsys - Shared Component Properties (http://adobe-consulting-services.github.io/acs-aem-commons/features/shared-component-properties.html)
Configure your menu with Shared and/or Global properties and you can simply template it directly onto all of your pages (no iparsys required). You can then edit the menu from any page on the site and it will by updated on all pages.

MODX: How to insert links to other resources in TinyMCE

Am I missing something? When inserting links to other resources, it seems like there should be a "resource picker" that auto inserts the [[~id]] tag for internal links. Is such a "picker" available from the TinyMCE editor in MODX Revolution?
I mean I don't mind using the resource syntax, but I don't see my users being comfortable having to learn and remember it.
When I click on the "Insert/edit link" button, this is the dialog I get:
Clicking on the "Browse" button to the right of "Link Url" gives me the following dialog:
I don't see anything that allows me to pick a resource.
I'm using MODX Revolution 2.2.1-pl (traditional) on IIS 7.5. There could be a possible issue there.
I figured it out, I was definitely missing something. The "Insert/edit link" dialog has a search box which auto completes as you type the name of existing documents into it. Selecting a document from there inserts the document's ID with the proper syntax.
There should be.
When editing text if you highlight a word to be used as a link and then click on the Edit/Insert link icon (a chain link) there is a "Link List" select box that contains all your resources selecting one will populate the link url with the [[~id]] of the selected resource.
In the MODX Revo manager better use the ACE-Editor (Extras/Package/download extras choose Ace) for buiding up your template.
Now you may drag a Ressource from the Ressource-Tree on the left and drop it into your code in the Ace-Window.
This is the easiest way to create a Ressource-Link.

Facebook Tab on pages

Whats the best way to develop a tab on facebook in a facebook page with content inside it? Would it just be html within that tab?
Easiest way is to install a 3rd party iframe App on your Facebook Page. You can find these Apps by searching for "iframe" in Facebook's search. Once you have one of these Apps installed, you can customize the HTML/CSS/JS of the iframe, which will then be reflected on you Page Tab. Alternatively, you could create your own Facebook App and install it as an iframe in your Facebook Page. This will achieve the same thing, and may give you more control, but you will have to host the html/css/js files yourself and it will be more work.
I recently have the same need.
To just place a facebook tab containing just a static html with text and image.
Here are the steps. It can be quite a nightmare to review the documentation of Facebook since it is always in change.
In the home page, click in the settings button. There is a link "Create application". You have to be sure to be in the Facebook development section
In the Create Application home page. In the upper menu there is the button "Applications". Here will be listed all your applications. If this is the first time, again the button "Create a new app"
3.Enter the information requested. Name of the application, an identifier (I prefer the same display name without spaces) and choose a category.
As a security step, a captcha is shown. Just fill with the characters in the screen.
Since your tab is an html. You have to host this file in your own server in order to have a path. The first tricky thing here is to convert this file into a php, asp, or similar extension. since Facebook uses GET or POST protocol to send information. You have to ensure that your file understands this requests. So, your server must accept the corresponding programming language. Even if your tab doesn't have any real code.
The configuration of your app is shown in screen. In the left menu, the option "configuration" displays the options to activate your tab.
click "Add plattform" button and select Facebook tab
fill the information required with the corresponding URLs. Note: Facebook always requires secured URLs so make sure that your server or hosting service has the SSL certificate validated.
Upload the image of your tab to be shown in the home of your profile in your tab section.
ok, so far we are good. Now. This was a long search. There is no longer the "Add to my webpage" link anywhere. So use this link to access to that hidden link. here Basically you enter the facebook app id and the URL of the hosted file.
Then you select the facebook page where you want to link this tab. And that's it!
note: the alternative to the link is this: (https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL )
Hope this helps. It was a waste of time when I have to search for the details so I want to share this.