node reference ordering

node reference ordering

I have a content type “Review” and there there is dropdown for brands, I want to order dropdown list by alphabetical order. is there any way to reordering drupal node reference dropdown? read more
node reference ordering

view access permission

I have a problem with view permission, when I make a view in drupal 7 there is an option “access” when I specify the option eg:”view published content” all users that has the role of published content can see all the content that are belongs to... read more
node reference ordering

Override Ajax throbber icon styles

I’ve been digging around the CSS and JS files but I haven’t quite found the exact thing that places the throbber.gif where it appears when clicking on ‘previous’ or ‘next’. The styling is in system.base.css file and I found this... read more
node reference ordering

Nodes containing simple field collection not displaying properly

I have a content type to which I added fields like description, image and a field collection containing two simple text fields. Editing and viewing in the backend (logged in as admin) works properly. But when I log off and go to the node it just shows the title and no... read more
node reference ordering

How do I send email to a large number of users?

I have a scheduled rule to send a HTML email, using a view to list the email addresses. I tested this based on a couple of users ; everything worked as expected. When I increased the number of emails to around 1400, I found that half the users received the email, over... read more
node reference ordering

Creating a Batch with multiple functions

i’m trying to optimise my setup of a Drupal Batch process. I am reading in thousands of rows of data from an Excel spreadsheet, from multiple worksheets, and creating nodes from the Rows. My import functions work fine, and I can create a Batch, but at present I... read more
node reference ordering

Specify which Migrate entries need to be updated using prepareRow

I have made a Migration that i run with Cron. My highwater field is the date changed, which is present in the XML (source) document. Then I do this in my cron function: $result = $migration->prepareUpdate(); $result = $migration->processImport(); Problem is is... read more
node reference ordering

How to get the parent comments (in a custom module)?

I’m writing a module that uses flag to handle notifications, and one of the options is to be notified of replies to a given comment. I can implement without problem hook_comment_publish($comment), but I want to get all of its parent comments so that I can pick... read more
node reference ordering

Update order status with administrator comment

I need a way to be able to allow an admin user post an order comment when they update the order status that the owner of the order would then get posted on their order. This would both be viewable from the owner of the order, when the owner of the order was logged in... read more
node reference ordering

How can I show only first level terms on a dropdown taxonomy exposed filter?

I have a 2 level taxonomy tree: Countries and cities. I also have a view of content, all of which are marked by first level terms (countries) of that vocabulary. My taxonomy tree is like that: Country 1 City 1 City 2 City 3 Country 2 City 4 City 5 In an exposed filter... read more
node reference ordering

How to create a chart for tracking Product stock over some period of time using Ubercart?

Does anybody know about a good solution for tracking Product stock in a certain timespan? It is nice to see the stock numbers of products, but I find quite handy to see product performance over time. My Questions: Is there any module for this? Or is it more... read more
node reference ordering

Bootstrap external login from subfolder isn’t working

Consider the following script. define(‘DRUPAL_ROOT’, getcwd() . “/..”); require_once DRUPAL_ROOT . ‘/includes/bootstrap.inc’; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); $username = “Silox”; $password =... read more
node reference ordering

Facebook Album fetcher

I am using facebook album fetcher module. It shows an error message An unknown error occurred while trying to fetch the album (empty reply). Can anyone tell me how to resolve this issue. read more
node reference ordering

How do I set the default value for a checkboxes element?

I’m trying to set the default for a checkboxes element in hook_form_alter(). $form[‘average’] = array( ‘#type’ => ‘checkboxes’, ‘#options’ => array(‘a’,’b’,’c’),... read more
node reference ordering

Migrate products, orders, users, attributes, and options from Ubercart 2 to Ubercart 3

I am working on a new Drupal 7 site to replace a Drupal 6 site that was badly compromised. I have built the D7 site from scratch, and I now need to migrate the Ubercart products, orders, attributes, and options (as well as the users) from the D6 site to the D7 site. I... read more
node reference ordering

Create form for image selection from the content

I have a content type with title and image field in it. Now, I want to show a form to the user which will show the image thumbnail, title and a checkbox below each image with the value of respective nid. So that user can select the image they like and submit it. Which... read more
node reference ordering

How can I add two ‘add to cart’ ubercart buttons in a product page

I would like to have two ‘add to cart’ buttons on my ubercart drupal site. I’ve set up two views, but only one button will show at a time. Why is this? You can see it on https://www.thepetwiki.com/mg-testsite.com/ubercart/painting/please There should... read more
node reference ordering

How can change RealName / User account link destination in D7

I’m using RealName module in D7 to show real names on nodes and in comments and would like to link the real name [user:first-name] [user:last-name] to a custom content type (a ‘profile’ page), instead of the standard ‘user account’. It is... read more
node reference ordering

How do I allow facets on my full content display page?

I have installed Kickstart Commerce 2. I have been able to allow facet searches on my collection pages, by simply adding collection/* under the “Show block on specific pages” section of the blocks that I want to have the facet search block appear on. It... read more
node reference ordering

feeds importer tamper double importing image

Using feeds import with tamper to split up images at a | our database has thousands of products and only some of them have an image and then some have a second image (a room view of the product) and the images arent tracked in the data. anyways the build of the url to... read more