osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-22-2004, 10:32 AM
Anonymous
Guest
 
Posts: n/a
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-22-2004, 12:21 PM
Active Member
 
Join Date: May 2004
Location: somewhere above colchester uk
Posts: 147
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
battleaxe
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-22-2004, 01:10 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,498
Thanks: 74
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-22-2004, 03:04 PM
Anonymous
Guest
 
Posts: n/a
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 06-22-2004, 03:26 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax