Support » Plugin: Connections Business Directory » [Plugin: Connections] Can't add logo

Viewing 6 replies - 1 through 6 (of 6 total)
  • It seems to only show images and not the Logo. Could not yet figure out why there is the Logo option!


    Plugin Author shazahm1


    None of the templates provided show the logo.

    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..


    I cant wrap my head around that..

    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..

    Plugin Author shazahm1


    Here’s the template tag that can be used.

    	 * Echo the logo if associated in a HTML hCard compliant string.
    	 * Accepted option for the $atts property are:
    	 * 		tag == string -- HTML tag.
    	 * 		id == string -- The tag id.
    	 * 		class == string -- The tag class.
    	 * 		alt == string -- The tag alt text.
    	 * 		title == string -- The tag title text.
    	 * 		src == string -- The image source.
    	 * 		longdesc == string -- URL to document containing text for image long description.
    	 * 		style == associative array -- Customize an inline stlye tag. Array format key == attribute; value == value.
    	 * 		before == string -- HTML to output before the logo.
    	 *  	after == string -- HTML to output after the logo.
    	 * 		display == string -- Display place holder area or default image or logo. Permitted values are logo, place_holder, default, blank.
    	 * 		return == TRUE || FALSE -- Return string if set to TRUE instead of echo string.
    	 * @param array $atts [optional]
    	 * @return string
    	public function getLogoImage( $atts = NULL )

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

    YOU ARE THE MAN Steven! Thanks so much!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Connections] Can't add logo’ is closed to new replies.