Chapabu
  • Member for 10 years, 2 months
  • Last seen more than 2 years ago
1 answers
1 votes
120 views
Smart way to compare drupal instance files with official release to search for modified files
Accepted answer
4 votes

The Hacked! module is exactly what you're after: This module scans the currently installed Drupal, contributed modules and themes, re-downloads them and determines if they have been changed. ...

View answer
1 answers
0 votes
143 views
context path and subpaths
Accepted answer
4 votes

I'm pretty sure that just checking it against path* should work. So rather than path/* or path/*/* just run it against path*.

View answer
2 answers
4 votes
4k views
Zen theme: understanding the zen grids design in _responsive.scss?
4 votes

*Note that this is also inside the .region-sidebar-second container Also of note, is that zen-grids actually has nothing to do with Drupal apart from being created by John Albin. The documentation ...

View answer
2 answers
1 votes
346 views
How could I create multiple private sites within one Drupal site?
4 votes

This seems like a perfect use case for Organic Groups. Enable users to create and manage their own 'groups'. Each group can have subscribers, and maintains a group home page where subscribers ...

View answer
2 answers
2 votes
2k views
Custom navigation menu bar
Accepted answer
4 votes

It sounds to me like you are looking for something like Superfish or Nice Menus. My personal preference is Superfish, as it has become pretty damn useful in recent updates. It's also responsive if ...

View answer
1 answers
1 votes
114 views
Where do I find the Statistics module?
4 votes

A quick search turned up this video from DrupalDude: Statistics module in Drupal 5 There's also the documentation for the module for the D5 version on Drupal.org that suggests you should be able to ...

View answer
1 answers
0 votes
32 views
How to disable creating links for content types?
Accepted answer
4 votes

I always use the Rabbit Hole module in this situation. Perhaps you have a content type that never should be displayed on its own page, like an image content type that's displayed in a carousel. ...

View answer
2 answers
4 votes
582 views
Write Drupal Code online
Accepted answer
4 votes

There's Simplytest.me, but that's really for testing existing module to see if you like them (e.g. never used Panels before, select Panels from the list and hit Launch Sandbox to give it a go). You ...

View answer
1 answers
2 votes
64 views
Getting an email notification when a new Drush version is available
Accepted answer
4 votes

If you go to the Drush project page on Drupal.org then you can follow the "Releases" RSS feed found at the bottom of the page. EDIT You can also use the IFTTT.com service if you want the e-mails. ...

View answer
3 answers
2 votes
1k views
Display image fields of a node as slideshow
4 votes

Views Slideshow should be more than enough for what you need. EDIT I meant View field, not Views Field View - sorry. Viewfield provides a field that holds a reference to a View and renders it ...

View answer
1 answers
2 votes
154 views
Which access control module will allow me to use limit visibility of individual nodes?
Accepted answer
4 votes

BAM! Taxonomy Access Control to the rescue. Access control for user roles based on taxonomy categories (vocabulary, terms). Automatically controls access to nodes (based on their taxonomy terms). ...

View answer
2 answers
3 votes
1k views
Can Features package its dependencies?
Accepted answer
4 votes

I think the latter is true, and you're misunderstanding what Features does. Features takes any database-stored configuration (Views for example), and exports it to code. The generated module is ...

View answer
2 answers
2 votes
2k views
Add background to a div based on a Node's Image Field
Accepted answer
4 votes

You could try BackgroundField: BackgroundField started as an extension of the CCK ImageField that allows a CSS selector and background attributes to be set for a content-type. This is ...

View answer
2 answers
3 votes
2k views
How to make the title field of a node/add form hidden or locked
Accepted answer
4 votes

I'd probably just hide it with CSS to be honest. Either that, or I'd use Automatic Nodetitles to populate the title with tokens (path token in your case) as it has the option to hide the title field ...

View answer
2 answers
2 votes
11k views
How do I add custom validations to Webform?
Accepted answer
4 votes

The Webform Validation module should add the features you need. This module adds an extra tab to each webform node, allowing you to specify validation rules for your webform components. You can ...

