I recently switched to dreamweaver version CS6 from CS4. In CS4 there was a handy feature that would show tabs of the includes files. CSS PHP Javascript etc. It would show these tabs right above the "code, split, design, live". Does CS6 not have this feature or do I simply have to enable it?
If so, where and how?
Oh yeah. I'm using the Design Compact dreamweaver layout.
Hope you guys can help me out. I really need that feature back ^^
Nvm. I finally found what I had to change. In the general settings, enable relative files: on.
It's not only there but it works better than it did before because it can scan deeper for PHP files (I think CS5.5 improved it for use with things like Wordpress). When you open a file with includes they should be there next to the file name. Although it's better, it's still not perfect so if you have dynamically created includes you still might not see them.
Related
I have an issue with html output from a joomla module being escaped so that it's rendered as text .
I have no idea why this could happen, is it a joomla core issue?
This only started happening after an update
It looks like a problem with the extension that uses the {source} tags, rather than Joomla. Googling says this is probably Sourcerer.
Make sure that Sourcerer is also patched and that the developer says it works on the version of Joomla you have updated to. Also check that it is still published in your plug-ins list. Third party extensions can often stop working if you update the core code and their code is for an earlier version of Joomla (or just badly written).
Looking at the code in your example, you probably don't actually need Sourcerer to add your code anyway as it is all HTML rather than server side code - just update the editor plugin's parameters to stop it stripping the tags you want to use. NB code needs to be added in the code view rather than the WYSIWYG view of the editor.
Sourcerer is really primarily for PHP, which makes me balk as it feels like a massive hack rather than an extension designed with good practise and Joomla's framework in mind.
First off, I'm completely new to Drupal, so I could be making a ridiculously simple mistake...
I'm using Drupal 7.9, and trying to use an HTML homepage that I've already created, that does not follow the Theme...
I've tried using the page-front.tpl.php file, but it is completely ignored. I then found that in Drupal 7 I should be using page--front.tpl.php, but that is ignored as well.
I've looked through many different tutorial and FAQs, but to no avail. Can someone possibly point out what I'm doing wrong? I've even added some test text to the page.tpl.php file, just to make sure that it's loading that one instead; which it is. Is there some setting that I'm missing that tells Drupal to use the page--front.tpl.php file?
Here's the server setup...
Windows Server 8;
IIS 7;
MySQL 5
PHP 5
I know, we should be using Linux and Apache... I'm still working on getting our Windows happy VP to let me make the switch...:)
Thanks for any help, I'm at a loss here...
--Charles
Drupal manages all pages dynamically and stores content in the database. You will be able to designate a specific page as your home page and render it differently than other pages if you wish. Drupal is extremely flexible and capable of almost anything by using the many expansion modules that are available for it. Having said that, you should also know that there is a 'learning curve' to Drupal so don't expect good results right off the bat. If this is a one-off project, you may want to look at other alternatives as well.
I recently had a website developed by an external source. They gave me the source code as well as sql files.
When I extract the source code I see folders like Smarty, fckeditor and many php files. I want to start editing these as I find it to be the best way to learn. What tool should I use. I tried using trial version of PHPdesigner, but it just doesnt open my php files.
Is there any tool that can take all these files in the form of a project and simultaneously show me a visual display of any changes that I make.
I suppose it is very clear that I am new to this. Any help will be greatly appreciated.
Just use simple text editor with some code highlight like Notepad++
It is free to use, very fast and it does what you need.
First of all try to know what are the different file types and which lanuguage are those targeted to. Once you know that you can then decide on the editor.
What i recommend is you try to find out if they used a framework for the website, something like CakePHP or CodeIgniter. The next step after you find out is to go the framework website and start reading the documentation.
If the site id developed in php most likely any type of WYSIWYG editing is going to inaccurate. This is because a number of different files need to be processed and combined by the php interpreter before they come together to make any given page or view. Thus the only way to really preview is to run it on a server. Since you say there are sql files he has laso used a DB to store something so most likely any changes you would need to make are going to be spread between both the php source files and the records in the db.
Aptana (Which is Eclipse based) is great at handling many different file type in one IDE. I would use Studio 2 w/ the plugins you need or if you feel cutting edge try Studio 3. It's cross platform so Linux/Windows or OSX.
I have a lot of php code and I'm going through it right now (500+ files). I was hoping to find a program that would let me easily search through the files to see which files contain a specific variable I am editing. Kind of like a super edit -> find from notepad++. Anyone have any suggestions?
Best,
Pavan
One word. ack.
You can also try Agent Ransack
You can use a PHP ide such as NetBeans or your alternative is if you want to stick with notepad++ you can the Find in files which is located in the last tab when you hit CTRL+F
using NetBeans IDE you can lay your project out into a really decent code profiler and be able to see what your code is doing from a visual prospective.
I've inherited a PHP application that has "versions" of pages (viewacct.php, viewacct2.php, viewacct_rcw.php, etc). I want to discover which of these pages are called from other pages in the application and which are not. Is there a tool available that will help with that?
Using whatever tools you would like (Find/Grep/Sed on Linux, I use Visual Studio on windows), it is just a matter of crawling your source tree for references of the filenames in each file.
Similar to FlySwat's answer: any good text editor or IDE with multi-file search should be able to help you find the orphan pages. On Mac OS X I would suggest TextWrangler(free), TextMate($), or BBEdit($$). I've had good success with each of these tools, but your mileage may vary.
If you wish to find out what pages are called by other pages, you need to look at where stuff is being called. Obviously in php code, you can only reference other files via includes or requires and the singular versions of those functions.
So if I were you I would grep your code for include and then require and attempt to make some kind of map showing what is calling what. Eventually you should end up with a pretty clear map of how the php files talk to each other. Then you will need to work out how the various points of the application talk to each other from there via HTML/AJAX etc.
Good luck. I have done it before, it takes a while, but you'll get there, just make sure you document what you find out.
You may want to try out nWire for PHP.
nWire for PHP is an innovative Eclipse plugin (works with Eclipse PDT & Zend Studio 7) which accelerates PHP development by helping developers navigate through their code and better understand the architecture of their application. nWire offers unique tools for real time code visualization, navigation and search.
nWire analyzes all the components and associations in your project. While opening a file you can immediately see where (and if) it is being used.