Uptech Posted January 11, 2005 Posted January 11, 2005 I try to load my files into dreamweaver but when i do all that comes up is the outline of the tables and in the upper left corner of each box it says PHP in yellow. How can i get it to fully load in dreamweaver so that i can edit my site easier using the tools in dreamweaver?
ozcsys Posted January 11, 2005 Posted January 11, 2005 I try to load my files into dreamweaver but when i do all that comes up is the outline of the tables and in the upper left corner of each box it says PHP in yellow. How can i get it to fully load in dreamweaver so that i can edit my site easier using the tools in dreamweaver? <{POST_SNAPBACK}> Are you trying to edit your files in wysiwyg mode? If so that is the problem. You cannot edit your php files that way, you will need to edit the code itself to make your changes. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Uptech Posted January 11, 2005 Author Posted January 11, 2005 So there is no way that i can get the files to show in design view in any program so that i can edit it that way? i am not experienced enough in code to be playing around with it
RyanSmith Posted January 11, 2005 Posted January 11, 2005 So there is no way that i can get the files to show in design view in any program so that i can edit it that way? i am not experienced enough in code to be playing around with it <{POST_SNAPBACK}> The problem is that osCommerce pages are created dynamically. The pages respond to the conditions around them, so you can't really edit them with a static editor like the dreamweaver design interface. I you want to make osCommerce do what you want it to do, you will have to dig through the code. osCommerce is a great piece of software with wonderful contributions. Spend some time in the contribution area. There are a lot of gems there.
Webwarrior Posted January 11, 2005 Posted January 11, 2005 The problem is that osCommerce pages are created dynamically. The pages respond to the conditions around them, so you can't really edit them with a static editor like the dreamweaver design interface. I you want to make osCommerce do what you want it to do, you will have to dig through the code. <{POST_SNAPBACK}> it's not that hard, I'm not a programmer, but i managed it, my advice would be to go into code view, and have your site minimised in explorer to refer to, all you need to do is find the text you want to change highlight it, and only it and type in your new text, remembering to use your html tags for formatting, make sure you save the pages, on your hard drive so that if you accidently delete something you need you can back up easily. Good Luck!
Guest Posted January 12, 2005 Posted January 12, 2005 Try using the STS contribution. Simple Template System Works great
stevel Posted January 12, 2005 Posted January 12, 2005 The way osC works by default, all of the "fixed content" comes from defines in one of the language includes. If you have only one language, you can replace the "echo" of the define with whatever HTML you want. You can then use Dreamweaver in design view to edit it. I do this on some of my pages. For the dynamic pages, editing the PHP in code view is the way to go. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Recommended Posts
Archived
This topic is now archived and is closed to further replies.