We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

create directions

Hi guys,

How can I make some directions without using controllers (from view to view) ?

I tried this code but it doesn't work <?php echo $this->tag->linkTo("personneM/index","Passer à l'espace personne morale"); ?>



6.2k
edited Mar '15

Use full URL and local=false

$this->tag->linkTo(array('https://localhost/page/file.php', 'Link message', 'local' => false));


5.8k

HTTP Error 404. The requested resource is not found. :( same problem :(

surely the baseuri is wrong. check in DI the Uri depencency



5.8k

Thanx Julian & Vee It works now,