Please Log in or Create an account to join the conversation.
You'll need to use the getFields API to retrieve the proper avatar path. Example as follows.How does one get the selected MYCBTEMPLATE from global config? Where is this information stored and accessible?
You can't. The change occurs on profile display only. You'd have to implement your own solution to generate the image URL.How to deal with CB Template Changer plugin info?
Please Log in or Create an account to join the conversation.
o.k. its not sooo important to deal with it. Very rarely used.You can't. The change occurs on profile display only. You'd have to implement your own solution to generate the image URL.
Please Log in or Create an account to join the conversation.
You can get the CB template, but it's not going to reflect the template change from CB Template Changer outside of CB profiles and it won't have any affect on getFields outside of profile view.There is no alternative way to get this info? I mean, without API?
CB Template Changer stores the name of the template.What does the respective profile field include? The name or ID# of the template?
Please Log in or Create an account to join the conversation.
krileon wrote: You can get the CB template, ... it won't have any affect on getFields outside of profile view.
CB Template Changer stores the name of the template.
Please Log in or Create an account to join the conversation.
When you're not looking at a profile on frontend it won't reflect the template change from CB Template Changer. The API to get the current template name is as follows.Sorry, did not understand "outside of profile view"?
It's a config parameter. We don't store CB config to database. You can get it with the above API calls.I wonder why CB global template from global configuration is not available in a DB table? That would make it pretty simple and easy via query.
Please Log in or Create an account to join the conversation.