Custom pages in 2.0 RC3 style

Started by NanoSector, June 18, 2010, 02:52:35 PM

Previous topic - Next topic

NanoSector

Quote from: Omalina on July 13, 2010, 08:47:44 AM
Quote from: Yoshi2889 on July 12, 2010, 03:42:57 AM
HEY HEY HEY!!

Installing a mod solved this!!

Thank you, ENotify!

And thanks for all the help, guys!
what mod?
ENotify, but others may also help.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

NanoSector

#41
Argh can someone help me this time?

Error:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a9406461/public_html/about.php on line 19

Source:
<?php 
//Set the banning active
$ssi_ban true;
//Path to SSI.
require(dirname(__FILE__) . '/SSI.php');
//Page title. This will appear in the browser
$context['page_title_html_safe'] = 'About SMFTools';
//This is self explanatory
template_header(); 
//Here we define the link tree
$context['linktree'] = array(  'href' => $scripturl,  );  
//Here is the content, such as the title and the body message of the custom page.
echo'
<span class="clear upperframe"><span></span></span>
<div class="roundframe"><div class="innerframe">'
;
echo
' <div class="cat_bar"> <h3 class="catbg">About SMFTools</h3> </div>
<p>SMFTools is a simple Batch file that can operate with SMF.</p>'
;
echo
'
<p>Once SMFTools has started, you can use the default options. It has a build-in file checker so you don'
t have to worry about missing files.</p>';
echo'
<p>With the build-in features you can downloadremove or backup SMFSMFDownloader is includedit can download SMF for you with the help of WGet.</p>';
echo'
<p>If you are ready to try SMFTools, <a href="/download" title="Download SMFTools now!">you can download SMFTools from this page</a>.</p>';
echo'
   </div></div>   <span class="lowerframe"><span></span></span>';
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

deansmar

a silly error on line 19

"don't" is not allowed to be spelt like that it has to be spellt like this: don\'t

NanoSector

Quote from: deansmar on July 14, 2010, 08:24:02 AM
a silly error on line 19

"don't" is not allowed to be spelt like that it has to be spellt like this: don\'t
Hm.
I'm trying to do that now :)

(still don't get it...it has always worked for me)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

cicka

Yes, you will have to escape the backslash characters as mentioned above.

Advertisement: