S L B 14 Years Ago I don't like "floating" page elements because when I search for text, my highlighted result will invariably be hidden by the chat bar or whatever. So I have to manually scroll to see what I was looking for. At least the partial opacity is a somewhat solution for that, but I still don't like them. Please sign in to reply. Reply as... Cancel
Denis Signoretto 14 Years Ago Are there any properties to enable o disabile it or change de default behaviour (e.g. if you are using only Guest I wouldn't see "Guest" normal users can't understand what it stands for)?Bye.Denis Please sign in to reply. Reply as... Cancel Jorge Ferrer Denis Signoretto 14 Years Ago @S L B, that's a fair point. In cases where having floating elements is absolutely forbidden the only solution is to disable this feature (it can be done from the theme). Nevertheless, as you can see from the screenshot, we've made the floating element thin and a bit translucid so that it's worth it in many scenarios.@Denis, yes, it's possible to disable it. Regarding using the word "Guest" I fully agree with you that nobody knows what it is, so instead we are showing the name of the portal as configured in Control Panel >> Settings. For example, in the screenshots you can see that it says "liferay.com" at the beginning of the breadcrumb instead of "Guest". Please sign in to reply. Reply as... Cancel Christopher Brisee Jorge Ferrer 13 Years Ago To remove the ability of breadcrumbs from always being visible, remove the following from the main.js in your theme: var siteBreadcrumbs = A.one('.site-breadcrumbs'); if (siteBreadcrumbs) { siteBreadcrumbs.plug(A.Hudcrumbs); } Please sign in to reply. Reply as... Cancel
Jorge Ferrer Denis Signoretto 14 Years Ago @S L B, that's a fair point. In cases where having floating elements is absolutely forbidden the only solution is to disable this feature (it can be done from the theme). Nevertheless, as you can see from the screenshot, we've made the floating element thin and a bit translucid so that it's worth it in many scenarios.@Denis, yes, it's possible to disable it. Regarding using the word "Guest" I fully agree with you that nobody knows what it is, so instead we are showing the name of the portal as configured in Control Panel >> Settings. For example, in the screenshots you can see that it says "liferay.com" at the beginning of the breadcrumb instead of "Guest". Please sign in to reply. Reply as... Cancel Christopher Brisee Jorge Ferrer 13 Years Ago To remove the ability of breadcrumbs from always being visible, remove the following from the main.js in your theme: var siteBreadcrumbs = A.one('.site-breadcrumbs'); if (siteBreadcrumbs) { siteBreadcrumbs.plug(A.Hudcrumbs); } Please sign in to reply. Reply as... Cancel
Christopher Brisee Jorge Ferrer 13 Years Ago To remove the ability of breadcrumbs from always being visible, remove the following from the main.js in your theme: var siteBreadcrumbs = A.one('.site-breadcrumbs'); if (siteBreadcrumbs) { siteBreadcrumbs.plug(A.Hudcrumbs); } Please sign in to reply. Reply as... Cancel
Jan Tošovský 13 Years Ago Adding breadcrumb into search results - would it be possible to have this info below/instead of tags? It could be useful for users to determine to which LR portal part that item belongs... Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Hi Jan,I'm not sure I understand your proposal, can you post an example? Please sign in to reply. Reply as... Cancel Jan Tošovský Jorge Ferrer 13 Years Ago Here is short example. It is the search result (with three items):Page Name 1short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > User Manual > 1.0Page Name 2short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > User Manual > 1.1Page Name 3short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > Getting Started > 1.0See that last line, it is proposed feature. It would require to store breadcrumb info so that it is accessible during rendering the search results.In our case there will be many pages with similar title and content. We could transform the given hierarchy into tags, but why not to reuse the breadcrumb info for this. Using tags for this seems to be redundant. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Hi Jan,Thanks for the example. So basically your proposal is not related to the global breadcrumb, but rather to add a breadcrumb as part of the info a each search hit. The question is where would that breadcrumb point to? In your examples it seems to be a hierarchy of categories, but what if there are several categories? Please sign in to reply. Reply as... Cancel Jan Tošovský Jorge Ferrer 13 Years Ago Hi Jorge,thanks for your patience, I meant page hierarchy (sitemap) instead of category hierarchy. And it is unique. But there could be a problem when some content is shared between multiple pages (non scoped wikis). But it is not my case. Of course, this feature should be optional. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Got it.That would certainly be interesting. We actually do something like that for Web Content (although only for building the link to the content, we don't show the actual path right now). We can definitely consider extending it to other portlets, although it would have some challenges, such as considering cases where the same content is shown in several places. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei just wondering is there anyway to localize the global breadcrumb ?we have a site Arabic/English so when the user switchto Arabic we want the breadcrumb to switch to Arabic nameslike the community , organization I don't know if i'm asking in the right placebecause when we create organization we don't have choiceto add localized name it has just one field for the nameso do you have any idea how to solve it?thankx Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Jorge Ferrer Jan Tošovský 13 Years Ago Hi Jan,I'm not sure I understand your proposal, can you post an example? Please sign in to reply. Reply as... Cancel Jan Tošovský Jorge Ferrer 13 Years Ago Here is short example. It is the search result (with three items):Page Name 1short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > User Manual > 1.0Page Name 2short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > User Manual > 1.1Page Name 3short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > Getting Started > 1.0See that last line, it is proposed feature. It would require to store breadcrumb info so that it is accessible during rendering the search results.In our case there will be many pages with similar title and content. We could transform the given hierarchy into tags, but why not to reuse the breadcrumb info for this. Using tags for this seems to be redundant. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Hi Jan,Thanks for the example. So basically your proposal is not related to the global breadcrumb, but rather to add a breadcrumb as part of the info a each search hit. The question is where would that breadcrumb point to? In your examples it seems to be a hierarchy of categories, but what if there are several categories? Please sign in to reply. Reply as... Cancel Jan Tošovský Jorge Ferrer 13 Years Ago Hi Jorge,thanks for your patience, I meant page hierarchy (sitemap) instead of category hierarchy. And it is unique. But there could be a problem when some content is shared between multiple pages (non scoped wikis). But it is not my case. Of course, this feature should be optional. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Got it.That would certainly be interesting. We actually do something like that for Web Content (although only for building the link to the content, we don't show the actual path right now). We can definitely consider extending it to other portlets, although it would have some challenges, such as considering cases where the same content is shown in several places. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei just wondering is there anyway to localize the global breadcrumb ?we have a site Arabic/English so when the user switchto Arabic we want the breadcrumb to switch to Arabic nameslike the community , organization I don't know if i'm asking in the right placebecause when we create organization we don't have choiceto add localized name it has just one field for the nameso do you have any idea how to solve it?thankx Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Jan Tošovský Jorge Ferrer 13 Years Ago Here is short example. It is the search result (with three items):Page Name 1short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > User Manual > 1.0Page Name 2short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > User Manual > 1.1Page Name 3short digest*tag1 *tag2 *tag3Liferay > WIKI > Product A > Getting Started > 1.0See that last line, it is proposed feature. It would require to store breadcrumb info so that it is accessible during rendering the search results.In our case there will be many pages with similar title and content. We could transform the given hierarchy into tags, but why not to reuse the breadcrumb info for this. Using tags for this seems to be redundant. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Hi Jan,Thanks for the example. So basically your proposal is not related to the global breadcrumb, but rather to add a breadcrumb as part of the info a each search hit. The question is where would that breadcrumb point to? In your examples it seems to be a hierarchy of categories, but what if there are several categories? Please sign in to reply. Reply as... Cancel Jan Tošovský Jorge Ferrer 13 Years Ago Hi Jorge,thanks for your patience, I meant page hierarchy (sitemap) instead of category hierarchy. And it is unique. But there could be a problem when some content is shared between multiple pages (non scoped wikis). But it is not my case. Of course, this feature should be optional. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Got it.That would certainly be interesting. We actually do something like that for Web Content (although only for building the link to the content, we don't show the actual path right now). We can definitely consider extending it to other portlets, although it would have some challenges, such as considering cases where the same content is shown in several places. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei just wondering is there anyway to localize the global breadcrumb ?we have a site Arabic/English so when the user switchto Arabic we want the breadcrumb to switch to Arabic nameslike the community , organization I don't know if i'm asking in the right placebecause when we create organization we don't have choiceto add localized name it has just one field for the nameso do you have any idea how to solve it?thankx Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Jorge Ferrer Jan Tošovský 13 Years Ago Hi Jan,Thanks for the example. So basically your proposal is not related to the global breadcrumb, but rather to add a breadcrumb as part of the info a each search hit. The question is where would that breadcrumb point to? In your examples it seems to be a hierarchy of categories, but what if there are several categories? Please sign in to reply. Reply as... Cancel Jan Tošovský Jorge Ferrer 13 Years Ago Hi Jorge,thanks for your patience, I meant page hierarchy (sitemap) instead of category hierarchy. And it is unique. But there could be a problem when some content is shared between multiple pages (non scoped wikis). But it is not my case. Of course, this feature should be optional. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Got it.That would certainly be interesting. We actually do something like that for Web Content (although only for building the link to the content, we don't show the actual path right now). We can definitely consider extending it to other portlets, although it would have some challenges, such as considering cases where the same content is shown in several places. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei just wondering is there anyway to localize the global breadcrumb ?we have a site Arabic/English so when the user switchto Arabic we want the breadcrumb to switch to Arabic nameslike the community , organization I don't know if i'm asking in the right placebecause when we create organization we don't have choiceto add localized name it has just one field for the nameso do you have any idea how to solve it?thankx Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Jan Tošovský Jorge Ferrer 13 Years Ago Hi Jorge,thanks for your patience, I meant page hierarchy (sitemap) instead of category hierarchy. And it is unique. But there could be a problem when some content is shared between multiple pages (non scoped wikis). But it is not my case. Of course, this feature should be optional. Please sign in to reply. Reply as... Cancel Jorge Ferrer Jan Tošovský 13 Years Ago Got it.That would certainly be interesting. We actually do something like that for Web Content (although only for building the link to the content, we don't show the actual path right now). We can definitely consider extending it to other portlets, although it would have some challenges, such as considering cases where the same content is shown in several places. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei just wondering is there anyway to localize the global breadcrumb ?we have a site Arabic/English so when the user switchto Arabic we want the breadcrumb to switch to Arabic nameslike the community , organization I don't know if i'm asking in the right placebecause when we create organization we don't have choiceto add localized name it has just one field for the nameso do you have any idea how to solve it?thankx Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Jorge Ferrer Jan Tošovský 13 Years Ago Got it.That would certainly be interesting. We actually do something like that for Web Content (although only for building the link to the content, we don't show the actual path right now). We can definitely consider extending it to other portlets, although it would have some challenges, such as considering cases where the same content is shown in several places. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei just wondering is there anyway to localize the global breadcrumb ?we have a site Arabic/English so when the user switchto Arabic we want the breadcrumb to switch to Arabic nameslike the community , organization I don't know if i'm asking in the right placebecause when we create organization we don't have choiceto add localized name it has just one field for the nameso do you have any idea how to solve it?thankx Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei just wondering is there anyway to localize the global breadcrumb ?we have a site Arabic/English so when the user switchto Arabic we want the breadcrumb to switch to Arabic nameslike the community , organization I don't know if i'm asking in the right placebecause when we create organization we don't have choiceto add localized name it has just one field for the nameso do you have any idea how to solve it?thankx Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,It should automatically translate things such as the page name as well as any other time that has a translation. Not sure what you mean by translating "community" or "organization" in this context. Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgethank you for replywhat i meant is that the community,organization don't have a localized name like page so we have to choose one name for the communityso when switching between languagesthe name of community will not change becauseit has no localized name so it will appear the same whatever the languageyou chose when you are exploring our sitelook at this imagehttp://store3.up-00.com/Nov10/eTB06515.pngits how the breadcrumb appear when we switchto Arabictabukportal, University are organizationits all because the the community and the organizationhas no localized namei have a solution for it its not that good but it works nowso what i did is i added all my organizations and communitiesand i added a Language-ex.properties file and i put thereorganizations and communities names in Arabic so i can use the LanguageUtil to get the namesand i edited the filetomcat-6.0.26/webapps/ROOT/html/portlet/breadcrumb/init.jspi added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),themeDisplay.getAccount().getName()) ));instead ofsb.append(HtmlUtil.escape(themeDisplay.getAccount().getName()));also i added this linesb.append(HtmlUtil.escape(LanguageUtil.get(themeDisplay.getLocale(),group.getDescriptiveName())));instead ofsb.append(HtmlUtil.escape(group.getDescriptiveName()));i also did the same in display_style_1/2.jspand now it works fine but the problem isif we added a new organization or community we have to modifythe Language-ext to add the new namei hope its clear for you nowregards Please sign in to reply. Reply as... Cancel Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Jorge Ferrer Malek Tarboush 13 Years Ago Hi Malek,That looks like a good short term solution, as long as you don't edit the files directly and use a hook plugin for that. BTW, you may want to upload this plugin to the community plugins catalog within the downloads page because it may be useful for others.For the long term, the solution would be to allow users to enter the name of organizations and communities in several languages just like it's possible for roles or pages now. Can you search JIRA just in case there is already a ticket for that? If there isn't, could you create a JIRA ticket with this suggested improvement explaining why you think it would be useful?Thanks,Jorge Please sign in to reply. Reply as... Cancel Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Malek Tarboush Jorge Ferrer 13 Years Ago Hello Jorgei found an issue about localize communities herehttp://issues.liferay.com/browse/LPS-4922so i added a comment thereand i also created a hook for this and i tested itit works fine i added it to the community pluginshttp://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6580688?_98_redirect=%2fdownloads%2fliferay-portal%2fcommunity-plugins%2f-%2fsoftware_catalog%2fmy_productsRegards Please sign in to reply. Reply as... Cancel Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
Luca Orlandi Malek Tarboush 12 Years Ago In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true Please sign in to reply. Reply as... Cancel neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel
neelam bhandari Luca Orlandi 12 Years Ago Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari Please sign in to reply. Reply as... Cancel