Just for checking, when you created your website did you copy the entire contents of the blank_website directory to the directory where your website will be generated? (Because that *should* hold the stylesheet.css file, all images, and all required javascript...)?
If you want to change the database name, alter the file called GLOBAL_HEADER.php found within the home directory of xdbcms.
Thanks for the quick response!
Carl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Carl,
Copying across the blank_website directory is not an option as the CSS in stylesheet.css will overide stylesheet2.css. I believe that it would make sense to have preloaded styles in xdbcms database that could be used across each of the Websites you build. What do you think? One less external file to worry about.
GLOBAL_HEADER.php should probably be renamed to something like configuration.php if possible.
Happy to Help.
Ian
PS:I deleted the contents of "pnadodb" version1.61 of ADOdb for php and installed the latest version of ADOdb 4.65-for-php and xdbcms works. I did this for security issues that have been fixed in the latest versions of ADOdb. So anyone reading this be warned that there are security risk if deploying to a production server.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry you can get download the current version of ADOdb from http://sourceforge.net/projects/adodb/ just unzip into xdbcms's "pnadodb" directory (delete the contents of the directory first.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the input - I'll try to answer in sequence......
CSS
The stylesheet.css shouldnt (!) over-ride the stylesheet2.css file, as the html output references stylesheet2.css last - so you should be ok.
GLOBAL_HEADER
The name is historical, it is actually used for declaring system variables, in which case it's actually a logical name (if you're from a C background!). The single parameter (database name) doesn't really warrant a whole configuration file on it's own, so I put it in the global header file. If I get other configuration items, I'll look toward having a separate file. Saying that, I don't actually like preferences stored within files (hence the preferences mechanisms), so I guess this may never happen....
ADODB
Actually, I've never upgraded the version of ADODB since the original version I took out of 'postnuke'. It's a good point, I'll look into it.
Page generation problem
It's interesting to see you're using windows - is it 'firepages'?
It looks like you missed the trailing '/' from the output directory and website url (have a look at the help text on the right hand side of the screen - there is a reminder!)
Saying all the above, it is something to check to see if I can put some check logic into the system to check for the trailing slash...
One of the things I'm starting to look at is the ability to 'export' the whole or parts of your website design in XML. It should then be possible to create 'theme' files.....
Should proove interesting.
Many thanks for your testing feedback.
Carl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Carl, the update installs well.
Tried the following on a clean install and mysql database
Unfortunatly on the Meta Keyword no comma appears eg:<META keywords='xdbcms Test'>
Observation:
When using the XDBCMS "Cascading Style Sheet logo" Should it output the CSS to make the logo work?
eg:class='inline-button'
Only stylesheet2.css is now output?
Thankyou for the Keyword list very handy.
Regards
Ian
PS:By the way how do you change the database name , in which file?
Hi Ian,
Just for checking, when you created your website did you copy the entire contents of the blank_website directory to the directory where your website will be generated? (Because that *should* hold the stylesheet.css file, all images, and all required javascript...)?
If you want to change the database name, alter the file called GLOBAL_HEADER.php found within the home directory of xdbcms.
Thanks for the quick response!
Carl.
Carl,
Copying across the blank_website directory is not an option as the CSS in stylesheet.css will overide stylesheet2.css. I believe that it would make sense to have preloaded styles in xdbcms database that could be used across each of the Websites you build. What do you think? One less external file to worry about.
GLOBAL_HEADER.php should probably be renamed to something like configuration.php if possible.
Happy to Help.
Ian
PS:I deleted the contents of "pnadodb" version1.61 of ADOdb for php and installed the latest version of ADOdb 4.65-for-php and xdbcms works. I did this for security issues that have been fixed in the latest versions of ADOdb. So anyone reading this be warned that there are security risk if deploying to a production server.
Sorry you can get download the current version of ADOdb from http://sourceforge.net/projects/adodb/ just unzip into xdbcms's "pnadodb" directory (delete the contents of the directory first.
Carl,
Problem:
When you use "Generate Page" from "Page Detail" the "Generate" Results show the following:
Generating (C:\\apache\\xampp\\htdocs\\www\\testing\\output\\ index.html)
Show generated page (in new window): http://www.domain.comindex.html
Done
The issue is with the output domain name and filename missing a "/" slash to seperate the words.
I would be interested in helping.
Regards
Ian
Hi Ian,
Thanks for the input - I'll try to answer in sequence......
CSS
The stylesheet.css shouldnt (!) over-ride the stylesheet2.css file, as the html output references stylesheet2.css last - so you should be ok.
GLOBAL_HEADER
The name is historical, it is actually used for declaring system variables, in which case it's actually a logical name (if you're from a C background!). The single parameter (database name) doesn't really warrant a whole configuration file on it's own, so I put it in the global header file. If I get other configuration items, I'll look toward having a separate file. Saying that, I don't actually like preferences stored within files (hence the preferences mechanisms), so I guess this may never happen....
ADODB
Actually, I've never upgraded the version of ADODB since the original version I took out of 'postnuke'. It's a good point, I'll look into it.
Page generation problem
It's interesting to see you're using windows - is it 'firepages'?
It looks like you missed the trailing '/' from the output directory and website url (have a look at the help text on the right hand side of the screen - there is a reminder!)
Saying all the above, it is something to check to see if I can put some check logic into the system to check for the trailing slash...
One of the things I'm starting to look at is the ability to 'export' the whole or parts of your website design in XML. It should then be possible to create 'theme' files.....
Should proove interesting.
Many thanks for your testing feedback.
Carl.
Fixed the trailing "/" must have missed it !
I am using XAMPP from:
http://sourceforge.net/projects/xampp/
Tried Firepages but didn't like the fact that the project is pretty much dead.
Hmmm,
I'll have a look at that one....
Thanks
Carl.