Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter astralbaby

    (@astralbaby)

    <?php echo $entry->getLogoImage() ?>

    YOU ARE THE MAN Steven! Thanks so much!!

    <?php echo $entry->getLogoImage() ?>

    YOU ARE THE MAN Steven! Thanks so much!!

    On the other hand.. if you would like to display what is in the notes area.. then do this..

    <?php echo $entry->getNotes() ?>

    in the template. In the Notes area, I just toggled the editor and put in a <img> tage to point to the logo I need put in.

    So there is my work-a-round, and I wont have to mess with his code base up forward compatibility for next version..

    Well, the logo itelf is making it into the /connections image directory, and it is also making it into the database as well.

    I just do not see any where in his source code where he defines a function for the logo ie. $entry->getCardImage().

    I see all kinds of support for it in the includes/class.options.php file.

    Also, the way the entry is in the DB is wierd.. I would write the query myself but I do not know how to the author has it setup.

    If you look in the connections table in the db and look at the options row.. you will see something like the below. keep in mind this is my content.. yours would be different..

    a:3:{s:5:"entry";a:1:{s:4:"type";s:10:"individual";}s:4:"logo";a:3:{s:6:"linked";b:1;s:7:"display";b:1;s:4:"name";s:18:"realtor_logo_2.jpg";}s:5:"image";a:3:{s:6:"linked";b:1;s:7:"display";b:1;s:4:"name";a:4:{s:9:"thumbnail";s:30:"NancyBridgewater_thumbnail.jpg";s:5:"entry";s:26:"NancyBridgewater_entry.jpg";s:7:"profile";s:28:"NancyBridgewater_profile.jpg";s:8:"original";s:29:"NancyBridgewater_original.jpg";}}}

    I cant wrap my head around that..

Viewing 4 replies - 1 through 4 (of 4 total)