Revision: 34421
Updated Code
at October 22, 2010 05:23 by ipublicis
Updated Code
<?php $cssid = uniqid(); ?> <div class="cn-entry" style="-moz-border-radius:4px; background-color:#FFFFFF; border:1px solid #E3E3E3; margin:8px 0px; padding:6px; position: relative; float: left;"> <a href="#cn-entry-<?php echo $cssid ?>" rel="prettyPhoto"><?php echo $entry->getCardImage(); ?></a> <div id="cn-entry-<?php echo $cssid; ?>" class="hide"> <span style="font-size:larger;font-variant: small-caps"> <strong><?php echo $entry->getFullFirstLastName() ?></strong> </span> <br /> <?php echo $entry->getTitle() ?> <?php echo $entry->getDepartment() ?> <div style="margin-bottom: 20px;"> <ul class="icons"> <?php $entryVars = $entry->getEmailAddresses(); foreach($eVar in $entryVars) { ?> <li><img src="emailIcon.png" title="<?php echo $eVar['address']; ?>" /></li> <?php } $entryVars = $entry->getSocialMedia(); foreach($eVar in $entryVars) { ?> <li><a href="<?php echo $eVar['url']; ?>" target="_blank"><img src="<?php echo $eVar['type']; ?>Icon.png" title="<?php echo $eVar['name']; ?>" /></a></li> <?php } $entryVars = $entry->getIm(); foreach($eVar in $entryVars) { ?> <li><img src="<?php echo $eVar['type']; ?>Icon.png" title="<?php echo $eVar['id']; ?>" /></li> <?php } $entryVars = $entry->getWebsite(); foreach($eVar in $entryVars) { ?> <li><a href="<?php echo $eVar['url']; ?>" target="_blank"><img src="websiteIcon.png" title="<?php echo $eVar['name']; ?>" /></a></li> <?php } ?> </ul > </div> <div style="clear:both"></div> <?php echo $entry->getBio() ?> <div style="clear:both"></div> <div class="cn-meta" align="left" style="margin-top: 6px"> <?php echo $vCard->download() ?> </div> </div><!-- #cn-entry-<?php echo $cssid; ?> --> </div><!-- #cn-entry -->
Revision: 34420
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 22, 2010 04:50 by ipublicis
Initial Code
<?php $cssid = uniqid(); ?> <div class="cn-entry" style="-moz-border-radius:4px; background-color:#FFFFFF; border:1px solid #E3E3E3; margin:8px 0px; padding:6px; position: relative; float: left;"> <a href="#cn-entry-<?php echo $cssid ?>" rel="prettyPhoto"><?php echo $entry->getCardImage(); ?></a> <div id="cn-entry-<?php echo $cssid; ?>" class="hide"> <span style="font-size:larger;font-variant: small-caps"> <strong><?php echo $entry->getFullFirstLastNameBlock() ?></strong> </span> <br /> <?php echo $entry->getTitleBlock() ?> <?php echo $entry->getOrgUnitBlock() ?> <div style="margin-bottom: 20px;"> <?php echo $entry->getEmailAddressBlock() ?> <?php echo $entry->getSocialMediaBlock() ?> <?php echo $entry->getImBlock() ?> <?php echo $entry->getWebsiteBlock() ?> </div> <div style="clear:both"></div> <?php echo $entry->getBio() ?> <div style="clear:both"></div> <div class="cn-meta" align="left" style="margin-top: 6px"> <?php echo $vCard->download() ?> </div> </div><!-- #cn-entry-<?php echo $cssid; ?> --> </div><!-- #cn-entry -->
Initial URL
http://wordpress.org/support/topic/plugin-connections-where-is-the-documentation-for-creating-new-templates
Initial Description
I need to create a new template that just show the photo ordered by «department» and «title». It should also include an hidden <DIV> with full name, email, social links and bio.
Initial Title
Connections template
Initial Tags
wordpress
Initial Language
PHP