Forums de discussion

Link to display BlogsEntry

thumbnail
Sandeep Nair, modifié il y a 14 années.

Link to display BlogsEntry

Liferay Legend Publications: 1744 Date d'inscription: 06/11/08 Publications récentes
Hi,

How can i get a URL from BlogsEntry such that clicking on the link will open that entry in same page?

Regards,
Sandeep
thumbnail
Minhchau Dang, modifié il y a 14 années.

RE: Link to display BlogsEntry

Liferay Master Publications: 598 Date d'inscription: 22/10/07 Publications récentes
If you're referring to having something similar to the "view in context" option that Asset Publisher has (where the link redirects you to the blog page where the blog was originally posted, and you view the blogs entry in that context), you would achieve that with by using the [tt]/c/blogs/find_entry[/tt] url and supplying an [tt]entryId[/tt] parameter.

For example, it would look something like [tt]/c/blogs/find_entry?entryId=1234[/tt] if the blog entry id was 1234.
thumbnail
Sandeep Nair, modifié il y a 14 années.

RE: Link to display BlogsEntry

Liferay Legend Publications: 1744 Date d'inscription: 06/11/08 Publications récentes
Yes, But for that you need to have that blog portlet on the same page right?

Regards,
Sandeep
thumbnail
Minhchau Dang, modifié il y a 14 années.

RE: Link to display BlogsEntry

Liferay Master Publications: 598 Date d'inscription: 22/10/07 Publications récentes
Sandeep Nair:
Yes, But for that you need to have that blog portlet on the same page right?

It would link you to the blogs portlet in the community where the blog post was made. As long as there is a blogs portlet on a page somewhere in that community, that would be sufficient.
thumbnail
Sandeep Nair, modifié il y a 14 années.

RE: Link to display BlogsEntry

Liferay Legend Publications: 1744 Date d'inscription: 06/11/08 Publications récentes
Oh i see. thanks mate