[SOLVED] Give access if user and node has common taxonomy term, possible?

I've got a site with a vocabulary COUNTRY, a content type COUNTRIES and several users. The vocabulary is used in both the content type and for users.

What I'd like is to restrict view and edit (or any other) access to nodes for users with the same COUNTRY term.

So if a node is tagged with "Albania", only users also tagged with "Albania" can view and/or edit that particular node.

I've played around with content access, acl and rules, but I'm not making progress.

Adding custom text (long HTML code) to each particular uploaded image using image field

I have noticed that the Alt or Title fields of the image field won't allow me to add long text to the uploaded images.

Basically, what I am trying to do is to attach long text (or even HTML code) to each uploaded image. A custom text that can be edited in the same manner as Title or Alt text.

Any idea how to do this?! Any helping modules available?!

Thanks.

Location and Views - Closest location

Hello everybody,

I have a problem setting a View to show the closest nodes of another (I'm using last dev version of views and locations on drupal 7). So my scenario is the following:
I have 2 differents node types (A and B) both with a location field. I want to build a view that given a node A (with a determinate location) a have to retreive all the nodes B in a distance of 2Km.
So to do that I created a view with the following filters:

(1) Content: Type = B
(2) Location: Distance / Proximity, with the parameters
{origin:"node's lat/lon from views nid argument"}
{Node ID argument to use: (it doesnt allow me to select any data)}
{Location to use:"CCK Location: field_A_loc"}.

I also added a contextual filter. I selected as contextual filter: {Content: Nid}, and I added % to my path so now the pat is /myviewpath/%. This allow me to choose the value Content: Nid in the field "Node ID argument to use" of the filter "Location: Distance / Proximity".

So i try to run the view but I get no results when the view is called as mydomain.com/myviewpath/3 where 3 is a A node.

I also tried to do not use the contextual filter (that does not allow me to set the "Node ID argument to use" in the "Location: Distance / Proximity, with the parameters" filter) and running the view mydomain.com/myviewpath/node/3 but in this case I get the list of all B nodes..

enabling module crash

Hello all, I am new to drupal and I am using drupal 7.9.My problem is, everytime I enable or disable my modules in drupal it crashes. when I go back to module page it is enabled but, i cant access and see its panel on configuration. this goes to modules such as private message, views slideshow, advance forum and more. what seems to be causing this problem? I have tried uninstalling them and reinstalling it. please help :( image attached. sorry if I posted in the wrong section

Only local images are allowed.

amazon-web-services modules: Are there any out there in the drupal world!?

hi drupal-folks

sorry for being the newby - but i am brandnew to drupal

i look for modules and extensions (or installation-profiles) that work with amanzon-web-services - AWS

if we look at Joomla - there are a bunch of extensions out there:

where to edit the configuration-data - i do a port over from a server to another

hello dear drupalfriends i try to do a soft-install - well a port over from a xampp-installation. i got it from a friend. So i have the files - they area allready uploaded to the database and i have the database-dump.

And i have the configuration data - all the complete information that is needed to connect to the database:

Well question where should i edit the data

DataBase name: xy
Database Username:xy
Database Password:xy

in which file should i edit the data - where do the data reside?
and besides this - the question is:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x