rev Posted September 6, 2011 Share Posted September 6, 2011 Whao i tried everything is written in documentation and in this forum with no success. I just want to show custom client fielad named "your nickname" in a tpl file but there's no way. I tried with: {$clientsdetails.yournickname} {$clientsInfo.yournickname} $clientsdetails["customfields1"] $clientsdetails["yournickname"] And many more. I'm done. What's the right syntax? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted September 6, 2011 Share Posted September 6, 2011 Whao i tried everything is written in documentation and in this forum with no success. I just want to show custom client fielad named "your nickname" in a tpl file but there's no way. I tried with: {$clientsdetails.yournickname} {$clientsInfo.yournickname} $clientsdetails["customfields1"] $clientsdetails["yournickname"] And many more. I'm done. What's the right syntax? You have a space in your field name, but not in the ones you're trying to call it with. Is that just a typo? 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted September 6, 2011 Share Posted September 6, 2011 So, just a suggestion. If you put {debug} into a smarty template, you will get all of the information that you could ever want. It will have a pop-up window that should provide you with some information. Can you throw up the relevant information from that? 0 Quote Link to comment Share on other sites More sharing options...
rev Posted September 6, 2011 Author Share Posted September 6, 2011 I read in doc that i have to use lowercase and underscore for spaces. Ofc i also tried with space but nothing happend. Can you please tell me give me an example to show in tpl the "your nickname" custom client field? 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted September 6, 2011 Share Posted September 6, 2011 {$clientsdetails.customfields1} Like I said, if you put {debug} into the template, that does wonders for finding relevant information. 0 Quote Link to comment Share on other sites More sharing options...
rev Posted September 6, 2011 Author Share Posted September 6, 2011 I got it. It was not syntax problem. I want to show this field in public area to all non-logged users. I can see the custom field value only when i'm logged as customer. Nvm. I stop here. Thank you for support. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.