Originally posted by **lukavia** October 23, 2023
I'm trying to a navigation to my app. Going through the docs and examples it seams the most elegant solution is to create a table with the entries and then use tab component.
```
select 'tab' as component;
select title, file as link from nav;
```
However I would like the current page to be active so I want to add a column like `IF(sqlpage.url = file, true, false) as active`
My question is how to get the current page (sqlpage.url if you will) ?
Thank you
It would be nice to have a
sqlpage.path()
pseudo-function that returns the current page path.Discussed in https://github.com/lovasoa/SQLpage/discussions/110