Forum Replies Created
-
AuthorPosts
-
laurelv
ParticipantSure, I believe you still have the login info to the site, if not email me separately and I’ll resend – site is not visible to the public right now.
The page link is:
http://www.cmadoctors.com/CMA/heart-vascular-care/(There are tabs, the directory is under the Doctors tab)
The shortcode is:
[connections category="10 11 16 17" show_alphaindex='FALSE' enable_pagination='FALSE' department_format="%department%" workphone_format="%number%"]
I’ve also tried just using the Heart & Vascular id (15).
Thank you!
laurelv
ParticipantSteven, I went ahead and filled out your contact form – thank you!
laurelv
ParticipantSo I did create a Custom Field via the admin interface for CMAP, then I used that value in card.php with the code as described in that link.
Now Name is being linked to the category URL, and the Custom Link info shows up underneath the photo.
Here’s what I have in card.php:
<?php $url = $entry->getMeta(
array(
‘key’ => ‘custom_url’,
‘single’ => TRUE // Do not change this.
)
);?><h3>“><?php $entry->getNameBlock( array( ‘format’ => $atts[‘name_format’], ‘link’ => FALSE ) ); ?></h3>
custom_url is the value I gave my custom meta entry.
Not sure what I am doing wrong (not really a PHP programmer)…can you please help?
(I am more than willing to pay for your time if this is above and beyond normal support)
Thank you, Steven!
laurelv
ParticipantThank you Steven, that was it! But, I do still have a question of course…in the CMAP you can already add a Custom Field, right? So can I do that for this purpose and if so how would I know what the field ID is that I’ve just created?
02/22/2017 at 3:17 pm in reply to: Custom Template not activated? Remove labels? Include expanded profile in page? #412642laurelv
ParticipantSteven, I realized that what I was asking about the single view doesn’t make sense. What I really need to do is probably link the doctor’s individual pages to their names, which I believe you have addressed elsewhere in the forums. If I get into trouble I’ll ask. : )
I will fix my directory issues. Thanks for pointing me to the shortcode options!
Thank you very much for your prompt reply!
Laurel
laurelv
ParticipantGreat – thank you so much!
-
AuthorPosts
