skindstad Junior Member
Posts: 41 Status: Offline Gender: Female Location: Denmark Joined:
pmwwwmsnyahoovForum | Gender icons instead of text (12th Jan 11 at 4:58pm UTC) Resolved | | Hey I was wondering if it's possible to change the text in the mini-profiles from female/male to an image/icon instead and how it's done? Haven't been able to find a code in here. Thanks. | |
|
|
Ross Administrator
Posts: 3,709 Status: Offline Gender: Male Age: 8 1⁄1 Joined:
Additional Groups: Support Team
pmwwwgtalkvForum | Re: Gender icons instead of text (12th Jan 11 at 11:26pm UTC) | | It can be done by just modifying your Mini-Profile template:
Admin Panel -> Manage Templates -> Choose to modify the mini-profile one or create one if one doesn't already exist
Create 2 images, one for female, one for male. Name them Male.jpg and Female.jpg and then upload them to your image host. It is important that you use an image host where the image will keep the same filename. I believe photobucket.com allows this but expect there are also others.
Find the bit which looks like this:
{if:gender}<br />Gender: {gender}{/if:gender}
And replace with:
{if:gender}<br />Gender: <img src="http://your-domain.com/images/{gender}.jpg" alt="{gender}" />{/if:gender}
The bit in red should be the folder where the images are uploaded to (should be the image URL but without the filename on the end).
Hope that makes sense. Let us know if not. | |
|
|
skindstad Junior Member
Posts: 41 Status: Offline Gender: Female Location: Denmark Joined:
pmwwwmsnyahoovForum | Re: Gender icons instead of text (13th Jan 11 at 9:10pm UTC) | | It worked, thanks a bunch | |
|
|