Forum Replies Created
-
AuthorPosts
-
Tim Emineth
ParticipantCan you tell me where to add this in the slim-plus.php file
thank youTim Emineth
ParticipantOK Here is what I have done (still can’t figure it out)
I removed all of the code that I had added to card.php and started over from scratch.
I then tried to add in the GetContactNameblock like before and it duplicates.
I then removed everything but the GetContactNameBlock and it still duplicates.
Here is the code now:
echo '<h3 class="cn-accordion-item" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';">' , $entry->getContactNameBlock() ,'</h3>';As you can see above the only $entry is the getContactNameBlock and it is still duplicating.
Tim Emineth
ParticipantThis was all working great then connections had an update now I have the following The contact name block repeating: http://ashiww.personalseo.com/snohomish/ I have tried removed and replacing the code above (and even editing) and it duplicates the contact name block
echo ‘<h3 class=”cn-accordion-item” data-div-id=”cn-detail-‘ , $uuid , ‘”‘ , ‘ style=”border-bottom: ‘ , $atts[‘color’] , ‘ 1px solid; color:’ , $atts[‘color’] , ‘;”>‘ , $entry->getNameBlock( array( ‘format’ => $atts[‘name_format’])) .”.$entry->getContactNameBlock().”.$entry->getPhoneNumberBlock( array( ‘limit’=> 1 ) ),'</h3>
‘;
This was my working code before the update:
echo '<h3 class="cn-accordion-item" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';">' , $entry->getNameBlock( array( 'format' => $atts['name_format'])) .''.'' . $entry->getContactNameBlock() .' '.$entry->getPhoneNumberBlock( array( 'limit'=> 1 ) ),'</h3>';-
This reply was modified 11 years, 3 months ago by
Tim Emineth.
-
This reply was modified 11 years, 1 month ago by
Steven Zahm.
-
This reply was modified 11 years, 3 months ago by
-
AuthorPosts
