how do i make a new tab , example videos
how do i make a new tab , example videos
Added to revision 6
Manual:
Go to site/top.xen
search:
add under:PHP Code:<li><a href="donate.xen">Donate</a></li>
create file:PHP Code:<li><a href="videos.xen">Videos</a></li>
videos.xen in main folder.
Add in videos.xen:
create file:PHP Code:<?php
include("site/top.xen");
include("pages/videos.xen");
include("site/bottom.xen");
?>
pages/videos.xen
there add your videos.
I will add a video tab in revision 6 with editor from admin cp. (doing it now)
EDIT: Done:
http://my-trac.assembla.com/DreamCMS/changeset/6
To download:
http://code.assembla.com/DreamCMS/subversion/nodes & Press download
is there a way to make more then 1 news on the home page like different topics
When I put in my information it just goes to a page and looks like this.
<?php
$host = $_POST['host'];
$username = $_POST['username'];
$password = $_POST['password'];
$database = $_POST['name'];
$connect = mysql_connect($_POST['host'],$_POST['username'],$_POST['password']);
if ($connect == FALSE) {
echo "Could not connect to the database.<br>";
echo "Click <a href=\"../index.xen\">here</a> to go back and retry."; }
else if ($connect == TRUE) {
$fp = fopen('../pages/config.xen', 'w');
fwrite($fp, '<?php'."\r\n");
fwrite($fp, '$database[\'host\'] = "'.$_POST['host']."\";"."\r\n");
fwrite($fp, '$database[\'username\'] = "'.$_POST['username']."\";"."\r\n");
fwrite($fp, '$database[\'password\'] = "'.$_POST['password']."\";"."\r\n");
fwrite($fp, '$database[\'name\'] = "'.$_POST['name']."\";"."\r\n");
fwrite($fp, "\r\n");
fwrite($fp, '$db = mysql_connect($database[\'host\'], $database[\'username\'], $database[\'password\']) OR die (\'Cant connect to the database\');
mysql_select_db($database[\'name\'], $db);'."\r\n");
fwrite($fp, '?>');
fclose($fp);
echo "<meta http-equiv=\"refresh\" content=\"0; url=index2.xen\" />\n";
}
?>
Please tell me what to put into these fields.
1. Database Host:
2. Database Username:
3. Database Password:
4. Database Name:
I guess I'm just putting in the the wrong info.
Please tell me what to put into those fields, I would greatly appreciate it.
you dont put nohting ur suspose to do that in setup
I know, thats what I'm asking. I type in the URL, then it goes straight to the setup. I type in the info but then it shows that page. what do I put into those fields? Give me an example.
you put ur DB info MYSQL info
Link seems to be down :o
Nice , anyway . Gd luck (:
Ok, I think I need to ask this. I think I should have mentioned this first. I have a paid for host, and a domain and everything. Am I able to use the CMS on the website?
i see it just fine its telling me to setup lol
I know, thats what I'm asking. When I try to set it up it goes to the page saying go back and everything,
I tried using wamp and it works on there, but not on my host. How do I set up a CMS on my webhost?
guys get this error try to use xampp^_^
wamp its buggy
how about add
a new tab for MS Mall?
and cannot register from using MsMall, and uhhh, o.o?
idk, just trying to help ^^ v
It looks like your host doesn't allow you to use custom .htacess? or your htacess is not in your root folder. You can also just go into cpanel provided by your host and click custom MIMES type and add .xen to be parsed by php
What's a MS mall o.O?
What do I put for the following? I have to fill out both of those.
Mime Type Extension(s)
This is a great CMS. Keep up the good work.
Speed & Functionality is key :3
Lol newbie question:
How do u install it lol
wampserver www?
yes you can use wamp server. put it in your www folder, and put wamp online.
good job! (:
why did you use a premade template Mario?
Because he can and its free.why did you use a premade template Mario?
do i write these in the installation?
Database Host:
hamachi ip
Database Username:
root
Database Password:
Database Name:
odinms
???