You need some PHP and MySQL knowledge, but this seems to work:
Create a table for content in your database. Each row will be for one page. You need a field say 'PageId' (using AUTO_INCREMENT), and then one or more content fields eg Title and Text. Add a couple of rows.
Then you need a connect script ('connect.php') to access the database and then a second ('cms_include.php') to retrieve a System variable and do the SELECT to get the data.
Then in the first Xara page put this as the HEAD code:
<?php require_once('../../../Connections/connect.php');
$_SESSION[PageId]= 1;
require_once('cms_include.php'); ?>
Then in the second Xara page put this as the HEAD code:
<?php require_once('../../../Connections/connect.php');
$_SESSION[PageId]= 2;
require_once('cms_include.php'); ?>
And on each page add a placeholder for each content field with the HTML Body code like this:
<p><?php echo $row_rsCMS['Title']; ?></p>
So this way you can add dynamic content to your Xara-built site without much duplicated code. Hop[e that gives at least one or two of you some ideas...
Bookmarks