1
script_fu
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...



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

What version are you trying to
install?

apache?
php?
mysql?



3
script_fu
Re: Ds_Reda Theme 2.23

Nice... Very clean

You have been on a major roll !

Ty



4
script_fu
Re: blank page after installation

Hum strange...

Can you post your php debug and smarty from preferences?

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



5
script_fu
Re: The Automotive world meets Xoops

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



6
script_fu
Re: The Automotive world meets Xoops

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



7
script_fu
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.



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

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



9
script_fu
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.



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

cool... ty




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



Login

Who's Online

202 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits