Finally an inline editor for Drupal 7

For some clients, the lack of an inline editor in Drupal for simple changes adds a real barrier. Many of the small businesses I deal with have never run a site and are terrified by the prospect.

I was really impressed when I saw the HTML5 Aloha editor http://aloha-editor.com, but was frustrated that the work on a D7 module has stalled.

For those who enjoy hand rolling their own the first thing is to embed the plugins and javascripts into your desired template eg:

Styling long form lists as multiple columns

To avoid the frustration of endless scrolling when adding a new node with multiple fields and tick boxes consider using

Quick Faqs

Q - How do I create dynamic URLs that will change when I move the site?
A - Use php print ...

Simply alter the link:

<link type="text/css" href="themes/dropdown10/page-front.css"  rel="stylesheet"/>

to become...

Ubercart - running straight out the box

I am working on a type of advanced profile (actually zipped site and sql dump) that will enable others to get Drupal and Ubercart 2 up and running within minutes.
You can see and USE the demo at http://ubercart.venturacottage.com Out the box it has been configured to handle:

truly simple cPanel multsite setup

No single multisite setup method above got me all the way there; if you have cPanel and Drupal installed on your original domain, follow these straightforward instructions to set up a multisite:

For 'www.yourlovelysite.com':

1. in cPanel, go to 'Subdomains'

2. enter a name for you subdomain; this is followed by '.' and your original domain name automatically, e.g. 'sub1' becomes 'sub1.yourlovelysite.com'.

Themeing tutorial using Color module

With an eye to the forthcoming Drupal 7, I was keen to encourage everyone to look at developing stunning themes to go with this shiny new release and all with the help of the excellent Color Module. It also applies to Drupal 6 and uses Garland as its starting point.

in /themes make a copy of garland folder > rename say swirly (or whatever your theme is called)
in /themes/swirly rename garland.info to swirly.info

apple no pic

For articles such as this one that have no accompanying image, we use coding within the theming layer of Views to add a default thumbnail image if the story appears on the [l:http://www.venturacottage.com frontpage]. This relates to the tag that is attached to the story so for example in this case the apple tag is translated into the parent taxonomy of fruit.

Coding then checks the image directory for fruit.png and serves it up next to the relevant title.

The code looks something like this:

if($output==''){

Tags: 

Semi transparent navigation background

Looking at ways to make the excellent superfish dropdown navigation less prominent - I chose a lighter colour at the bottom of bg-header.png, added an off centre photo to the LHS that slightly cut behind the start of the navigation bar and then added the following code to the style.css

#superfish-inner .menu li {
  background: #B1E1EF;
  opacity:0.7;
  filter: alpha(opacity = 70);
  }

The filter: line is a duplication of the opacity: line but it is required for it to work in good old IE.

The end result can be seen opposite

Relative elements and dropdowns

Various Drupal themes now use the excellent Superfish dropdown menu navigation, including Pixturerr. But if you then customise the theme such as adding a frontpage with RELATIVE elements you can find (as in the picture) that the dropdows appear BEHIND other elements, in good old Microsoft Internet Explorer!. This is what I did to resolve the issue.
go to admin/build/themes/settings/pixturerr

we need to set the color set back to Girly Pink default

Add Quicktime Movie

Most of the time I would recommend uploading to googleVideo or Youtube and then using the reference supplied but there are times that you don't want the extra logos, or need more control. For example adding a prompt if the user has not got Quicktime installed or using a custom size.

http://www.venturacottage.com/walkers2.htm







Pages