Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
can someone provide an example for using the smarty engine with Drupal?
I want to create a page template that presents the UI for a specific module(only one module will use it). so when I call to display the UI, I'll provide the variable values to the engine which will create the view on the fly
I searched around, there's not much on this topic.
I did tried phptemplate, but I found phptemplate still mixing some UI details(like line breaks, paragraph breaks). I don't want any of these in my code. I want total seperation of UI and Logic.
I Was thinking today, wondering if it would be possible to create theme for Drupal that renders output completly in SVG? With SVG coming built in the next Firefox, more and more people will begin incorporating SVG into their websites.
This is not very pratical, I know, but creating a theme like this could really demonstrate the flexibility of Drupal as more than just an HTML content managment system... Drupal could be the ultimate XML engine.
I created a node-forum.tpl.php file, and got it working (if not styled yet.)
Now on my index page, a forum entry I promoted to the front page is styled line node-forum. (i.e. it took it's attributes.) The rest of the entries are styled appropriately (node.tpl.php).
Is there a way to make my promoted forum entries take on the default of the rest of them?
I just did a fresh install of Drupal, and downloaded the Leaf theme. It looks great in Firefox, but in IE, the blocks are all messed up; instead of appearing on the right beside the main content, they appear on the right *below* it - ie, however long the post is, the sidebar blocks start that far down the screen. Also, in IE, the blocks show a doubled set of <li> icons - the squares-and-triangles of Drupal's default menus, plus the little arrows of Leaf.