Nevermind. I forgot to put
<?php echo $this->getContent(); ?>
in my view. I figured this out after I tried removing the view entirely, which worked too.
I have a website that uses Phalcon. The directory structure looks like this:
mysite
-- app
---- controllers
------ IndexController.php
-- forums
---- (XenForo stuff here)
I'm trying to register a visitor component with the Phalcon IoC container like this:
$di->set('visitor', function () {...
I don't have an xf_user cookie, only xf_session. Is this still a feasible way of obtaining user information?
Edit: nevermind. Apparently the xf_user cookie is only created when "remember me" is selected.
I think your problem is you are not POSTing anything.
That is an HttpGet request (the form data is in the query string). To do an HttpPost, just submit a form with the fields to the login URL:
<form action="index.php?login/login">
<input type="text" name="login" />
<input type="password"...
Sorry for the necro but I had a question about this. I just started using template modifications because I thought it would make the upgrade process easier than having to manually merge templates. Am I missing something?