recentpopularlog in

therobyouknow : content   123

« earlier  
Rabbit Hole | Drupal.org
"Rabbit Hole is a module that adds the ability to control what should happen when an entity is being viewed at its own page.

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. Rabbit Hole can prevent this node from being accessible on its own page, through node/xxx."
d7  7  drupal  node  content  computing  web  dev  contrib  module  visible  access  display  8  drupal8  seo 
january 2016 by therobyouknow
Custom Formatters | Drupal.org
great module for formatting output of fields, e.g. title link for downloadable file:

admin/structure/formatters/list/formatter_file_link_title/edit
$preMime = $variables['#object']->filemime;
$postMime = str_replace( "/", "-", $preMime );

$filePath = "/sites/default/files/".$variables['#object']->filename;
$fieldTitle = $variables['#object']->field_title['und'][0]['value'];

$output = "<img class=\"file-icon\" alt title=\"";
$output .= $postMime;
$output .= "\" ";
$output .= "src=\"/modules/file/icons/";
$output .= $postMime;
$output .= ".png\"/>";
$output .= "<a href=\"";
$output .= $filePath;
$output .= "\">".$fieldTitle."</a>";

echo $output;

use this here: file-types/manage/document/file-display
custom_formatters  module  contrib  computing  web  dev  drupal  cms  field  output  display  format  formatter  token  php  config  entity  node  content 
january 2014 by therobyouknow
Content Type: Extras | drupal.org
nice utility module for use in content creation
contenttype  type  content  computing  web  dev  cms  drupal  extra 
september 2013 by therobyouknow
Drupal 7 Template (Theme Hook) Suggestions | drupal.org
file you'd use for your content type - it would be comment-wrapper--node-[type].tpl.php where [type] is the name of your content type. Examples: if your content type is called question, then the file would be comment-wrapper--node-question.tpl.php. If your content type is called Resource Article (note the space!) then the file would be: comment-wrapper--node-resource_article.tpl.php - note the space is replaced with an underscore _ Works for me, based on official documentation
comment  wrapper  template  theme  hook  content  type  contenttype  specific  official  community  documentation  drupal  computing  tpl  web  dev  cms 
september 2013 by therobyouknow
Cant edit a mini panel [#867898] | Drupal
because they look like breadcrumb navigation and not actually sections!
panels  minipanels  drupal  edit  unavailable  howto  computing  layout  content  work  breadcrumbs  breadcrumb 
june 2013 by therobyouknow
Missing label for boolean fields when adding content [#841266] | Drupal
Missing label for boolean fields when adding content - comment 42 - in drupal 7 this is not actually a bug - its a setting needing enabled in the drupal field settings
missing  label  boolean  field  content  contenttype  drupal  type  cms  web  dev  computing  solution  problem  solved  title 
june 2013 by therobyouknow
« earlier      
per page:    204080120160

Copy this bookmark:





to read