With the exception that the contact description is now shown on the default
P.S. the code clearly suggests that the id.contact can be set, but how? With a specific url?
EDIT 2:
To link to a specific contact, add ?id_contact=N to the url, where N is the ID of the contact you want to link to. The following example assumes the contact with ID number 3 is the first additional contact added to thirty bees:
Question
Jeffrey de Bruijn
Hello,
The default subject heading in the Niara theme is created with
I do not like this.
All other subject headings are built with a smarty foreach loop.
Given that I know the ID of the subject heading I want as default, how can I get smarty to output the contact.name of the contact I want?
I tried the following which does not work.
Option value is set to the ID of the contact I want, how do I tell smarty to: select the contact with id=2 from contacts and give me the contact name?
EDIT:
This works
With the exception that the contact description is now shown on the default
P.S. the code clearly suggests that the id.contact can be set, but how? With a specific url?
EDIT 2:
To link to a specific contact, add ?id_contact=N to the url, where N is the ID of the contact you want to link to. The following example assumes the contact with ID number 3 is the first additional contact added to thirty bees:
domain.tld/en/contact-us?id_contact=3
Added answer
0 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now