Drupal
Batch change the node language
Written 14 weeks 1 day ago by SharmWeb. Last edit 14 weeks 1 day ago.- 36 reads
Problem:
Many websites start of in one language. Switching to multi-language results in the existing content content being in language "Neutral", but it is only available for translation once a specific language is set. It would be nice to set a language through a batch operation.Solution:
http://drupal.org/node/526048#comment-3562008Avoid an empty Views block (title) showing when no results.
Written 17 weeks 3 days ago by SharmWeb. Last edit 17 weeks 3 days ago.- 31 reads
Problem:
A block created from a view that shows the block title even when no data is being returned.Solution:
http://drupal.org/node/1032376#comment-3971916Showcase: Automatically convert an online price list in multiple currencies
Written 23 weeks 3 days ago by SharmWeb. Last edit 7 weeks 5 hours ago.- SharmWeb's blog
- 208 reads
In tourism normally multiple currencies are accepted (hotels, restaurants, diving centers). Many times an online pricelist with a different version for each currency is desired. Untill recently the office staff had to review price lists weekly and update them based on the current exchange rates.
We wanted to avoid this tedious and error prone job for our customers and developed a self converting online pricelist in Euro, US dollar, Pound Sterling and the local currency (in our case the Egyptian Pound).
Drupal 6 recipe for migrating content
Written 24 weeks 4 days ago by SharmWeb. Last edit 22 weeks 1 day ago.- 80 reads
Re-invented the wheel a couple of times now. It's time to write a step-by-step guideline on migrating data and configurations from one site to another. It's just A way to do it amongst many other possible. Some considerations:
Views: how to make empty field go at the bottom when using an ascending order
Written 25 weeks 6 days ago by SharmWeb. Last edit 25 weeks 6 days ago.- 66 reads
Problem:
For example, when nodes are sorted on date in a ascending order, nodes without a date come first. How to make them come last?
Solution:
What is the php variable to print the book navigation
Written 28 weeks 5 days ago by SharmWeb. Last edit 28 weeks 5 days ago.- 63 reads
Problem:
When you use the Display Suite you can customize content types, but you loose the book navigation.
Hide unwanted elements with CSS
Written 35 weeks 5 days ago by SharmWeb. Last edit 35 weeks 5 days ago.- 55 reads
Problem
A module might add elements you don't desire. Instead of hacking, it's easier and cleaner to hide these with some CSS. Use the "Inspect element" or similar from your browser developer extension to see how the class or identifier of your element is named. You can fine grain even more by preceeding it with another CSS wrapper. In the example below you see.teaser p.feedburnerFlareBlock { display: none; }Only Front page works. Rest "page not found".
Written 36 weeks 6 days ago by SharmWeb. Last edit 36 weeks 5 days ago.- 74 reads
Problem
This is most likely to happen if you move or clone a complete site. It's due to the clean urls not working anymore.Solution
Probaly you did a nice Drupal install, copied the sites folder but forgot to copy the .htaccess file over in the root folder.See http://drupal.org/node/593166#comment-2104636
Blocks: How to combine PHP visibility control with specific page visibility
Written 38 weeks 5 days ago by SharmWeb. Last edit 38 weeks 5 days ago.- 51 reads
Problem
When you choose the option to control visibility by PHP, you lose the ability to have Drupal automatically show/not show a block based on path.
Views: Filter output to exclude the current node
Written 38 weeks 5 days ago by SharmWeb. Last edit 38 weeks 5 days ago.- 82 reads
Problem
Filter the output of a View to exclude the current node
Solution
http://drupal.org/node/328104#comment-1119773



