Mysidia Adoptables Support Forum  

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

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-22-2011, 03:15 PM
The Codfin Keeper's Avatar
The Codfin Keeper The Codfin Keeper is offline
A Codfin draws near!
 
Join Date: Jan 2011
Location: Either CT or the Slug's house
Posts: 91
Gender: Male
Credits: 11,379
The Codfin Keeper is on a distinguished road
Default Change html and stuff of insite-made page?

Wow, third question topic already. >.<

I made a page for a quest I'm working on, and I made it using the "Change Content" part of my site's admin CP. The problem is that I need to add some things to the head part of its html and also to add a Javascript script, but it isn't in my site's files, even though pages.php obviously has a way of getting the info. How am I supposed to be able to add what I need to?
__________________

Yacker
Quote:
Originally Posted by Mankey Pokemon Card when another one is on top of it
([33) Ka\______
Does 40 damage\___
counter on Mankey. \______
  #2  
Old 01-22-2011, 05:49 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 26,310
PTGigi
Default

There's a file that should be called "blank.php" you can use this to make a new page (not on pages.php) that you can use any PHP and HTML coding you want.

Duplicate this page, rename it something else, then use something like:

PHP Code:
$article_title "PAGE TITLE HERE";
$article_content "ARTICLE CONTENT HERE. You can use HTML in this space but remember not to use a 'double' quote or it'll mess up."
Also more complicated but you can make sub-pages so you don't have to make tons of pages and can have you entire quest in one page. I think Kaeliah made a tutorial somewhere, let me find that

EDIT: Here it is: http://www.myadopts.com/forum/showthread.php?tid=4865
Irony that it is on MA and not here X3
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic

Last edited by PTGigi; 01-22-2011 at 05:55 PM.
  #3  
Old 01-22-2011, 06:40 PM
The Codfin Keeper's Avatar
The Codfin Keeper The Codfin Keeper is offline
A Codfin draws near!
 
Join Date: Jan 2011
Location: Either CT or the Slug's house
Posts: 91
Gender: Male
Credits: 11,379
The Codfin Keeper is on a distinguished road
Default

Ok, I'll check that all out. Thanks!
__________________

Yacker
Quote:
Originally Posted by Mankey Pokemon Card when another one is on top of it
([33) Ka\______
Does 40 damage\___
counter on Mankey. \______
  #4  
Old 01-22-2011, 06:42 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 334,035
Hall of Famer is on a distinguished road
Default

lol I think Kaeliah is too busy to make one here at this moment, she is taking finals and working on scripts for the next Mys release. XD
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #5  
Old 01-22-2011, 07:04 PM
The Codfin Keeper's Avatar
The Codfin Keeper The Codfin Keeper is offline
A Codfin draws near!
 
Join Date: Jan 2011
Location: Either CT or the Slug's house
Posts: 91
Gender: Male
Credits: 11,379
The Codfin Keeper is on a distinguished road
Default

Another question that ties in: the cookie script is Javascript, so where would I go inserting that in the php file?
__________________

Yacker
Quote:
Originally Posted by Mankey Pokemon Card when another one is on top of it
([33) Ka\______
Does 40 damage\___
counter on Mankey. \______
  #6  
Old 01-22-2011, 10:29 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,343
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Same place TCK.

PHP Code:

$article_content 
"HTML, JAVASCIRPT OR WHATEVER HERE."
Although be careful, if you must use double quotes, put a \ (I think... if it doesn't work try the other one XD) or instead of the double quotes use a single ' . The script should still work and everything.

You can also change the entire HTML of every page by accessing the template.html file under the templates folder.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
  #7  
Old 01-23-2011, 06:32 AM
The Codfin Keeper's Avatar
The Codfin Keeper The Codfin Keeper is offline
A Codfin draws near!
 
Join Date: Jan 2011
Location: Either CT or the Slug's house
Posts: 91
Gender: Male
Credits: 11,379
The Codfin Keeper is on a distinguished road
Default

Okay, thanks. I also found a way to work cookies in PHP, and so now I have that set up xD

I'll say it so the one who locks this doesn't waste typing:

Solved = Locked (when someone gets around to it)
__________________

Yacker
Quote:
Originally Posted by Mankey Pokemon Card when another one is on top of it
([33) Ka\______
Does 40 damage\___
counter on Mankey. \______
Closed Thread


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
How would I change template.tpl to index.html? LucasA33 Questions and Supports 10 04-05-2014 04:16 AM
Adopt Page & Pound Page change? tahbikat Questions and Supports 3 02-14-2014 03:19 PM
jQuery - Spiffing up your page where you can't edit the HTML! Kyttias Tutorials and Tips 3 01-29-2014 06:09 PM
Change the MyAdopts.php page! Blue Icebox Addons/Mods Graveyard 4 05-03-2009 03:04 PM
I would like to see what you made zhiichiro Questions and Supports 6 03-29-2009 11:24 AM


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

Currently Active Users: 9794 (0 members and 9794 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