Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-20-2009, 10:08 AM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 97,306
Tequila is on a distinguished road
Default Edit Featured Adoptable display

Is there a way to edit the featured adoptable component so that it only displays a clickable image?

Like:


The layout I am working on for the new release of my site has a little featured adoptable block in the header above the rest of the content.

You can see what I mean at the main site: http://familiarelements.info

Edit
Figured it out. Had to change variables in the functions.php file. If anyone is interested this is what I changed it to:
PHP Code:
    $content "<p><a href='levelup.php?id=".$id."'><img src='".$imageurl."' id='me' alt='Featured Adoptable' border='0'></a></p>"
Reply With Quote
  #2  
Old 02-20-2009, 10:18 AM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,716
BMR777 is on a distinguished road
Default RE: Edit Featured Adoptable display

Yeah. Open up inc > functions.php in a text editor and find:

PHP Code:
    $content "<p><img src='".$imageurl."' id='me' alt='Featured Adoptable'>
                    <strong><a href='show.php?id="
.$id."'>".$name."</a></strong><br />
                    Level: "
.$currentlevel."<br />
                    Owner: "
.$owner."<br />
                    <a href='levelup.php?id="
.$id."'>Add more HP</a></p>"
That's the HTML for the featured adoptable. So you could do something like:

PHP Code:
    $content "<a href='levelup.php?id=".$id."'><img src='".$imageurl."' id='me' alt='Featured Adoptable'></a>"
:)

BMR777
Reply With Quote
  #3  
Old 02-20-2009, 10:19 AM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 97,306
Tequila is on a distinguished road
Default RE: Edit Featured Adoptable display

Quote:
Originally Posted by BMR777
Yeah. Open up inc > functions.php in a text editor and find:

PHP Code:
    $content "<p><img src='".$imageurl."' id='me' alt='Featured Adoptable'>
                    <strong><a href='show.php?id="
.$id."'>".$name."</a></strong><br />
                    Level: "
.$currentlevel."<br />
                    Owner: "
.$owner."<br />
                    <a href='levelup.php?id="
.$id."'>Add more HP</a></p>"
That's the HTML for the featured adoptable. So you could do something like:

PHP Code:
    $content "<a href='levelup.php?id=".$id."'><img src='".$imageurl."' id='me' alt='Featured Adoptable'></a>"
:)

BMR777
I must have just edited it when you replied. I guess I'm tired today.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible not to display the species name of the adoptable in adopt center? Hall of Famer Questions and Supports 3 03-07-2010 06:54 PM
How to change the "Featured Pet" width and height wilfred888 Questions and Supports 1 04-29-2009 05:00 PM
Featured Adoptable? mugwumpr Questions and Supports 2 04-18-2009 08:19 PM
Having multiple Featured Adoptables? rosepose Questions and Supports 7 03-30-2009 07:48 PM
Featured adoptable Killgore Questions and Supports 1 03-29-2009 06:50 AM


All times are GMT -5. The time now is 10:58 AM.

Currently Active Users: 9719 (0 members and 9719 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636