How to place todo reminders in Dreamweaver code - dreamweaver

I am coding in Dreamweaver for a change. Is there a way to place reminders in your code, for example in the form of a "todo list"?
I know Eclipse has this option. You can place //TODO before the line of code and the marker is placed in a list. You can view this list at will and conveniently go back to the exact spot later.
After weeks of coding I sometimes forget to take care of certain things. A todo list in the code itself would really help out, anyone know of a method for this in Dreamweaver?

Dreamweaver doesn't have a dedicated interface for viewing TODO items. However, it does have what it calls Design Notes. These notes are stored in *.mno files that are within _notes folders within the folder of the file that has a design note attached to it. These files and folders are only viewable within Dreamweaver if you have Show Hidden files enabled, which you can do by accessing the Files panel options menu on the upper right by clicking on it, then selecting View -> Show hidden files.
You have to turn them on in the site definition, although by default, a Dreamweaver site will have them turned on. The following steps are for Dreamweaver CS4:
Site -> Manage Sites..., Select the site, click Edit, select the Design notes category, check maintain design notes. Next go to the File View Columns category and make sure that the Notes column is displayed. Click OK then Done.
You can also opt to share these design notes, which means the they will be uploaded when you FTP the files to the remote site, so that others that you work with when they download the file (and assuming they also have Design notes enabled and shared), then they will be able to see that a file has a design note associated with it. Note: These *.mno files are plain text and if you your server may be accessible by others, so be sure not to put anything confidential in them.
In the Files panel, right-click on a file that you want to add a TODO item to, select "Design Notes...". In the interface that opens, you can enter in a free form note for the document. Check the Show when file is opened to cause this interface to open when you open up the file you're applying the design note to.
If you switch to the All Info tab, you can add "keyed" notes, that is a note with a name, and an associated value. This open may be good for TODO items.
When you add a design note to a file and you have the Notes column displayed, you should see an icon in the Notes column for any files that have associated notes for. Double clicking this icon will open up the Design Notes UI. This will be a quick way to determine if you have any TODOs in the files that you can see. Note: you won't see this icon for files within folders that are closed.
If you would like to do some searches or listing of files with design notes associated with them, then you can take a look at the Site Reports Design Notes report. Go to Window -> Results -> Site Reports. In the upper right of this panel, click the green arrow. This brings up the Reports interface. Select the appropriate option under Report on, and then check "Design Notes" under Workflow. Don't bother with the report settings....it's supposed to allow for some search/filtering, but I can't get it not to display all files with notes associated with them, perhaps you'll have better luck. Click the Run button and the Site Reports panel should contain a list of files that have design notes associated with them, as well as the design note info for the file. If you double click the entry, then the file will open.

Well, i use to put a simply comment like this below, directly in the php code:
//TODO: something to do here.
When i need to check my todo list, just search in the site by "//TODO:", and voilá, this is my todo list! It works, it's free and well according with KISS requirements.

