Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
03/14/2019 at 10:49 pm #487053Ryan ChristensonParticipant
Is it possible to override the template for the view all page? My client wants a comma inserted in the name format.
So now names appear as:
First M Last Suffix
My client wants it with a comma before the Suffix:
First M Last, Suffix
I’m using the Slim Plus template.
I want to have this option for the view all page:
$permittedAtts[‘name_format’] = ‘%first% %middle% %last%, %suffix%’;
Thanks.03/15/2019 at 1:07 pm #487096Steven ZahmKeymaster03/18/2019 at 7:37 pm #487385Ryan ChristensonParticipant
Ok the tweak works if I copy/paste the core names template as a new plugin as the readme.txt instructs to do.
However, I’d rather override the core names template in my WordPress theme. So is that possible for the core templates?
I tried the following path but it doesn’t work:
wp-content\themes\my-theme\connections-templates\names\03/19/2019 at 11:29 am #487450Steven ZahmKeymaster
RE: the tweak works if I copy/paste the core names template as a new plugin as the readme.txt instructs to do.
You do not need to move the/copy the Names template to the plugins folder.
Use a template override file for the Names template.
You’ll need to create a
card.phpfile and put it in the path. The file only needs to contain this one line:
$entry->getNameBlock( array( 'link' => TRUE, 'format' => '%first% %middle% %last%, %suffix%' ) );
Hope this helps!
You cannot reply to this support topic. Please open your own support topic.