How to reset page navigation component to render the content items from first page in IBM WCM

The problem When working with navigation components, it is common to share the same pagination in several menu or personalization components, however this introduces an issue because when clicking on the “Next” or “Previous” page the URL is going to have a parameter with the paging state which causes the problem of keeping the page…

What is a render parameter in IBM WCM and how it is related to the Plugin RenderParam?

Today, while I was reading the IBM WCM plugins documentation I found a plugin called The render parameter plug-in, which definition is formally: Use the RenderParam rendering plug-in to access public and private render parameters from your web content. Taken from The render parameter plug-in article in IBM Knowledge Center. So, these questions came into my mind: what is it…

How to use the Plugin Otherwise in IBM WCM 8 and 9

The challenge Imagine you want to run a kind of conditional if with a fallback (else) for example: you would like to have some custom HTML markup when there is no description set on a piece of content. Let’s see following pseudocode: IF is_There_A_Description(current_Content) DISPLAY description ELSE DISPLAY a default text So, how could we emulate this…

How to know if a user is authenticated or not in WCM 8 and 8.5

This is pretty simple way to check if any user has a session started or not; this is useful in cases where you want to display or execute an specific code depending on the user session. To create this kind of validation we can take advantage of the WCM plugins Equals and NotEquals [Plugin:Equals text1=”true” text2=”[Plugin:RequestAttribute key=’userLoggedIn’…

How to detect user devices: smartphone, tablet or desktop in IBM WCM 8.5 using tags

The context: why should I need to know this stuff? In the last years front-end web development has became one of the most exciting areas of IT and software development, as front-end developers we have a tone of new tools, APIs, editors, packages, etc. that make our life easier. There is an area that is…