All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.blogs.view_entry_related.jsp Maven / Gradle / Ivy

There is a newer version: 6.0.134
Show newest version
<%--
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */
--%>

<%@ include file="/blogs/init.jsp" %>

<%
String redirect = ParamUtil.getString(request, "redirect");

BlogsEntry blogsEntry = (BlogsEntry)request.getAttribute("view_entry_related.jsp-blogs_entry");

BlogsPortletInstanceConfiguration blogsPortletInstanceConfiguration = BlogsPortletInstanceConfigurationUtil.getBlogsPortletInstanceConfiguration(themeDisplay);
%>


	
<% String imageURL = blogsEntry.getCoverImageURL(themeDisplay); if (Validator.isNull(imageURL)) { imageURL = blogsEntry.getSmallImageURL(themeDisplay); } if (Validator.isNull(imageURL)) { imageURL = PortalUtil.getPathContext(request) + "/images/cover_image_placeholder.jpg"; } %>
thumbnail
<% User blogsEntryUser = UserLocalServiceUtil.fetchUser(blogsEntry.getUserId()); String blogsEntryUserURL = StringPool.BLANK; if ((blogsEntryUser != null) && !blogsEntryUser.isGuestUser() && !user.isGuestUser()) { blogsEntryUserURL = blogsEntryUser.getDisplayURL(themeDisplay); } %>
<%= DateUtil.getDate(blogsEntry.getStatusDate(), "dd MMM", locale) %> -




© 2015 - 2024 Weber Informatics LLC | Privacy Policy