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, 03:03 PM
LilPixie LilPixie is offline
Member
 
Join Date: Jan 2009
Posts: 75
Credits: 12,393
LilPixie
Default Blank page

I would like to create a blank page on the site (it doesn't have to show up in the nav bar) with the template in it and all the login stuff. I tried to copypasta the coding of another page and take out all the content and replace the "article_content" section with what I wanted on the oage, but I ended up taking out too much. Does anyone know the base codes for any given page? I can just use that and then put in my own stuff.
Reply With Quote
  #2  
Old 02-20-2009, 05:19 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 13,577
BMR777 is on a distinguished road
Default RE: Blank page

Just take the file extrapage.php and make a copy. Then open the file and find:

PHP Code:
// Get our content for the index page

$query "SELECT * FROM article_content WHERE page = 'extra'";
$result mysql_query($query);
$num mysql_numrows($result);

//Loop out code
$i=0;
while (
$i 1) {

$article_title=mysql_result($result,$i,"title");
$article_date=mysql_result($result,$i,"date");
$article_content=mysql_result($result,$i,"content");

$i++;
}

$article_title stripslashes($article_title);
$article_content stripslashes($article_content);

$article_content $bbcode->Parse($article_content);

// Run the BBCODE parser on the content 
Go ahead and delete the above code.

Then where the code above was previously, you can add your content. You need to add it in the following format for it to work:

PHP Code:
$article_title "Your page title";
$article_content "The content of your page goes here.  You may paste in HTML too but only use single quotes ' in the HTML instead of double quotes."
Hope it helps,
Brandon
Reply With Quote
  #3  
Old 02-20-2009, 10:59 PM
LilPixie LilPixie is offline
Member
 
Join Date: Jan 2009
Posts: 75
Credits: 12,393
LilPixie
Default RE: Blank page

thank you! ^^
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
Blank page with x10Hosting bisexuowl Questions and Supports 0 09-22-2015 10:42 PM
Blank profile page? gloryKAT Questions and Supports 3 02-08-2015 05:53 PM
No errors, just a blank page? FounderSim Questions and Supports 5 10-04-2014 05:15 PM
Blank Inventory Page ilrak Questions and Supports 5 09-23-2014 10:03 PM
Blank Page Samuel hunter Questions and Supports 8 01-01-2013 05:08 PM


All times are GMT -5. The time now is 07:45 AM.

Currently Active Users: 702 (0 members and 702 guests)
Threads: 4,081, Posts: 32,032, 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