Copy link to clipboard
Copied
I'm trying to integrate a new shopping cart, but DW CS4 can't follow the dynamic links in the template pages. They render fine in Live View. I can follow the CSS in the CSS Styles panel, but of course, it's not editable. Related files are far from complete and if I try to click on one, I get an error that the file can't be found.
The templates all contain dynamically generated URLs such as:
<?php include("${__TPL_DIR__}pages/templates/part.header.tpl.html"); ?>
The .ini files used have site root relative references.
Any ideas? Or am I stuck limping along?
Copy link to clipboard
Copied
Dreamweaver CS4 is not capable of interpreting dynamic links like that in Design view.
Copy link to clipboard
Copied
Thanks David,
I found a few articles in the Developer Center that were helpful in understanding what I was looking at. The articles on creating Drupal and Wordpress themes explained how the pages are created dynamically, as well as how to use DW to modify and create themes. Though the specifics are different than what I am looking at, the concepts are similar. They also confirmed that attaching the relevant CSS files as design time style sheets was a practical workaround in the absence of an add-on to help DW understand the site structure. I was hoping that I had just not done something correctly, but I can live with a workaround, knowing that an "easier" way isn't just waiting for me to learn something about DW.
Don