How to

Benjamin Melançon's picture

Add markup editor with real-time preview

Book element

  • How to
  • a markup editor with an real-time preview is a superior solution to WYSIWYG, because there is no true WYSIWYG

    and AJAX preview allows us to see what is truly going to be there when we hit save

    in the dgd7 project folder:

    cd drupal
    drush dl bueditor ajax_markup
    git add sites/all/modules/bueditor sites/all/modules/ajax_markup

    For the 6.x-2.x branch of BUEditor, all we need to do is change the Preview button code to js: E.prvAjax();

  • Explanation

  • nice simple power tip
  • Benjamin Melançon's picture

    Making a block of useful links for a set of users

    Book element

  • How to
  • We will commonly want some people to have a convenient block of links they are likely to need, and not show this to other people. We can do this in Drupal by giving people who should have common tasks or abilities in common a shared role, making a menu of the links we want to show, and placing the block with this menu into the region of our choice.

    Benjamin Melançon's picture

    Creating a custom administrator view of content

    Book element

  • How to
  • The generic goal is a view of content useful to administrators or other privileged users. If it were possible for this goal to be met in a generic fashion, it is more than likely Drupal (or a module) would be providing it for us already, out of the box. Indeed, Drupal core does provide a very useful list of content available at the Content or Find content links (admin/content).

  • Explanation

  • We need a Views tutorial, and this is the first view i needed.
  • Benjamin Melançon's picture

    Adding images to posts: Inserting and automatically resizing user...

    Book element

  • How to
  • Adding images to posts: Inserting and automatically resizing user-added images

    Our authors will want to add pictures, screenshots, and diagrams to the draft chapters or bonus content hosted on the web site.

    drush dl insert image_resize_filter

    FIXNOTE: At time of writing, insert did not have a recommended release and Drush could not download.

  • Pages

    Subscribe to How to