View answer
2 answers
1 votes
5k views
Change menu item class attribute
4 votes

If it's just menu links you're after you can give Menu Attributes a whirl.

View answer
1 answers
1 votes
8k views
Understanding theme hooks and template preprocessors
Accepted answer
4 votes

I'd suggest you read everything you can in the Theming guide. It looks like you're specifically looking for this part of it though.

View answer
3 answers
0 votes
205 views
Running check_plain after t
4 votes

This would be better: drupal_set_title(t("Donation Details for Project: @title"), array('@title' => $project->title)); Taken from here Special variables called "placeholders" are used to ...

View answer
1 answers
2 votes
1k views
What is the difference between profile and content profile module?
Accepted answer
4 votes

Assuming you're in Drupal 6, Content Profile allows you to set up a node type that will act as user profiles. this is more extensible than the core profile module, which essentially just adds basic ...

View answer
2 answers
1 votes
122 views
display question content type and a referenced node answer
Accepted answer
4 votes

You will have to create a relationship. Click the [+] next to Relationships in Views, and select the field that contains your node reference Make sure your Row Style is set to fields Select Node: ...

View answer
2 answers
1 votes
59 views
need sql assistance
Accepted answer
4 votes

$otvet = db_query(" SELECT n.title AS title, cta.field_question_nid AS nid FROM {node} n INNER JOIN {content_type_answer} AS cta ON cta.nid = n.nid LIMIT 0, 3 "); while($ref = ...

View answer
2 answers
1 votes
2k views
How to lock a piece of content form being edited by specific roles?
Accepted answer
4 votes

I've not used it, but the Content Lock module might fit your needs! EDIT AFTER COMMENT What you could do then is utilise Taxonomy Access Control using the following method: 1) Add a Taxonomy ...

View answer
1 answers
1 votes
1k views
Am I able to use dynamic parameters in libraries configuration files?
3 votes

You should be able to use hook_library_info_build(). It's a new (to D8) hook that allows you to define libraries at runtime. Here's the change record that talks about it's introduction. It's unlikely ...

View answer
3 answers
1 votes
7k views
I need a way to automatically make Panel layouts responsive
Accepted answer
3 votes

I think the closest you're going to get to out of the box is Panels Extra layouts, which ships with a bunch of adaptive layouts. Other than that, your best bet is just to create a bunch of custom ...

View answer
1 answers
1 votes
194 views
Can hook_field_extra_fields be used with field collections?
3 votes

The entity name for a Field Collection is actually field_collection_item and not field_collection (if you run var_dump(entity_get_info()) you'll see this). This means your implementation should ...

View answer
1 answers
0 votes
1k views
ZEN 5 Responsive - general questions
Accepted answer
3 votes

The short answer is yes; the .front class is more than adequate. Using SASS nesting, your CSS would probably end up looking something like the following. @media all and (min-width: 960px) { $zen-...

View answer
2 answers
2 votes
149 views
Is there a module/Drush command for updating multiple field settings at once?
3 votes

I don't think there's a module or anything to do this, as it's quite a specific use case. However, you could try something like the following in either a custom module's update/install hook. Note I'...

View answer
1 answers
4 votes
3k views
How to add tri-state checkboxes to form created with Form API?
Accepted answer
3 votes

From what I understand, the indeterminate property of a checkbox is purely a visual thing, and also cannot be set with HTML, which in turn means that you won't be able to use the FormAPI or create an ...

View answer
2 answers
3 votes
6k views
How can one add superscript character like TM or Reg on a block title
3 votes

Block Class Styles may be useful: Extends the Block Class module to incorporate styles (or themes) rather than css classes. Adds style-based tpl suggestions. Allows HTML in your block titles. ...

View answer
2 answers
0 votes
47 views
Is it possible to automatically create a .install file for a module?
Accepted answer
3 votes

If it's just the field and field instances that you want converted ready for an install file (i.e. if Features is too overkill for you or you don't want the extra dependency), then Field Inspector ...

View answer
1 2
3
4 5
13