Forum Discussion
ChiaraS wrote:hi @PerBonomi
<#assign page_number = webuisupport.path.parameters.name.get("page", 1) />
should do the trick...
Thanks ChiaraS. I thought of using that, but then I realized, if I go to a post directly, the url doesn't show "/page/x", e.g.
https://community.lithium.com/t5/Developer-Discussion/Devs-How-do-you-provide-tools-to-mods-to-tackle-spam/m-p/308321#M11794
Hi PerBonomi You can check the page by right-clicking on the component(if you are on front-end) and just check the body class. (See screenshot).
VikasGrazitti wrote:Hi @PerBonomi You can check the page by right-clicking on the component(if you are on front-end) and just check the body class. (See screenshot).
Hey, thanks. But that just tells me I'm on a Topic Page. Reading back I wasn't too clear. I need to know the page number :)
Related Content
- 8 years ago
- 3 years ago