• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] CI View range

#1
Tongue 
Is it good, that i can go back to another directories with view() function?

   
Reply

#2
I don’t know if it would work, but it is definitely not best practice to put view files in the Helpers directory!
Test your translation files with Translation Tester
Reply

#3
(03-08-2020, 11:40 AM)includebeer Wrote: I don’t know if it would work, but it is definitely not best practice to put view files in the Helpers directory!

Yup, i know, but i just test it, and it works, and i ask to get know is it developed like that, or it is bug (which chance is very small)..

Thank's for reply!
Reply

#4
That’s the beauty of Code Igniter. It let you do what you want, even if it’s not the “right” way! Wink
Test your translation files with Translation Tester
Reply

#5
It's not a bug CodeIgniter allows you to have your own view file directory so yes it would work.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#6
Ok, thank you guys! Wink
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.