different views for different content type but same path node/%

Hello,
I use views and pathauto to create specific view for my nodes with content type Products. This view has path like this "node/%" and I use contextual filter. All works fine, but when I want to display node from another content type it is impossible, because it is using my view for products and there are no same fields as in Products and I can see only blank content on my page.

Can I create a Webform to edit existing data?

I want to have a form where users can edit only certain fields from a content type.

Can I use WebForms for this? I don't see how to populate a WebForm with existing content.

Thanks.

Adding more Mapbox tilesets Tutorial

MapBox layer provides some baselayers, but you can add additional Mapbox layers (or Tilesets) into Openlayers yourself.
Thanks to DjebbZ for the original tutorial for D6.

Required modules

Instructions

Choose a Tile Set

  1. First, head to http://tiles.mapbox.com/mapbox in the official MapBox website.
  2. Choose the tileset you want to use. In this example we will assume that you want to use the World Blue tileset, but the following applies for every tileset. Note the layer name: it is the last part of the url. For the World Blue tileset, it is world-blue.
  3. In the right part of the page, note the information you'll need in OpenLayers : the Zoom info, specified as a range. For the World Blue tileset the zoom levels are 0-8. Some tilesets may hold a file extension but if none is specified, use png).

Create a Layer

Now go back to your Drupal installation.

  1. Go to admin/structure/openlayers/layers/add for Drupal 7 to add a new layer.
  2. In the list select MapBox.
  3. Then fill the form with the requested information:

Users and lists of content.

Hello,

I'm kind of new on drupal so I could use a little help, I'm developing a website about books, I would like my users to be able to have a profile where they can have lists of books,(read, to read, etc.) I was trying to develop this with the views module but I was wondering i there were some other modules or ways I could do this. I would like my users to have personal pages with the books they have selected.

Thoughts? Suggestions?

Thanks in advance!

Changing the login button

Hi,

I have been playing around with hooks. I also use Pro drupal development to get some examples etc.

Tried the following code in my own module and just cannot get the button to change. While the Warning does show up the buttons text does not change.

php code to target a specific blog user or content type?

I need to create a block that displays information for a specific user.
For example: for a specific blogger I need to add his bio at the bottom of his blog post.

One approach is to create a block with PHP code that evaluate true.
What would that code look like?

The other approach I guess is to create a blog template file for block post but I think I still need to test for a user.

Can some one point me to that code?

thx.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x