Linked entity references in a content type

Linked entity references in a content type

I am unsure if this is possible in Drupal 7, but here is my problem: I have 3 content types, A, B and C. B and C refer to A through a field field_A (entity reference). C refer to B through a field field_B. When creating/editing B, I want the user to select one node A1... read more
Linked entity references in a content type

views to display list and related content on same page

I have created a veiws block which displays all the taxonomy terms of a particular type. This block is in left sidebar . Now what I want is ,”when i click on any of the term all nodes related to it should be shown on the same page in the content area ” (... read more
Linked entity references in a content type

Moving elements to other page regions

I want to move the page breadcrumb to the content region in Bartik (D7.) I assume it is theming but I can’t find anywhere (style.css, layout.css) where the breadcrumb is assigned in the first place. Does anyone know how to do this? Thanks. 🙂 read more
Linked entity references in a content type

Form and gated content

UPDATED from earlier: I am using a simple Drupal form that collect user info before allowing the user access to donwloadable content. NOTE: This is using the form API and I am no longer using a modal; just using a regular page created by a hook. Here is the scenario:... read more
Linked entity references in a content type

In code alter user registration and override approval to no approval required

In my module I want to override the approval for certain users so that they are immediately approved and get the corresponding email. The module looks at the subdomain to decide if approval is required. If it is, then the register-with-approve email should be sent. If... read more
Linked entity references in a content type

How to do "has term (with depth)" filter on field of a related field

i have a content type ‘product’, and two taxonomy lists ‘company’ and ‘country’. Country list has one level of depth like: …….. state1 -city1 -city2 …….. Each product has a ‘company’ field. Each... read more
Linked entity references in a content type

What configuration is required to use date_views with a field?

I have a custom entity “referral” which is available for views: function mymodule_entity_info() { return array( ‘referral’ => array( ‘label’ => t(‘Referral’), ‘controller class’ =>... read more
Linked entity references in a content type

Not able to make simple node path show up in "crumbs module"

I have read all the documentation, and I have been clicking about wildly for hours, and I have used the “debug” tab for the Crumbs module, and I still cannot get the simplest path to show up: Home > Content type > Node title It always gives me: Home... read more
Display Custom User Profile Fields in a Block on All of Their Published Pages

Display Custom User Profile Fields in a Block on All of Their Published Pages

I have created a role, and have added additional fields to their profile using Profile 2. The fields are part of the location module, and are just basic contact info (address and phone number). They are also able to chose a name, which is used in the url for both... read more
Linked entity references in a content type

Categorizing and Sorting Webform Submissions

I’m trying to find an effective way to categorize and sort webform submissions. I already have them displaying in views, but would like to take it a bit further. Here’s the goal: Anonymous users can fill out an employment application on our site (via a... read more
Linked entity references in a content type

autofill from taxonomy term fields

I’m trying to connect a field of a taxonomy term to a field in a content type, something like this: Auto-Fill from on content type to another I tried this on a node and it’s working, but now I have some problems with the taxonomy term, is for this part? //... read more
Linked entity references in a content type

Cache is not cleared

I have a weird problem that the cache won’t be cleared. It all began since I added a template file “field–custom-field-name.tpl.php”. The field is attached on user entity type. I put var_dump(get_defined_vars()) to output the available... read more
Linked entity references in a content type

Change url alias for user profile pages based on role

I have two sets of users, faculty and staff, with corresponding Profile2 profiles. I can’t figure out how to get different paths for users dependent on roles, e.g, staff/userid or faculty/userid. I’ve been trying with both Rules and Pathauto. Seems like it... read more
Linked entity references in a content type

Views pager shows an incorrect current page

I have a page view displaying a table of fields with a few exposed filters. This page view also has a full pager (8 items per page). The view is not using AJAX, nor does it have any caching enabled (currently). When on the view page, using the pager to navigate to... read more
Linked entity references in a content type

Cannot use feeds to import into data tables where the primary key is multiple

I am using Data Module to create tables in Drupal. Now, I need to import some data through CSVs, for this I want to use Feeds Module. My table consists of more than one primary key i.e. a group of fields together forms a primary key. Is there any way to import the... read more
Linked entity references in a content type

How do I get comments to be indexed?

I’m not sure if it’s actually doing this; I can’t see any options for comment fields in the configuration. How can I check? Does it say explicitly somewhere? read more
Linked entity references in a content type

Why is Pressflow not listed under Drupal.org’s List of distributions?

I’m curious why it isn’t listed under distributions. Is it because they have made modifications to the drupal core? read more