This is a discussion on ms2-MAX and Dreamweaver within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi everyone. I'm new to ms2-MAX, and am trying to figure out how to edit the site template in Dreamweaver. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi everyone. I'm new to ms2-MAX, and am trying to figure out how to edit the site template in Dreamweaver. When I attempt to run "Live Data Mode" in Dreamweaver I get this error: Warning: main (DIR_WS_INCLUDESmeta_tags.php) failed to open stream: No such file or directory in c:\ecommerce\apache2\apache2\htdocs\catalog\templa tes\main_page.tpl_6xflizq3bw.php Said directory is where the template file is, though I don't know what the _6xflizq3bw part means, I'm new to php. Anyone know what is causing this error? Is there a way to edit the template WYSIWYG style in Dreamweaver? I assume "live data mode" is necessary to do this, because otherwise Dreamweaver can only display the raw code. |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Hi I have not found any way to wysiwyg in Dreamweaver. All the files come up in pure code and text. This is beacuse of the dynamic nature of MS2MAX, mot files rely on calling several others to make up the composite look of the pages. I am afraid you are going to have to get used to the code. You need to have Mysql running the database so that ms2 can call the data. To change the main body of text on the frontpage of your catalog go to catalog/includes/languges/english/mainpage.php. You can apply your own css stylesheet to this page to make it look like your existing website. To change the look of the catalog, find stylesheet.css and apply your own CSS styles to it. It is the easiest way of changing the look of the store. If you DO find a way of seeing files wysiwyg in Dreamweaver let me know.
__________________ Google says be nice! |
|
#3
| ||||
| ||||
| I have no problem editing the .tpl.php files in dreamweaver visually. You have to remember that the files have embedded php, so what you will see in the wysiwyg view is the table structure of the templates. None of the styles, graphics or php will be rendered, but you will see placeholders for the php that calls these elements. To change the structure of the template using dreamweaver, just create your own table structure, making sure you just place the php elements where you want them to appear on the page. It is extremely easy once you realize the true purpose of the templates. They are just a framework for the php and the graphics. In order to view dreamweaver in true wysiwyg mode, you will need to have php/mysql/apache installed locally on the same machine and configure dreamweaver to use them. You can get more info at macromedia.com on this.
__________________ Michael Sasek osCMax Developer
|
|
#4
| |||
| |||
| I should have been clear: the above error is generated when trying to get Dreamweaver to work with Apache2 and php, which are both running on my system. |
|
#5
| ||||
| ||||
| Dreamweaver adds a random text string to its temporary files when you attempt to preview them in a browser - hence the 6xflizq3bw As well as php & apache on your local machine, you need mySql running the Max2 database. (Preferably phpMyAdmin as well). On Windows you can add of these easily with easyphp.org
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dreamweaver Extensions | fuzzyphil | osCMax v2 Customization/Mods | 0 | 11-27-2006 02:16 AM |
| how to work with dreamweaver and oscmax ? | doumawis | osCMax v1.7 Discussion | 0 | 06-16-2005 02:56 PM |
| fireworks html en dreamweaver | verdickt | osCommerce 2.2 Modification Help | 1 | 10-21-2003 07:23 PM |
| Editing templates in Dreamweaver | mayberrylane | osCommerce 2.2 Modification Help | 3 | 09-09-2003 08:47 AM |
| Integration with dreamweaver | AtroxAngel | osCommerce 2.2 Modification Help | 2 | 04-29-2003 11:47 AM |