how to redirect default node page to panel page for a given content type?

Ok, let's say I have a content type "book" and nodes of that type, but also other content types, such as authors and publishers.

Then it's possible for users to view a single book using node/8 for example, but maybe node/9 will be an author or a publisher.

I want to automatically redirect all default node views of content type "book" to a panel page, with the node ID as an argument so it can be used by a view.

How to do that?

Using Drupal 7.56

Can't get EntityFieldQuery to work with EntityForm data

I've searched for days and have read so many examples, tutorials and the API on EntityFieldQuery, all of which refer to node data and none of which I can convert to apply to EntityForms. I would expect the same underlying entity system would apply but I'm not getting results or the page not rendering, or an error page without any error indicators. I have no doubt that there's some tiny little element I'm missing or doing wrong but it's been a lengthy, futile exercise in frustration. I'm hoping someone here can point me in the right direction...

Can't access admin panel

Hi! I'm using Drupal 7.41 on Nginx. I was trying to edit a field collection that already had data in it, and the site stopped working. When I try to access the admin panel I get a blank screen. I tried to backup everything and update the site, but I get this error:

Notice: unserialize(): Error at offset 204 of 811 bytes en field_read_fields() (línea 374 de /www/na/www/modules/field/field.crud.inc).

Since I can't access the panel, I can't look at the logs to see what went wrong. Any ideas?

Thanks.

reSmush.it image style optimizer

reSmush.it is a free image optimization API. It compresses the size of your images, making them — and therefore your website — significantly faster to load. reSmush.it image style optimizer is a Drupal module that provides an image style effect with this image optimization capability.

Project page: https://www.drupal.org/project/resmushit
More info and demo: http://www.vacilando.org/article/resmushit

Simple FB Connect: Using it with different login profiles

Hi everybody,

for my visitors I provide various services. So I created a user role for each.
Let's call them service A, service B, service C, for now.
For each service I created its own profile, so that I have three different registration / login pages, with these URLS:

How do I Enable Clean URLs on bluehost?

Hi all,

I've recently signed up for a shared hosting account on bluehost but when I try to enable clean URLs I get the message "Clean URLs cannot be enabled. If you are directed to this page or to a Page not found (404) error after testing for clean URLs, see the online handbook."

I have read and re-read the page multiple times but can't seem to make sense of it. I have multiple sub sites running drupal from my main account. Can someone please assist?

Thanks in advance,

Wisemas

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x