Change available options depending on previous selection.

Hi.

I'm working on a feature, that allows adding content like YouTube videos, menus, carousels, etc. There's a field for selecting the style and another for selecting the number of columns for the content. I want the columns number field to change depending on the style the user chose. 

Example:

I choose Caret as style, and the "number of columns" options must be three or four columns. Then, if i choose Hover, the number of columns must be one or two. 

[SOLVED] How to make an entity reference field unique

Hi Drupalers, 

I need to make an entity reference field unique so that the referenced entity type can only be used once and gets deleted then from the list of available entities that can be referenced to. So for example: 
I have the content types: 
1.) "Bought items" with the field "product id"
2.) "Sold items" with an entity reference that references the field "product id" of "bought items"

How can achieve that when I make new content of "Sold items" the field product id can just select ids that haven´t been referenced to earlier

Another example:

Views count of nodes without tags or entityreference

Even after exploring and experimenting with drupal 7 and view with its numerous setting , contrib modules I couldn't find how to get count of nodes without any tags(term ref)/Entityreference.

setup with plain Drupal 7 vanilla

1. create some contents of type article with tags(sports,tech,politics) and lets have content without tags

2.create view of type articles with fields as format

3. add tags field with plain text

4. enable aggregation in advanced settings

Trip reservation system

hi all, I'm trying to understand how i can create a "Trip reservation system" like:

http://www.marcabrera.com/en

But... I have no idea how I can do this :(

Maybe with BAT module? I don´t understand if with this module i can do this, o just room reservations.

All yours ideas are welcome :)

Thanks all!

how to auto-create taxonomy term

hi

i would love to know if it's possible to create a taxonomy termi automatically (inside a node) when i save this node, copying the term from another field, ex. from the title.

i explain:

i have 2 different content types: ARTIST and ARTWORK

when i create an artist  i would love that the system will create automatically an entry with the name of the artist in the vocabulary "artist names"

so when i create an artwork i can select which artist created it.

Media Gallery Module CSS customization

I currently use Media Gallery and I would like to change the display of Image and description. 

I tried to find it in media_gallery.css but not so successful.

Right now it shows an image on the left and its description on the right. How I can position the description under the image?

http://martincountylifestylemag.com/treasurecoast/media-gallery/detail/5...

Any help is greatly appreciated!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x