Welcome Guest, Not a member yet? Register   Sign In
problem with session in template
#9

(This post was last modified: 05-17-2015, 10:33 AM by StratoKyke.)

Thanks for the reply.
Since I will not have to use only the username but also other values, which method do you recommend to use?


EDIT: When I use $data['username'] = $session_data['login']; after I pass the $data variable in view.
But it does not work anyway.


I am very stupid, i found this discussion http://stackoverflow.com/questions/17446...d-retrieve that I did find the solution.

If I already have the tag assigned user_log and when used in template works perfectly, I just use that and add the field that I want to use.

For example: I need to use the username field

I'm going to write in the template {$user_log.username} Smile

thanks for the reply and support!!
Reply


Messages In This Thread
problem with session in template - by StratoKyke - 05-14-2015, 02:35 AM
RE: problem with session in template - by CroNiX - 05-16-2015, 03:56 PM
RE: problem with session in template - by CroNiX - 05-17-2015, 09:52 AM
RE: problem with session in template - by StratoKyke - 05-17-2015, 10:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB