osCmax v2.5 User Manual
Results 1 to 5 of 5

ms2-MAX and Dreamweaver

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. ...

      
  1. #1
    Anonymous
    Guest


    Default ms2-MAX and Dreamweaver

    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.

  2. #2
    Active Member
    Join Date
    May 2004
    Location
    somewhere above colchester uk
    Posts
    147
    Rep Power
    0


    Default

    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. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Anonymous
    Guest


    Default

    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. #5
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    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

Similar Threads

  1. Dreamweaver Extensions
    By fuzzyphil in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-27-2006, 02:16 AM
  2. how to work with dreamweaver and oscmax ?
    By doumawis in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 06-16-2005, 02:56 PM
  3. fireworks html en dreamweaver
    By verdickt in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-21-2003, 07:23 PM
  4. Editing templates in Dreamweaver
    By mayberrylane in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 09-09-2003, 08:47 AM
  5. Integration with dreamweaver
    By AtroxAngel in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 04-29-2003, 11:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •