Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes and stats #10

Open
tobiasfabian opened this issue Mar 26, 2015 · 1 comment
Open

Routes and stats #10

tobiasfabian opened this issue Mar 26, 2015 · 1 comment
Labels
Milestone

Comments

@tobiasfabian
Copy link

I wanted to use routes but unfortunately they don’t work in combination with your great stats plugin.

@FabianSperrle
Copy link
Owner

Unfortunately, that's because I decided to use the router for a lot of functionality (mainly because I wanted to learn about the router, not a good design choice for a general plugin...).

For now, you can include the snippet (snippet('stats', array('param' => $page->uri()));) directly on every page (e.g. in the header or footer) and get rid of the plugin's routes to get everything to work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants