Bravado
Coding Team

Posts: 1,078
"I can learn to resist anything but temptation..."
|
 |
« on: Jul 27, 2005, 12:32 PM » |
|
As posted in another related topic, I mentioned that I would be working on a MODx extension for Dreamweaver. Well...lo and behold, I had one already made for Etomite so...I changed some things and added an object for Template Variables. I'm considering this the first beta so...there are likely to be some things to change. For those who use Dreamweaver and are comfortable in creating your own templates, please try out the extension and let me know what you think. Is there something missing that should be added? Later, when I have a little more time, I'll write up a tutorial on how to create templates as well as how to use the extension in template creation. But for now...here's an early peek! v0.2.0 (6/6/06): I've updated the extension a bit. I decided to streamline it a bit by removing some of the depricated snippet tags and placing them into the Insert Snippet object instead. Also, I've updated the icons so that they look nicer and follow the MODx look and feel a bit more. All the basics are pretty much there...but the main question is: What else should I add to it? Any suggestions would be a great help! 
|
|
|
« Last Edit: Jun 06, 2006, 12:26 PM by Bravado »
|
Logged
|
Jeff Whitfield
"When someone asks you, A penny for your thoughts, and you put your two cents in, what happens to the other penny?"
-George Carlin
|
|
|
Mark
Coding Team

Posts: 3,247
Ditto Developer
|
 |
« Reply #1 on: Jul 27, 2005, 01:23 PM » |
|
Is this a Dreamweaver MX or 2004 extension?
|
|
|
|
|
Logged
|
|
|
|
Bravado
Coding Team

Posts: 1,078
"I can learn to resist anything but temptation..."
|
 |
« Reply #2 on: Jul 27, 2005, 01:46 PM » |
|
Should work with either...but it was tested on 2004.
|
|
|
|
|
Logged
|
Jeff Whitfield
"When someone asks you, A penny for your thoughts, and you put your two cents in, what happens to the other penny?"
-George Carlin
|
|
|
Carsten
Coding Team

Posts: 561
|
 |
« Reply #3 on: Jul 28, 2005, 09:30 AM » |
|
cool ... hmmm, anything like this for BBEdit?
|
|
|
|
|
Logged
|
Tangent-Warrior 
|
|
|
Bravado
Coding Team

Posts: 1,078
"I can learn to resist anything but temptation..."
|
 |
« Reply #4 on: Jul 28, 2005, 10:09 AM » |
|
cool ... hmmm, anything like this for BBEdit?
Umm...no...at least not yet. Let's see...got someone mentioning HTMLkit and now BBEdit. Hmm...question is...which editors should be considered? Granted, I'll gladly download any editor and create an 'extension' for it...provided that the editor in question is extensible like Dreamweaver. I know HTMLkit has their own little API for extending the capabilities...which looks fairly straightforward. Don't know about BBEdit though. Do they have an API for it?
|
|
|
|
|
Logged
|
Jeff Whitfield
"When someone asks you, A penny for your thoughts, and you put your two cents in, what happens to the other penny?"
-George Carlin
|
|
|
rthrash
Foundation

Posts: 9,575
|
 |
« Reply #5 on: Jul 28, 2005, 10:13 AM » |
|
BBedit is a Mac text editor with no visual capabilities, FYI.
|
|
|
|
|
Logged
|
MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
|
|
|
sottwell
Documentation Team

Posts: 8,170
|
 |
« Reply #6 on: Jul 28, 2005, 10:52 AM » |
|
Yeah, I don't use it, (I like SubEthaEdit) but I have. it has the ability to hook into some of the Mac FTP clients, which is handy, but I don't see how it would apply here.
|
|
|
|
|
Logged
|
|
|
|
OpenGeek
MODx Co-Founder
Foundation

Posts: 5,054
looking a little more like my avatar again...
|
 |
« Reply #7 on: Jul 28, 2005, 11:01 AM » |
|
Just curious, can you briefly explain what exactly this extension gives you from the editor (I do have Dreamweaver but am lazy and do no want to open it for fear of resource loss)? I mean does it just give you wizards for entering MODx tags (e.g. [[mySnippet]] or [*myTemplateVar*] or [+placeholder+]) or is there something more to it?
I'd like to create a plugin for Eclipse/PHPEclipse that has some MODx conveniences, though I may be able to just create a set of code templates (these are used to quickly enter more complex blocks of code via shorthand) to make entering MODx tags more efficient. Connecting to a MODx database and being able to have introspection on MODx resources would be even cooler, or possible even directly publish your changes from the editor (without WebDAV).
|
|
|
|
|
Logged
|
Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
— don Juan Matus
|
|
|
sottwell
Documentation Team

