Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   More Organized Adoptables Page (http://www.mysidiaadoptables.com/forum/showthread.php?t=403)

LilPixie 02-17-2009 11:39 AM

More Organized Adoptables Page
 
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?

trollis76 02-17-2009 11:59 AM

RE: More Organized Adoptables Page
 
Where did you find the Index.php? Please tell me!
I only find the Index.htm... :(

LilPixie 02-17-2009 12:11 PM

RE: More Organized Adoptables Page
 
>_> it's in the place you installed the script on

trollis76 02-17-2009 12:14 PM

RE: More Organized Adoptables Page
 
Oh, I'll install it again to make sure I got it then...
<_<

LilPixie 02-17-2009 12:17 PM

RE: More Organized Adoptables Page
 
LOL
It should be there xD

BMR777 02-17-2009 03:48 PM

RE: More Organized Adoptables Page
 
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 Code:

$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

LilPixie 02-17-2009 07:37 PM

RE: More Organized Adoptables Page
 
Ohhhh
Okay I will try it ^^


All times are GMT -5. The time now is 11:54 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.