S L B 14年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル
Denis Signoretto 14年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Denis Signoretto 14年 前 @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". 投票するためにはログインが必要です。 次として送信する: キャンセル Christopher Brisee Jorge Ferrer 13年 前 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); } 投票するためにはログインが必要です。 次として送信する: キャンセル
Jorge Ferrer Denis Signoretto 14年 前 @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". 投票するためにはログインが必要です。 次として送信する: キャンセル Christopher Brisee Jorge Ferrer 13年 前 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); } 投票するためにはログインが必要です。 次として送信する: キャンセル
Christopher Brisee Jorge Ferrer 13年 前 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); } 投票するためにはログインが必要です。 次として送信する: キャンセル
Jan Tošovský 13年 前 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... 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 Hi Jan,I'm not sure I understand your proposal, can you post an example? 投票するためにはログインが必要です。 次として送信する: キャンセル Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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? 投票するためにはログインが必要です。 次として送信する: キャンセル Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Jorge Ferrer Jan Tošovský 13年 前 Hi Jan,I'm not sure I understand your proposal, can you post an example? 投票するためにはログインが必要です。 次として送信する: キャンセル Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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? 投票するためにはログインが必要です。 次として送信する: キャンセル Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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? 投票するためにはログインが必要です。 次として送信する: キャンセル Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Jorge Ferrer Jan Tošovský 13年 前 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? 投票するためにはログインが必要です。 次として送信する: キャンセル Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Jan Tošovský Jorge Ferrer 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Jan Tošovský 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Jorge Ferrer Jan Tošovský 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Jorge Ferrer Malek Tarboush 13年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Jorge Ferrer Malek Tarboush 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Malek Tarboush Jorge Ferrer 13年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
Luca Orlandi Malek Tarboush 12年 前 In order to remove the first link you can still customize in portal.-ext.properties:breadcrumb.show.guest.group=falsebreadcrumb.show.parent.groups=true 投票するためにはログインが必要です。 次として送信する: キャンセル neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル
neelam bhandari Luca Orlandi 12年 前 Hi,Is it possible to show only text not url for the current page in breadcrumb trail?RegardsNeelam Bhandari 投票するためにはログインが必要です。 次として送信する: キャンセル