Need a little help getting started
6 posts by 3 authors in: Forums > CMS Builder
Last Post: August 21, 2009 (RSS)
By lisadye - August 12, 2009
Re: [lisadye] Need a little help getting started
By Chris - August 13, 2009
Sounds like you've made a great start!
What information did you want to reside inside of your template? If you can explain exactly what it is you're trying to achieve, we'll be happy to help. :)
Chris
Re: [chris] Need a little help getting started
By lisadye - August 18, 2009
Re: [lisadye] Need a little help getting started
By Chris - August 18, 2009
Can you elaborate on what you mean by "don't work anymore"? Do they show errors, show the wrong information, or show nothing at all?
Yes, please attach a not-working file to this thread so we can have a look.
Chris
Re: [chris] Need a little help getting started
By lisadye - August 20, 2009
But, if I edit the template in Dreamweaver, it updates all the pages and replaces the top portion of the php - (this below):
<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
require_once "/home/content/p/c/w/pcwebadmin2009/html/cmsAdmin/lib/viewer_functions.php";
list($aboutRecords, $aboutMetaData) = getRecords(array(
'tableName' => 'about',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$aboutRecord = @$aboutRecords[0]; // get first record
// show error message if no matching record is found
if (!$aboutRecord) {
print "Record not found!";
exit;
}
?>
Do you know how I can stop Dreamweaver from overwriting that piece of code each time? And, maybe this is a question for Dreamweaver and not you guys :) But, just hoping someone else has encountered this before and can give some advice.
By the way, LOVE your CMS Builder product. It took me about 4 hours to 'learn' the product. Not bad and WELL worth the money. I plan to purchase a CMS Builder license for every one of my clients that wants to manage their own site. Very cool!
Re: [lisadye] Need a little help getting started
By Donna - August 21, 2009
Unfortunately, I don't use Dreamweaver, so I can't say for sure... but I did some quick googling, and it looks like there's a "Never Rewrite Code" option that you can toggle that might help with that.
See this page for details:
http://webdesign.about.com/od/dreamweaver/ig/Dreamweaver-Options/Rewriting-Code.htm
I hope this helps. :)
--
support@interactivetools.com