recentpopularlog in

therobyouknow : output   34

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
Mothership | drupal.org
cleaner markup, fences and displaysuite help as well with views etc.
theme  mothership  drupal  cms  web  dev  computing  theming  div  reduce  reduction  cleaner  markup  output 
july 2013 by therobyouknow
Game port - Wikipedia, the free encyclopedia
"Microsoft has discontinued game port support with Windows Vista", "The 15-pin game port is pretty much non-existent on presently manufactured PCs, though adapters exist that allow older joysticks and controllers to connect via USB".
gameport  computer  interface  pc  socket  connector  game  midi  standard  obsolete  legacy  vintage  nostalgia  computing  electronic  data  plug  joystick  definition  reference  port  peripheral  hardware  io  input  output  duplex  adapter 
september 2010 by therobyouknow
How can I export a Project Gantt chart as a picture, a .doc or an. - Microsoft Project
camera icon on icon bar, select all rows for entire gantt. Use something like paint.net if wish to convert resultant .gif into more popular and supported, patent-free .png etc.
microsoftproject  microsoft  project  export  snapshot  gantt  chart  picture  image  bitmap  howto  portability  portable  slide  file  graph  drawing  plan  output  saveas  save  camera  icon  computing  projectmanagement  tip  tool  work 
september 2010 by therobyouknow
How to turn off anti-aliasing in Apache Batik SVG Rasterizer
Useful if your output device/media is monochrome and doesn't have greyscale/grayscale. For example black and white printers. If anti-aliasing was enabled, the printer driver may try to use cross-hatching or patterns to represent the grayscales of the anti
monochrome  colour  color  anti-aliasing  svg  rasterizer  rasteriser  bitmap  utility  tool  setting  howto  printing  print  preparation  solution  scalable  vector  graphics  convert  conversion  configuration  option  media  paper  output  machine  readable  optical  scanner  command  line  work  technical  problem 
september 2007 by therobyouknow

Copy this bookmark:





to read