Forum Discussion
hroppanen
11 years agoAce
Does anyone have solution for this? All I need to know is this the first page or not.
I wouldn't like to use javascript to check that if there is a paging element and does the first element have a link.
asalem2014
11 years agoContributor
<#if webuisupport.path.parameters.name.get("page") ??> <#assign pageNum = webuisupport.path.parameters.name.get("page")?number /> <#else> <#assign pageNum = 1 />
- hroppanen11 years agoAce
Hi asalem2014
Thanks for your reply but this isn't helping when going straight to other than the first page. Path parameter is not needed in the url. You can see that if you click permalink of a post .
Related Content
- 2 years ago
- 2 years ago
- 10 months ago
- 2 years ago
- 11 months ago