Welcome Guest, Not a member yet? Register   Sign In
Url Problem
#1

[eluser]ajay009ajay[/eluser]
Hello all,

I have created one php file in my project.I want to attach this in my project.But whenever i m writing my file information in site_url() function this is not opening like all.The ERROR PAGE NOT FIND is coming on my screen.

I need to make clear the concept of ...

http://www.mydomain.com/index.php/progra...allProject

This above url is sending an error.

But when i m trying to run below url , this is running well.

http://www.mydomain.com/index.php/programmers/signUp

this above url was already in my project.I do't know same type of both url one is working or another is not working.

Actually i have not basics idea of codeIgniter. So plz help me .

Any help will appreciate

Thanks All
#2

[eluser]pistolPete[/eluser]
Read the user guide: http://ellislab.com/codeigniter/user-gui...llers.html

Watch the video tutorials: http://codeigniter.com/tutorials/

If you still got problems, post your controller code.
#3

[eluser]ajay009ajay[/eluser]
Thanx This seems to work now.

When i m trying to print like as in project..

echo $this->lang->line('manage_portfolio');

this above is printing but whenever i am writing my own code like this...

echo $this->lang->line('View_projects');

This above is printing nothing.A blank is printing there.

Plz explain this also..
Thanx
#4

[eluser]pistolPete[/eluser]
Did you create your own language file?
Did you load the language file?

Does it contain the entry you are looking for?
Code:
$lang['View_projects'] = "Some text";

Maybe the entry starts with a lowercase "v", the you should use:

Code:
echo $this->lang->line('view_projects');




Theme © iAndrew 2016 - Forum software by © MyBB