I know it might sound dumb, but I'm new to this framework. A client has an application that was developed with yii, now he needs some few changes made, like some spellings, changing the content of the copyright on the footer. I tried editing using Dreamweaver, but I don't seem to locate any of the texts. Please help! Thanks in advance.
use a text editor like notepad++ ore sublimetext or notepad. is only php code..and html
for the footer look at source code of the application. If the version is Yii 1* you can find this part of code in layout. If you use the default theme you find the layout in yourApp/protected/view/layouts/
if the application use a specific theme the layout are in yourApp/theme/yourThemename/layouts/
look for the file you need (normally main.php)
If the framework version is 2.* the layout are in yourApp/view/layouts
Related
We have a asp.net mvc website which is using umbraco CMS system. Now,we want to convert the CMS system to plain HTML pages. We do not have the complete code of the website.
How can we remove CMS system and convert it into flat HTML files easily without writing the code from the scratch for this website.
Why would you want to move away from a CMS? A CMS is build to make things easier and you are moving going back to the dark ages of the internets where we build websites with notepad by typing HTML by hand.
Discaimer: I am an umbraco dev, and I love the product. So I might be biased
To answer your question, I use http://www.httrack.com/ to backup existing (old) websites before moving to a new platform & hosting.
To answer your question:
For every page, view source and copy the shown Html to a new Html file. Make sure you honour the folder structure too.
You could also use https://www.httrack.com/ that might give you what you need.
To try to persuade you not to:
However I would strongly recommend against doing this. Umbraco has great mechanisms in place that give almost comparable speed to a flat file website. It uses an Xml file that gets updated when database values are changed, and builds pages and content from this.
If you flatten your website to plain Html files all your Urls will invariably change and this is super bad for SEO. You will also have a 'mare of a time trying to update the site with new content or editing the same content found across all pages e.g. the main navigation and footer.
Disclaimer: This question is not about fixing visual studio
So, I've used VSS for so long to edit HTML source that I actuall completely forgot there was a design view button. So for fun I clicked it. When I clicked it here is what I got.
Now, I fully expected it to look like crap since my styles are defined in separate css files. This got me wondering. Has there ever been a WYSIWYG editor that will render a page while editing using all stylesheets even external ones?
I think that WebPutty would help. You embed a WebPutty script on your site and it allows you to edit your CSS real-time and publish to your site as well right from WebPutty. It's not as powerful as Coda but does the trick if all you're concerned about is adjusting your CSS.
Dreamweaver. *cough
The design view is usually pretty close, but sometimes chokes for no apparent reason.
I would check out Coda and Espresso - both of these editors render external stylesheets in the design view when editing html. They also have beautiful interfaces and embedded ftp clients : )
I'm very new to flash and as3 design patterns. But I can read and write as3 quite ok, i've created small widgets with that. I've developed several web sites using php and also python.
Now for a educational cd-rom project i'm working on, i've basically designed all templates (A home page, a generic page with navigation and a sidebar - kind of like a wordpress blog). I have all the data for the cdrom on word files, which i intend to place on xml files.
My question is what is the best way to start a project like this? Can anyone guide me to a template or something that can be used for kickstarting this? kind of like a wordpress (without the admin)? Or am i on this all wrong? Can someone please help
The Gaia Framework may be useful to you for this project.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 9 months ago.
Improve this question
First of all, I do all my coding strictly in code view in Dreamweaver for a good few years now. I could do all my coding in Notepad, but Notepad doesn't have any features. :) I've never thought of changing because I just got used to Dreamweaver over time. But now it's starting to irritate me here and there. I also want to switch to a more lightweight editor.
What I don't like in Dreamweaver is that tabs can't automatically be changed to spaces (very annoying, any solutions are welcome too). It also creates a lot of useless whitespace everywhere.
I love Dreamweaver's automatic auto complete for html and css, this speeds up my coding very much because I don't have to type out every character. I've tried some other editors, but I really miss this feature. Dreamweaver also auto completes css classes from included css files in the header.
Is there any other editor that has similar features? Free or license is fine. I like Sublime Text (http://www.sublimetext.com/).
Thanks!
I went for PhpStorm eventually. Love it!
Notepad++ is the best for Window: http://notepad-plus.sourceforge.net/uk/site.htm
I've came to a solution that, though it's not lighter than Dreamweaver (as you requested), is very robust, works like a charm and was quite a productivity boost!
Check out:
Eclipse + Aptana as a plug-in (how to auto-upload on save)
If you enjoy html markup completion then snippets in Textmate for Mac is amazing. I use it all the time for all my HTML and CSS work. However if you are a windows person I hear E-TextEditor is the best replacement for Textmate. Both require licenses.
You might be interested in HTML-Kit.
Your don't want to use Dreamweaver and you want Dreamweaver theme in other editor which is not load like Dreamweaver then sublime is best for you,
Download sublime from this link and follow this step to apply Dreamweaver in sublime.
Click here to download Dreamweaver Theme Zip File
How to apply colour scheme like Dreamweaver CS5
1. Download zip file from Dreamweaver Theme File Link
2. Extract folder
3. Open sublime and goto "Preferences">"Browser Packages..">"Paste extract folder here"
4. Restart Sublime
5. Select color scheme from sublime, to select color scheme Goto "Preferences">"Color Scheme">"SublimeDreamweaver-master">"SublimeDreamweaver-master">"Dreamviwer"
6. Restart Again your sublime
7. Now open your file to see effect
8. Thanks
Change Font like dreamviwer after apply color scheme of dreamviwer.
1. Goto "Preferences">"Setting - User"
2. Add this line is your setting json, "font_face":"courier new"
3. Save enjoy
Thanks
Microsoft Expression Web. It is not free...
I have tried PHP Designer 7 and it rocks with its features. Most of all, you get autocomplete for methods / variables in PHP classes.
If you use a PC, you could try out VisualStudio express / Visual Web Developer, which is free.
http://www.microsoft.com/express/product/
If your real trouble is tabbing and spacing the you could actualy try to modify those settings at Edit > Preference > Code formatt. this should help.
Once you modify the setting apply it to the page.
or
You could also look at Netbeans is a powerful tool too. Buts its a bit heavy weight.
If you want it only for HTML purpose , then while installing do not install unnecessary modules.
Did you try Stylizer from skybound.ca? I've been using it and you can visually modify the CSS or code it using the side bar. Works pretty good but is not as feature rich as Dreamweaver.
Microsoft Visual Studio Code or Brackets (much less simpler).
Plus appropriate plugins.
Why?
Because you can run terminals in which you can compile your server side code or TypeScript, run NMP or run server auto refresh on code save.
Access git easily.
Have intellisense for bootstrap classes or other frameworks.
Debugger, and more
I'm looking for a HTML editor that kinda supports templated editing or live snippets or something like that.
Background: I'm working on a website for a friend. As there are no specifications what the webspace/webserver can or can't do, I decided to make it a pure HTML/CSS page, or rather 10 of them. I wrote a template, copied it 10 times and edited the content. And guess what, the template has to be changed.
Therefore I'm looking for a (HTML-)editor that has some kind of live template system where I can edit the content in as it where plain text and then save the project into the 10 pure HTML/CSS files.
I thought about using PHP (the only script language I've some knowledge in), but writing the underlying template script would cost me enough time that I could change all files by hand. I'm not that familiar with AJAX to know if there's a way to load content from another file. If so, this would be an option if there already is a script. With Webdeveloper (firefox extension) I could save the generated source code as HTML/CSS.
Thanks in advance
Edit: any hints how to do this without an editor are welcome
Edit2: In my mind the tool looks like a plain old text editor like SciTe, but capable of editing multiple files simultaneously in the same text area, so it looks like editing one ordinary file, but actually it's a whole bunch of files.
Dreamweaver will do this for you, it's had HTML templating of the type your describe built in from very early versions (because from how you phrase the question I do not think you're thinking along the lines of a PHP templating engine such as Smarty, but some sort of HTML layout formating)
Although I regularly look around for Dreamweaver replacements, and I've certainly been impressed by Aptana, I still tend to use Dreamweaver in my development stack simply because whereas I can compensate for some of the more coding-orientated features it misses, I find the WYSIWYG nature of the editor invaluable.
I would have used a template engine.
I wrote a post about a dead simple script using the Dwoo template engine and mod_rewrite, where I am taking the uri and loading the forrect data and template based on that. You should be able to get it running in a few minutes.
Maybe I am way off on this, but why don't you look into an Open Source Content Management System (PHP/MYSQL)? There are MANY light systems that are not like Drupal, Joomla (if you do not want the big bulk of those CMS's).
There are even a few good ones for light web design that are flat file driven.
That would be my suggestion, at least if not for this project, look into it for future projects.
Here is an example of a great micro CMS that would seem to fit the bill for what you are doing:
http://www.mini-print.com/