Simple, but useful Drupal module at Albert Sun. In the course of developing Drupal for the DP, we've been fortunate that we've had to write very little (themeing layer excepted) from scratch. Chalk it up to to the strength and robustness of the Drupal community that nearly every function we wanted, there was a module for. One module that I did have to write from scratch was to replicate a function from College Publisher. After copy and pasting a story into CP's interface, there was a button run all that doubled the line breaks, among other things.
Drupal wraps text separated by two line breaks with <p> tags and uses the <br /> tag to in-between text separated by one line break. When Sean Blanda posted about the Temple News moving to Wordpress, this was one of the 6 problems he laid out as having. Download the Run All Module It should be relatively simple to turn into a TinyMCE plug-in for Wordpress too, but that will come after midterms and all the other work facing me.
34th Street Launches! And, how we did it in Drupal, Pt. 2 of X - Big news! At long last, the DP has launched it's first public web site on Drupal at for our weekly arts and entertainment magazine, 34th Street. We've been working on developing an alternative to College Publisher since I started my term as Web Editor-in-Chief at The Daily Pennsylvanian in January. After months of waffling and pressure we decided to move ahead with development and committed to launching a new website. And finally, we're here. Theming with Zen Last time, I wrote about the data structure underlying our website running on Drupal and promised that I would write again about theming. The Drupal theming layer is quite powerful, but can also quickly become incredibly complex.
Drupal themes depend on layers of overrides and hooks. Since we weren't worrying about any of those things, we did nearly everything in the top-most sub-theme layer. Luckily for us the Zen starter theme makes much of this easier. node-type.tpl.php <? Teaser versus Full views Importing Data. Albert Sun. How we did it in Drupal, Pt. 1 of X - The Data Structure at Albe. I wrote before about the new 34th Street Magazine website being in Alpha. This is the first post of a series on what we did to Drupal to make it behave the way we want it to, how we implemented different features and to ask for feedback and advice on how to do future features.
To start out understanding Drupal, it's important to understand that Drupal was designed and the developer's focus is largely on creating flexible websites for communities, NOT for publishing or blogging. For instance, there isn't a natural distinction between readers and administrators among the user roles.
(Adding content is at node/add/* not admin/*) A lot of the work involved in setting up a site on Drupal is to work around the default values and settings and make it behave the way you want to. Part of the joy of using Wordpress is that it's defined for a very specific purpose and all the development work that goes into it is designed to make it easier to blog. That's not true for Drupal. At the database level. 34th Street Magazine | The weekly arts and entertainment magazin.