Try using doxygen to document your code.
anything marks with a #todo, will be put in a special page when you generate documentaion.
Not ideal but the best i can think of.
(I haven't had much experience with dream weaver - it might have the feature you are looking for IDK)

Related

Ultimate Special Offers. How to set a place for the table?

I have a question about Ultimate Special Offers plugin. Has anybody used it?
The problem is that this plugin sets the table with discounts in a special place where it wants. In my case, it shows up under the "add to cart" button. But I want it to appear above the button. How can I regulate the place where the table shows up?
You have two choices. One is to dig into your theme and move the table yourself. If you right-click the element displaying the table while having your browser console open, you will spot where it is in the HTML that makes up your page. Now click the Add to cart button, and see where it is. Memorize the name of the button, and now look for that in your product.liquid page. Chances are, the plugin itself has some liquid, so you can cut it out of the page, and move it the before the add to cart button in the liquid.
If all that seems like a mountain to climb, just ask the makers of the plugin to do it for you. It is a simple task for them, and should take them a minute to do. If they choose to ignore you, I would call them out as unreliable, and try a different plugin, from a company that will help you with your simple task.

How can I delete a layer/item in Google Web Designer?

I have been working for a few days now making a simple web page to be a basic cv/bio. I started by making my headers for the page and some simple animations when switching window sizes. After playing with adding some different colors in, I noticed that an asset I added, wasn't transparent(as I had intended it to be).
That said, I have tried to delete the item from the assets Library to no avail. I've tried removing all relevant keyframes, as well as trying to delete it from the Master Rules. The program will not allow me to delete the item, except from the Library, which does not affect the item on the page whatsoever.
I may well be missing something completely obvious and shall feel a fool when this is answered. Thank you for your help in advance!
To delete a layer, click on it in the timeline so that it's highlighted and then press the Delete key on your keyboard.
If the element is an asset imported by you, for example a picture, you must select it at the library collapsible menu and click the trash. If you can't find this menu, clic on Menu > Window > Library.
On Responsive window, click Edit base document. You can now delete it.

Notes toolbar button to archive selected (email) document

You can archive e-mails immediately by using the menu, Actions > Archive > Archive Selected Documents.
How can I create a toolbar button that I can click which will perform the above action?
I've already created toolbar buttons to move documents to folders so I'm semi-familiar with the process of creating a button entering formula language commands.
Not sure what you're question is, but having a stab at it. So you want to put the logic in the "toolbar" so you can run it on any database right ? You would have to be able to call the agent that does the job. Well, if you're doing this on mail files only, you can actually call the command
#Command([ToolsRunMacro];"Archive\\Archive Selected Documents");
You'll need the double backslash as it's an "escaped" after saving.
But if you're thinking of trying this to work on any database, you're in a bit of trouble.
Toolbars have a pretty sloppy way of looking for agents you want to run. Because, if you attempt to run an agent from the toolbar, the formula in the toolbar button assumes the database of the current view you are looking at, as the database with the agent as well.
This is no better than copying the agent into every other database that you want to run the agent on. That's why the above solution for archive, only works in mail files as the agent should be there in every case.
Otherwise, you are left with the overhead of copying the required agent around everywhere. To prove the point, a simple test. Create a toolbar button with the following formula.
#Prompt([Ok];"Hello Notes..";#Implode(#DbName;#Char(13)));
Now open any database. Note that the prompt actually shows you the details of the currently open database. This is where the toolbar button will look when trying to run that archive agent.
As there is no way to specify in Notes formula command, the database location in the #command([ToolsRunMacro]), we're unable to call a centralised agent to do the job that I think you're postulating.
A good idea, and a worthwhile problem for the vendor to solve, but this is one many things IBM has never addressed since ...way to long ago.
I would recommend tool called SWING PDF Converter.
It add's Lotus Notes toolbar button and can convert any Lotus Notes document to PDF.
It supports single document conversion from view, multiple documents conversion as separate PDF files, PDF package and bookmarks PDF document. You can also export data in XML and CSV format.

SharePoint 2010 - My Sites, modifications to navigation ribbon at the very top

After much online research and getting close to what I am looking for by hacking it together (ie. modifying templates and other files, exactly what every expert out there appears to advise against in terms of SharePoint customization) I have decided to go ahead and post my issue here to see if anybody has ever had any experience with this.
In essence, I start off with a plain My Sites host. I would like to keep the My Profile and My Content pages, and add a bunch of new content of top on that. For us, simplicity is of utmost importance and so when I created a new Web Part Page and noticed that it added an additional ribbon under the navigation menu, I decided that it had to go. This is what it looks like out of the box:
With ribbon
Notice that at this point I have already made a few modifications, such as removing the My Site link that by default appears all the way to the left of the other options. This sadly was accomplished in a very brute-force way.
Now, here is the ribbon-free navigation bar, which is just what I want to be able to design without making system changes that I will regret in the future (and that may be easily overwritten by a CU or hotfix)
Without ribbon
So I guess I should make this clear, I don't want the navigation gone, just customized (ie. no My Site string to the left of my options, no Site Actions drop-down for read-only users) and the Browse/Page ribbon that gets added by default everytime you create a new page, well that one just needs to be gone completely, as shown in the second screenshot.
I have read all about hiding ribbons (which just hides the whole thing, including navigation), customizing ribbons (no success in accomplishing this type of basic navigation after trying them out) and simply don't know what to do anymore.
Maybe I am just taking the wrong approach by modifying something instead of just creating it from scratch, at the end of the day it is nothing but a static navigation bar common to all the pages with the special current user drop-down all the way to the right, then if a user has write permissions, she would also get the Site Actions drop-down under Home, that's it.
Hopefully an answer to this question will help others as well who are looking to simplify their SharePoint My Sites host a bit, as out of the box the number of web components that users are presented with might be just a little too overwhelming for your everyday employee, at least in the industry that we operate in.
Anyway, thank you kindly in advance, I look forward to your replies. Do let me know if there is something that is not entirely clear from my explanation :)
If you take away user's Create Personal Site permission (http://technet.microsoft.com/en-us/library/cc262500.aspx) in your User Profile, the "My Site" link will go away.

Adding an extra column in the sharepoint list preview viewstyle

I am using the Out-Of-The-Box preview viewstyle for displaying a list. My requirement is to display and extra column on the left side of the the view, along with the title column. How can I do this?
Sadly, there is no easy, SUPPORTED way to do this. You would have to modify the preview ViewStyle (as defined in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL\XML\VWSTYLES.XML) to display your column. Now this can certainly be done - display CAML is painful but not impossible, but it would modify the preview viewstyle on your entire sharepoint install. See http://mo.notono.us/search?q=viewstyle for more info
Another way to do this MAY be through javascript (I'd use jQuery), though I am not entirely sure HOW you'd accomplish it. I do know Paul over at EndUserSharePoint.com has done some amazing things with client side script...
You may add the extra column by modifying the default view. To do this, you should see on the right-top corner of the list, a view that is "View all".
- Click on that tag and choose from the drop-down menu "Modify current view".
- You will be taken to a form that allows you to choose which columns you want (or don't want) to be displayed on the "default" view.
- (you have also options to sort, filter, etc... this view attending to your needs).
Also, from the drop-down I mentioned, you can create a "new view" instead of modifying the default one, and then, in the list settings, you are allowed to choose which between all the available views, will be the default one.
Hope this helps...

Resources