Forum Discussion
VarunGrazitti
Boss
janjanssen We haven't used Li contests, but looking at the ideas in Li, which also have tabs, I can conclude following:
When you click on tabs, the URL changes, you can use the following code to check if the URL contains entries or whatever the URL becomes after you go to the entries tab in contest and then dispay the header you want to.
<#if http.request.url?contains("/t5/xyz/entries")> //this will check if your URL contains entries or not.
//code to display custom header
</#if>
janjanssen
11 years agoGuide
Hi grazitti,
Thanks for your reply.
It's something we tried, but we have sometimes the entries as default tab. In that case you don't have entries in the url :( .
Mentioning this and after having a good sleep :), I was thinking maybe create a combination of the url check, together with the check of the "default tab" admin setting.
kr,
Jan
Related Content
- 13 years ago
- 2 years ago
- 2 years ago
- 2 years ago
- 10 months ago