Posts: 8,170
|
 |
« Reply #8 on: Jul 28, 2005, 11:12 AM » |
|
Well, if your hosting company's database accepts requests from anybody, that would work; as far as I know most don't; they only accept from their localhost or from their webserver hosts if it's not the same machine. As far as I know, you would need some kind of webDAV-like way of communicating with your site in an authenticated, secure manner, and having it make the database requests for you.
|
|
|
|
|
Logged
|
|
|
|
Carsten
Coding Team

Posts: 561
|
 |
« Reply #9 on: Jul 28, 2005, 11:50 AM » |
|
Here is a pretty good article in regards to BBEdit. http://counsellingresource.com/practice/reviews/bbedit/index.htmlHmmm, I bet you could put together some scripts and then hot-key them. Sorry I stopped using dreamweaver/GoLive about 3-4 years ago. BBEdit is expensive. I bought a used copy off of eBay then payed for the update. Much cheaper  and I can say it's not LeET  (I can never get this sciprt talk right 
|
|
|
|
|
Logged
|
Tangent-Warrior 
|
|
|
jsking
Jr. Member

Posts: 2
|
 |
« Reply #10 on: May 20, 2006, 08:34 AM » |
|
Just an update on the Devkit in Dreamweaver 8. Was getting an error pop after loading the extention. Here is a screenshot of the error pop-up  Was getting an error pop any time I change the location of the cursor. Examples: from one layer element to another. Any fields in the properties area. Running any command from the pulldown menus. Here is the fix that will get rid of about half the error pop-ups: Click on the "view" pulldown menu and make sure "NoScript content" is unchecked. Dreamweaver 8 has this automatically set to On when creating a HTML file. If there is any info I can provide to help the author of this extension debug it for DW8. Please contact me.
|
|
|
|
« Last Edit: May 20, 2006, 08:46 AM by jsking »
|
Logged
|
|
|
|
Mark
Coding Team

Posts: 3,247
Ditto Developer
|
 |
« Reply #11 on: May 24, 2006, 02:07 PM » |
|
Any updates?
|
|
|
|
|
Logged
|
|
|
|
Bravado
Coding Team

Posts: 1,078
"I can learn to resist anything but temptation..."
|
 |
« Reply #12 on: May 24, 2006, 04:32 PM » |
|
I'll try and play with this as soon as I can and see if I can fix some of the errors and such. Been pretty busy lately...but I think I can squeeze in a little time to update the extension. 
|
|
|
|
|
Logged
|
Jeff Whitfield
"When someone asks you, A penny for your thoughts, and you put your two cents in, what happens to the other penny?"
-George Carlin
|
|
|
Bravado
Coding Team

Posts: 1,078
"I can learn to resist anything but temptation..."
|
 |
« Reply #13 on: May 25, 2006, 11:42 AM » |
|
What version of Dreamweaver are you running and on what operating system? I just updated my Windows version of Dreamweaver to v8.0.2 and don't have any problems. Does the error happen after you uninstall the extension? Also, what other extensions do you have loaded? Dreamweaver can be quite picky when it comes to how the javascript is written in extensions. I tried to be as explicit as possible with all variables used in the extensions so there wouldn't be any chances of conflicts with other extensions. However, that's not to say that another extension wouldn't still cause problems. A poorly written extension can cause quite a few problems in Dreamweaver...especially ones that are a pain to isolate and debug.  Just an update on the Devkit in Dreamweaver 8. Was getting an error pop after loading the extention. Here is a screenshot of the error pop-up  Was getting an error pop any time I change the location of the cursor. Examples: from one layer element to another. Any fields in the properties area. Running any command from the pulldown menus. Here is the fix that will get rid of about half the error pop-ups: Click on the "view" pulldown menu and make sure "NoScript content" is unchecked. Dreamweaver 8 has this automatically set to On when creating a HTML file. If there is any info I can provide to help the author of this extension debug it for DW8. Please contact me.
|
|
|
|
|
Logged
|
Jeff Whitfield
"When someone asks you, A penny for your thoughts, and you put your two cents in, what happens to the other penny?"
-George Carlin
|
|
|
Bravado
Coding Team

Posts: 1,078
"I can learn to resist anything but temptation..."
|
 |
« Reply #14 on: Jun 06, 2006, 09:26 AM » |
|
I've updated the extension a bit. Read the first post for details. Also, like it says in the first post, if you have any ideas or suggestions on what you'd like to see in this extension please let me know!  Jeff
|
|
|
|
|
Logged
|
Jeff Whitfield
"When someone asks you, A penny for your thoughts, and you put your two cents in, what happens to the other penny?"
-George Carlin
|
|
|
|