Jump to content

Recommended Posts

Posted
hi!
i'm trying to get the label of my field that i use in two templates with different name.
so i'm trying to get the label through the template.
so my code is
echo $templates->get("home")->fieldgroup->get("text")->label;

but it gives me the general field label not that i'm using for the home template

 
any idea?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...