How to translate field collection which has unlimited values?

How to translate field collection which has unlimited values?

My configuration: latest dev entity translation and field collection module + patch. I tried: 1. Entity translation is on just for taxonomy term and node, but not for field collection (it triggers notice: not translatable because of valid base path…) I have... read more
How to translate field collection which has unlimited values?

Translation for node references not working properly

I have two content types: product feature and product. Both can be translated. If I create English product and assign many product features (by node reference inside field collection) and then create translation (ex. French) for this I have rewritted product features.... read more
How to translate field collection which has unlimited values?

Taxonomy term name alias in taxonomy term autocomplete

I’d like to have two or more names for one Term-ID in my custom taxonomy dictionary. As for now I’ve added a custom field and named it “Synonyms”. The field can have multiple values. How can I display values of the “Synonyms” field... read more
500 error during installation?

500 error during installation?

Trying to install the new Drupal-COD Drupal 7 distribution, but got this error: An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows Is this the sort of error one can overcome by increasing my memory_limit in the php.ini file? read more
How to translate field collection which has unlimited values?

Add class to all labels in a comment form

Pretty straight forward. For every label within a comment form, I wish to add a particular class to it. Using only functions in template.php, in Drupal 7, how can this be done? If it can’t be done this way, what is the most straight-forward alternative? read more
How to translate field collection which has unlimited values?

Inserting Block with Custom Input Filter Module via Shortcode Causing http 500 error

I have a custom input filter module, and I am trying to figure out why it crashes when I attempt to insert a block into a post via a shortcode. The method works perfectly when I am inserting a string, but when I try to insert a block, it causes a http 500 error. Any... read more
How to translate field collection which has unlimited values?

Feeds with Xpath Parser won’t import images using image URL in XML file

Importing images into a multi-valued image field using image URLs from an XML file is not working for me. The Xpath Parser debug output shows the multiple image URLs being parsed correctly, but the images don’t get imported. No problem with other ordinary... read more
How to translate field collection which has unlimited values?

Pass data to hook_entity_insert

How can I pass data to hook_entity_insert() given that the arguments it takes are fixed? I’m writing to the database during entity save, and need to be able to pass some data in this hook. read more
How to translate field collection which has unlimited values?

Group search result by content type

I am using apachesolr on my drupal 6 website for search. Now I wanted to use filter results by content type on search page. At first I was using a panel page as search page. Here I tried to use the apachesolr filter by content type block. But this didnt work. I tried... read more
How to translate field collection which has unlimited values?

How to have separate private comments for nodes apart from the general comments?

I have a specific requirement. Apart from the general comments which everyone can view or post for my custom node I also require private comments thread which will be shared only by the node created user and selected few. Using the same comments form will not work as... read more
How to translate field collection which has unlimited values?

Rewrite id of a exposed filter block?

Hi there I’m trying learn how to rewrite a #id of an exposed filter block (ie. a searchbar filtering a list view. Is there an easy way to do this? Isn’t something that is possible to do with rules? (i would like to get an answer with an example of how to... read more
How to translate field collection which has unlimited values?

Rebuild form in AJAX callback

I’ve got a simple form which I’ve added a little AJAX to. The form simply let’s people add users to a list. That is, I’ve got a textfield where people can enter an e-mail address, and that e-mail address gets added to the list. Now, the... read more
How to translate field collection which has unlimited values?

How to delete node revisions

I need to delete all node revisions before upgrading to Drupal 7 to save time in migration. Is there any way to do that? read more
How to translate field collection which has unlimited values?

Show menu link descriptions for a custom navigation menu

I have the following navigation, displayed in page.tpl.php: theme(‘links’, array(‘links’ => menu_navigation_links(‘menu-site-navigation’))); There are four navigation elements that show up. I would like to display the description... read more
How to translate field collection which has unlimited values?

Feeds unlock tab

I had one of my feeds freeze up and I can’t unlock it. I did some searching and found a function for adding an unlock tab form this page: http://drupalcontrib.org/api/drupal/contributions!feeds!feeds.pages.inc/function/feeds_unlock_tab_form/7 <?php function... read more
How to translate field collection which has unlimited values?

Why does drupal_session_start() fail after a user clears the cache and logs back in?

I’m writing a document management module which has come pretty far and is almost ready for a final review and release, but I’ve found a really strange authentication issue that is requiring a gross work around. Several actions in my module are handled via... read more
How to translate field collection which has unlimited values?

Loading view data using XMLRPC

I need to load data from a Drupal View into an external (non-Drupal) site using PHP. I’m using XML-RPC for PHP. I’m able to connect to the system and login, but I’m unable to retrieve a View. I get the following error: HTTP/1.1 401 Unauthorized:... read more
How to translate field collection which has unlimited values?

"An AJAX HTTP error occurred.HTTP Result Code: 200"

I’m new to Drupal, and I’m working with a Drupal site that someone else wrote. From the admin menu, when I go to Structure -> Pages -> Edit Content -> Gear Menu -> Edit (or Settings), Drupal throws up this error: “An AJAX HTTP error... read more
How to translate field collection which has unlimited values?

Setting author when creating a new node via Cron

I’m creating a new node using hook_cron(). It all works except the node author is always set as anonymous (uid = 0). How can I assign a user to the new node, with say uid 21 for example? Below is the node creation code that I have in a function that gets called... read more
How to translate field collection which has unlimited values?

How to set a $_POST var value as default value for a textfield webform component?

I need to set a $_POST variable value as the default value for a textfield webform component using Webform 4 In the Default Value field I filled with %post[my$_PostVar] but is not working. update: it seems like Webform 4 lost the %get and %post tokens comment-6337368... read more