Welcome Guest, Not a member yet? Register   Sign In
helper problem
#1

[eluser]drago_[/eluser]
Hi everyone.
I've just started to build a forum using codeigniter. I know there are many free forum that i can use, but is for my practice.

So i want to create a function that return a variable containing the "breadcrumbs". So, i created a file in helpers directory and write my function. The problem is that when i want to open the page in browser it sais :


An Error Was Encountered

Unable to load the requested file: helpers/breadcumbs_helper.php

I writed in autoload.php : $autoload['helper'] = array('url', 'form', 'smiley', 'breadcrumbs'), but nothing. I also tried to load manualy but i've got the same result.
So I appellate to you.

Thanks.
#2

[eluser]rogierb[/eluser]
breadcumbs != breadcrumbs. Maybe a typo?
#3

[eluser]drago_[/eluser]
It was indeed a naming problem. I didnt notice that helper files have a sufix "_helper".
#4

[eluser]Namaless[/eluser]
If interested I have write a BreadCrumb library, works only php5 but if you want I rewrite for php4 :-)




Theme © iAndrew 2016 - Forum software by © MyBB