Snippet with description parameter - Library feature request

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
tomsolo
Posts: 6
Joined: Tue Jan 23, 2007 12:08 pm

Snippet with description parameter - Library feature request

Post by tomsolo »

Snippet with description parameter

Currently the Snippet configuration have only 4 parameters:

Title
Short cut
Content 1 - before
Content 2 - after


I think it would be a good idea to create snippets with description - a bubble help or help message could be useful in case of mouse over or simple click.

Example:

Code: Select all

Title - Drupal breadcumb
Description - HTML for displaying the breadcrumbs at the top of the page
Short cut - 0
Content 1 -  <?php if ($breadcumb): print '<div id="breadcumb">'. $breadcumb .'</div>'; 
Content 2 - endif; ?>
Best regards
Webuilder 8.31 user
x3po
Posts: 139
Joined: Fri May 16, 2008 10:48 am

Re: Snippet with description parameter - Library feature request

Post by x3po »

I think it would be a great idea (in some cases) to be able to save a description with a snippet.
So i vote +1 for an additional input field in the code library!
Post Reply