Symbolic links and the file_scan_directory() warning

Symbolic links and the file_scan_directory() warning

I wanted to use the following symbolic link in my root directory: $ ln -s /data1/public/cases/ DownloadData Such that when users go to www.example.com/~user/DownloadData/file they are rerouted to /data1/public/cases/file on the server. When I did this I can verify... read more
The requested page could not be found on user settings [closed]

The requested page could not be found on user settings [closed]

I am trying to change the following user settings: However upon clicking on Save configuration I get a The requested page could not be found error. How can I fix this? Note: I already tried running update.php and flushing the cache. read more
Symbolic links and the file_scan_directory() warning

Save form when user refreshes page from browser or click on any anchor tag inside page

I have made a form in drupal. What I want is when the browser unload the page from any click whether by clicking on anchor tag or from browser refresh buttons I want to save data of my form through js/ajax or anything possible in drupal. If any more explanation needed... read more
Use a custom template field even if it’s excluded from display

Use a custom template field even if it’s excluded from display

In a Views, I have two field : Link field : With 1 to n links to display (excluded from display) Body field : Who use the previous link field (via rewrite output and token) I have created a custom template for display link field like I want. Here is my problem: When I... read more
Symbolic links and the file_scan_directory() warning

Generic orders URL

Is there a way to create a page that requires the user to log in and then shows them all their orders, but only the orders of the logged in user. I need it to the same URL for all users as an external source, that knows noting about the user accounts, will be... read more
Symbolic links and the file_scan_directory() warning

Trying to get fullPage.js implemented, but how to add data-attributes?

This is such a great script called fullPage.js I managed to load the js file and css file and even with the Void Menu Module, managed to call anchor links, but I’m struggling with the data attributes part of the implementation of this cool code! Any help is... read more
CKEditor displays entire site page when rich text is switched on

CKEditor displays entire site page when rich text is switched on

The ckeditor is switched off by default. If there is no text present in the field while editing, the cck provides a wysiwyg interface with no text present when rich text is toggled on. However if any text is present and Rich Text editor is switched on then a... read more
Symbolic links and the file_scan_directory() warning

How to display the profile page in Modal window

By using ctools, i am able to display a form in modal window. Now i wish to display a page(the profile page) in modal window. Below is the sample code (call by menu page callback) to display a html content in modal window, but how to display a page (user/1/profile) ,... read more
Symbolic links and the file_scan_directory() warning

Image style is not rendering

My field_image is not rendering on user-profile.tpl. I have the following code (two different ways to render for testing): $image = field_get_items(‘user’, $user, ‘field_image’); $output = field_view_value(‘user’, $user,... read more
Symbolic links and the file_scan_directory() warning

Render array doesn’t render children

I can’t add a form to a node. Using the following code, the generated HTML show only the node. If I return $form, the form is rendered correctly. What is my mistake ? function hook_menu() { $items[‘presse/rss’] = array( ‘title’ =>... read more
Symbolic links and the file_scan_directory() warning

Book navigation – how to customize outline to show progress and enforce serial navigation

I have a task to customize Book outline to: force the pages of the book to be read from start to finish. Once a page has been read it can be revisited. show the progress through the book. I was thinking of using the outline links to do this. For pages that have not... read more
Symbolic links and the file_scan_directory() warning

drupal commerce – when adding to cart on review page, get redirected back to checkout

I am using Drupal commerce. For particular reasons, I found it necessary to programatically add items to the cart one the review page. The problem is: when I do this, I get redirected back to the checkout page, which I don’t want. Here is my code:... read more
How to handle free and paid orders with post processing?

How to handle free and paid orders with post processing?

I’m going around in circles trying to use Drupal Commerce to make an ecommerce site where some orders cost money and some don’t (because some users have coupons that make products free). I’ve set up the Checkout process as seen in the screenshot... read more
Symbolic links and the file_scan_directory() warning

Get the displayed node of a commerce_line_item in a component rule using ‘commerce_display_path’, doesnt work

I ve found something quite interesting in an other post Discount based on a field in product display node in Drupal Commerce? It describe a way to get the ‘node display’ associated with a line_item Build a component rules action set with custom php code in... read more
Symbolic links and the file_scan_directory() warning

How to load block on link click with AJAX framework?

I have tried in my custom module: Declaring a path for Ajax callback function custom_menu() { $items[‘ajax-block/%’] = array( ‘title’ => ‘Ajax test callback’, ‘type’ => MENU_CALLBACK, ‘page callback’... read more
Symbolic links and the file_scan_directory() warning

Add an image to a line item in drupal commerce

my client ask a site to sell printed canvas so I need to allow site users to add at least one image to every drupal commerce line item. There is easier to start from a drupal kickstarter installation or a clean installation od drupal + commerce module? There is some... read more
Symbolic links and the file_scan_directory() warning

comment form custom validation

I am using a custom validation in my Drupal 7 comment form.I want to match the comment_body against a word “example” so if someone just type “example”in the comment body then it will show a error message that only the word “example”... read more
How to implement date filters with operators like <= or >= in a JSON query string?

How to implement date filters with operators like <= or >= in a JSON query string?

We use Drupal 7 and the Service (Version 3) module. First we created a view using a date with a “between operator” as a filter, which works fine. Then we added a service view as .json format inn which we try to pass that date operator in the query string... read more
Symbolic links and the file_scan_directory() warning

Can I create an "unlimited" values variable?

I’m trying to create an exclude list of sorts that is configurable via the variable admin interface. I have created lots of single value variables, but never a variable as an array where through the interface the user can “Add” another field/value... read more
Symbolic links and the file_scan_directory() warning

Drupal Field Hierarchy or Fields By Selection

Is there any modules that support a hierarchy for fields? Nodes and fieldable entities in drupal seem so monolithic. For example customers could be categorized into three categories: Customer A Customer B Customer C When customer A is selected then I only want... read more