Current position. How to output category name, page number etc.
Example (SEO URLS is enabled and default group is mov)
<?=Inxy::req()->action?>
- name of current template
<?=Inxy::req()->page?>
- number of current page
<?=Inxy::req()->group?>
- name of current group
<?=Inxy::req()->gal_id?>
- gallery id
<?=Inxy::req()->tag?>
- current tag
<?=Inxy::req()->category?>
- current category
<?=Inxy::req()->search?>
- search phrase
URL Example |
action |
page |
group |
gal_id |
tag |
category |
search |
example.com/ |
index |
1 |
mov |
|
|
|
|
example.com/recent.html |
recent |
1 |
mov |
|
|
|
|
example.com/mov/recent-2.html |
recent |
2 |
mov |
|
|
|
|
example.com/mov/tag/bareback-1.html |
index |
1 |
mov |
|
bareback |
|
|
example.com/my-gal-title-7678.html |
|
|
|
7678 |
|
|
|
example.com/mov/index/amateur-1.html |
index |
1 |
mov |
|
|
amateur |
|
|