I have a MySQL database containing; name, web address, twitter address, facebook address, myspace address & youtube address for various contacts.
I need to be able to display this information inside joomla articles with a simple call. The article title will be the name contained in the database. If this can be automatically retrieved that would be good. If not I will need to be able to enter the name as reference on the article page.
i.e. {contactinfo}[random name]{/contactinfo}
I want the facebook, youtube myspace & twitter addresses to be links displaying only the respective logos and the web address to display in full as a link. Name need not be displayed. If any field is not filled it should not be displayed at all.
I need to be able to adjust container size, borders etc. as well.