Welcome Guest, Not a member yet? Register   Sign In
anchor controller issue
#1

[eluser]Unknown[/eluser]
i am still a bit new to code ignitor but i managed to successfully use most functions i need of it.
now how ever i have a problem with in my anchor command.
Code:
<?php echo anchor('gallery/index', 'Gallery'); ?>
this piece of code is located in another controller 'welcome' and i want it to point at the Gallery controller by use of an anchor. this how ever does not work, i get an 404. once i replace the code with
Code:
<?php echo anchor('welcome/index', 'Gallery'); ?>
so that it uses the same controller it does load the view file but somehow the view file does not load the CSS that i use.

can someone help me, since i have no idea how to solve this problem myself.




Theme © iAndrew 2016 - Forum software by © MyBB