Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

page template

Aloittaja Linera, elokuu 25, 2006, 04:01:26 IP

« edellinen - seuraava »

Linera

I'm looking for a plain page temlate that uses the current theme and stuff. I need it for making the other pages in my site and the error pages my server generates like page not found

1MileCrash

The only thing php can't do is tell you how much milk is left in the fridge.



Linera

I tried the following code:
<?php

$ssi_theme 
1;
$ssi_layers = array('main');
require_once(
'SSI.php');

echo 
'Hi!';

ssi_shutdown();

?>

but in the file i saw
Lainaa!!Attention of WOW-DK theme:

This theme doesn't correspond to the version of SMF that you are using. This theme is made for SMF 1.1 RC3.
See the file at:
http://souimappers.post2hostit.com/test.php

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Linera

i dunno how that happen either.

and its bigger than its suppose to be.

1MileCrash

um...sloopz..it's using SSI. Copyright is omited..

The only thing php can't do is tell you how much milk is left in the fridge.



Linera

Lainaus käyttäjältä: Tippmaster - elokuu 26, 2006, 11:02:01 AP
um...sloopz..it's using SSI. Copyright is omited..

that doesn't explain why its so big and have the error message on it.

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Linera

Well I need the page to be like other pages on the forums.

1MileCrash

I dont see any error message..

This displays everything in the index.template.
The only thing php can't do is tell you how much milk is left in the fridge.



Linera

i see this when i view that test page:
LainaaAttention of WOW-DK theme:

This theme doesn't correspond to the version of SMF that you are using. This theme is made for SMF 1.1 RC3.

and it needs the copyright info.

1MileCrash

It doesnt need the copyright info. Says who? It's covered in the thread i linked you to.

I need to see a screenshot of the error you're seeing, because it's not there for me.
The only thing php can't do is tell you how much milk is left in the fridge.



Linera

Look in my last reply i put the error in a quote

read it.

plus that error is only suppose to pop up when the theme's version is different from SMF's version on your site.

and it always needs copyright, or you break the Terms of Use.

Deaks

Linera, im not recieving that error either, a screenshot will make it easier to help you. Considering you are the only person we know of getting it.  If you are getting it and no-one else is then its hard to help.

Below is what I see and im sure is what Tipp sees
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."


1MileCrash

It's probabally because your the admin. I don't know why the error is showing because it is the right version..

And, no. The smf copyright is automatically omitted when you use SSI layers..im telling you now. I asked unknown in the thread i linked you to.
The only thing php can't do is tell you how much milk is left in the fridge.



Linera

How do I get rid of the error?

bloc

You need to go in and change those lines in index.template.php of the theme you are using. I don't have the right code, but its safe to assume its something with that text and with....

if( $context['user']['is_admin'] )

...somewhere perhaps.

Linera

weird thing is it disappeared on its own.

now; How can I fix the size of the template? it looks a little bigger then the rest of it.

Advertisement: