More Organized Adoptables Page

Forum
Last Post
Threads / Messages

LilPixie

Member
Member
Joined
Jan 5, 2009
Messages
75
Points
0
Mysidian Dollar
6,489
I waned to make something like this for my adoptables page http://www.arvyre.com/pets/adopt.html

I went to edit the "index.php" file in my FTP file manager so I could copypasta in a new file and edit for this type of page), but the content of the article is (article_content) instead of the actual text.

If the Arvyre person is here (or anyone else that can help, of course ;P), how did you do it? I know how to put in the HTML for he page, I just don't know the coding for the page.

Am I making sense?
 
Well, there's two ways that will affect how adoptables are shown. One way they are affected is by the template you use on your site. This can change how they are displayed.

Also, in adopt.php there is code that shows how they are arranged on the adopt page. Below is the code that shows adoptables to logged in members, but there is a second set of code that is similar for guests...

PHP:
$article_content=$article_content."<p align='center'><b><a href='adopt.php?aID=".$aID."'>".$name.":</a></b></p>
<p align='center'><a href='adopt.php?aID=".$aID."'><img src='".$imageurl."' border='0'></a> </p>
<p align='center'><a href='adopt.php?aID=".$aID."'>Adopt ".$name."</a></p>";

As you can see, there is HTML code in there along with variable names. (The things with dollar signs in front are variables and change based on the adoptable we are showing.)

You can edit that as well to change the look.

Hope it helps,
Brandon
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top