xoops forums

Forum Index


Board index » All Posts (script_fu)




script_fu

Friend of XOOPS
Posted on: 2009/11/7 17:46
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#1

Re: How do I add a simple webpage to a xoops themed site?

This is interesting... Ghia will this code work in the root folder of Xoops?

Meaning

root/test.php?

So can I wrap a page with this code we have been using for years. Then add your code to where to get this working in the root folder not root/modules/test/test.php

Quote:

Northern wrote:
name it whatever you want, but end it in .php

<?php
if (file_exists("mainfile.php")) {
    include(
"mainfile.php");
}
elseif(
file_exists("../mainfile.php")) {
    include(
"../mainfile.php");
}
else {
    include(
"../../mainfile.php");
}
include(
XOOPS_ROOT_PATH "/header.php");
$xoopsTpl->assign('xoops_showrblock'0); // 1 display right blocks
$xoopsTpl->assign('xoops_showlblock'0); // 1 display right blocks
?>
///////
Your code in html 
///////
<?php
include(XOOPS_ROOT_PATH "/footer.php");
?>


or

in full php


<?php
if (file_exists("mainfile.php")) {
    include(
"mainfile.php");
}
elseif(
file_exists("../mainfile.php")) {
    include(
"../mainfile.php");
}
else {
    include(
"../../mainfile.php");
}
include(
XOOPS_ROOT_PATH "/header.php");
$xoopsTpl->assign('xoops_showrblock'0); // 1 display right blocks
$xoopsTpl->assign('xoops_showlblock'0); // 1 display right blocks

echo "Your code";

include(
XOOPS_ROOT_PATH "/footer.php");
?>


Marc


I didn't know user's could be controlled with stand alone pages.

Thanks for your time...


script_fu

Friend of XOOPS
Posted on: 2008/10/19 22:04
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#2

Re: Can not connect to Mysql Db - however I intalled many Xoops

What version are you trying to
install?

apache?
php?
mysql?


script_fu

Friend of XOOPS
Posted on: 2008/9/21 21:19
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#3

Re: Ds_Reda Theme 2.23

Nice... Very clean

You have been on a major roll !

Ty


script_fu

Friend of XOOPS
Posted on: 2008/9/21 21:08
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#4

Re: blank page after installation

Hum strange...

Can you post your php debug and smarty from preferences?

(Edit)
System »» Preferences Main »» General Settings


script_fu

Friend of XOOPS
Posted on: 2008/9/15 23:15
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#5

Re: The Automotive world meets Xoops

Marc my internet should be up and running on Tuesday the 16th. Can't wait to get started...


script_fu

Friend of XOOPS
Posted on: 2008/8/29 11:34
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#6

Re: The Automotive world meets Xoops

You know im in! Just not the project admin this round...


script_fu

Friend of XOOPS
Posted on: 2008/8/29 11:32
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#7

Re: Friend Requests Caused Blank Screen - Yogurt v3.2 RC1

Yep found it last night on sf.jp will be testing this weekend. Thanks 4 the link.


script_fu

Friend of XOOPS
Posted on: 2008/8/29 1:27
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#8

Re: Friend Requests Caused Blank Screen - Yogurt v3.2 RC1

Where in the heck is this xsns module for XOOPS and cube? Link please...


script_fu

Friend of XOOPS
Posted on: 2008/8/29 0:52
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#9

Re: Yogurt - news from suico

He's talking about xc and being able to gain admin access from the errors that yogurt produces.

So it would stand to reason that it must be installed on xc to find out all the issues.


script_fu

Friend of XOOPS
Posted on: 2008/8/28 0:19
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#10

Re: The Xgarage project is looking for a new project manager / lead developer.

cool... ty



TopTop
(1) 2 3 4 ... 133 »