SlideShare a Scribd company logo
1 of 13
What is bioinformatics?
Adapting the VU template to
Drupal: the CCSB@V.
Jerome Jourquin, PhD MS
Quaranta Lab
Center for Cancer Systems Biology at Vanderbilt
Department of Cancer Biology
jerome.jourquin@vanderbilt.edu
What is bioinformatics?Why Drupal?
2
10/28/2010
2006
2007
2008
2009
2010
http://vicbc.vanderbilt.edu/ccsb
“Collaborative
website”
Center for Cancer
Systems Biology at
Vanderbilt (CCSB@V)
Vanderbilt Integrative Cancer
Biology Center (VICBC)
Quaranta Lab
iTumor
Protein
Expression
User’s Club
What is bioinformatics?The task at hands
3
10/28/2010
http://www.vanderbilt.edu/publicaffairs/webcomm/2010/05/vanderbilt-brand-bar/
http://www.vanderbilt.edu/publicaffairs/webcomm/2010/05/simple-template-files-released/
What is bioinformatics?Drupal theme engine
4
10/28/2010
http://drupal.org/node/171194
What is bioinformatics?
5
10/28/2010
What is bioinformatics?
6
10/28/2010
What is bioinformatics?
name = CCSB Theme
description = Based on 960.gs, this theme was developed for the Center for Cancer Systems Biology at Vanderbilt
University.
screenshot = screenshot.png
core = 6.x
base theme = ninesixty
stylesheets[all][] = ccsb_theme.css
stylesheets[all][] = featuredcontentglider.css
regions[firstlinks] = First Links
regions[secondlinks] = Second Links
regions[footer] = Footer
regions[left] = Left
regions[right] = Right
regions[content] = Content
regions[account] = Account
regions[links] = Links
regions[pictures] = Pictures
regions[over_text] = Over-Text
regions[develp] = Development
regions[calendar] = Mini Calendar
regions[frontpagelinks] = Frontpage Links
regions[frontcontact] = Frontpage Contact
ccsb_theme.info
7
10/28/2010
What is bioinformatics?
8
10/28/2010
What is bioinformatics?
9
10/28/2010
menu
calendar
views
menu
site title, slogan, account
page
cck
What is bioinformatics?Rendering the front page slideshow
10
10/28/2010
CCK
ImageField
ImageCache
ImageAPI
What is bioinformatics?Rendering the front page slideshow
11
10/28/2010
• CCK
• ImageField
• ImageCache
• ImageAPI
<div id="secslides" style="margin-top: -40px;"><div class="vslides"></
<script type="text/javascript" language="javascript">
/* <![CDATA[ */
$('.vslides').wwfvslides([
<?php
$slides = '';
foreach ($images as $key=>$value) { $slides .= "{
'backgroundImage': '".$images[$key]."',
'headline': '".$headlines[$key]."',
'thumbnail': '".$thumbnails[$key]."',
'href': '".$links[$key]."' },"; }
print $slides;
?>
])
/* ]]> */
</script>
</div><!-- /secslides -->
// dimension images: main 650*311, thumbnail: 76*57
$nodes = array();
$result = db_query("SELECT nid FROM {node} WHERE type = '%s'", 'frontpage_image');
while($row = db_fetch_object($result)) { $nodes[] = node_load($row->nid); }
$images = array(); $headlines = array(); $thumbnails = array(); $links = array();
foreach ($nodes as $object) {
$imagepath = $object->field_fpi_image[0]['filepath'];
$image = 'files/ccsb/'.$object->field_fpi_image[0]['filename'].'-image.jpg';
$thumbnail = 'files/ccsb/'.$object->field_fpi_image[0]['filename'].'-thumbnail.jpg';
$imageapi = imageapi_image_open($imagepath);
imageapi_image_scale_and_crop($imageapi, '650', '311');
imageapi_image_close($imageapi, $image);
$width = '0'; $height = '0';
$imageapi = imageapi_image_open($imagepath);
$width = $imageapi->info['width'];
$height = $imageapi->info['height'] * 650 / $imageapi->info['width'];
imageapi_image_scale($imageapi, '650');
imageapi_image_crop($imageapi, '250', ($height/2), '76', '57');
imageapi_image_close($imageapi, $thumbnail);
$images[] = $image; $thumbnails[] = $thumbnail;
What is bioinformatics?Drupal theme engine
12
10/28/2010
page-front.tpl.php
page.tpl.php
What is bioinformatics?
13
10/28/2010
http://pratul.in/drupal-makes-me-hapi

More Related Content

What's hot

Coursera Getting and Cleaning Data 2014
Coursera Getting and Cleaning Data 2014Coursera Getting and Cleaning Data 2014
Coursera Getting and Cleaning Data 2014Maloy Manna, PMP®
 
Hoten mot Wikipedia av Lennart Guldbrandsson
Hoten mot Wikipedia av Lennart GuldbrandssonHoten mot Wikipedia av Lennart Guldbrandsson
Hoten mot Wikipedia av Lennart GuldbrandssonLennart Guldbrandsson
 
Mobile technology support for field research
Mobile technology support for field researchMobile technology support for field research
Mobile technology support for field researchWayne Johnston
 
A Strategy for Sharing Your Research: Make Your Work Open Access
A Strategy for Sharing Your Research: Make Your Work Open AccessA Strategy for Sharing Your Research: Make Your Work Open Access
A Strategy for Sharing Your Research: Make Your Work Open AccessSunghae Ress
 
Krewpanel Peter Slides D01
Krewpanel   Peter Slides D01Krewpanel   Peter Slides D01
Krewpanel Peter Slides D01Peter Murray
 
Evaluating Websites
Evaluating WebsitesEvaluating Websites
Evaluating WebsitesG Z
 
Creation, Transformation, Dissemination and Preservation: Advocating for Scho...
Creation, Transformation, Dissemination and Preservation: Advocating for Scho...Creation, Transformation, Dissemination and Preservation: Advocating for Scho...
Creation, Transformation, Dissemination and Preservation: Advocating for Scho...NASIG
 
Open Access Publishing - The Journal of Medical Internet Research
Open Access Publishing - The Journal of Medical Internet ResearchOpen Access Publishing - The Journal of Medical Internet Research
Open Access Publishing - The Journal of Medical Internet ResearchGunther Eysenbach
 

What's hot (9)

Coursera Getting and Cleaning Data 2014
Coursera Getting and Cleaning Data 2014Coursera Getting and Cleaning Data 2014
Coursera Getting and Cleaning Data 2014
 
Hoten mot Wikipedia av Lennart Guldbrandsson
Hoten mot Wikipedia av Lennart GuldbrandssonHoten mot Wikipedia av Lennart Guldbrandsson
Hoten mot Wikipedia av Lennart Guldbrandsson
 
Mobile technology support for field research
Mobile technology support for field researchMobile technology support for field research
Mobile technology support for field research
 
Medinfo Panel Vse
Medinfo Panel VseMedinfo Panel Vse
Medinfo Panel Vse
 
A Strategy for Sharing Your Research: Make Your Work Open Access
A Strategy for Sharing Your Research: Make Your Work Open AccessA Strategy for Sharing Your Research: Make Your Work Open Access
A Strategy for Sharing Your Research: Make Your Work Open Access
 
Krewpanel Peter Slides D01
Krewpanel   Peter Slides D01Krewpanel   Peter Slides D01
Krewpanel Peter Slides D01
 
Evaluating Websites
Evaluating WebsitesEvaluating Websites
Evaluating Websites
 
Creation, Transformation, Dissemination and Preservation: Advocating for Scho...
Creation, Transformation, Dissemination and Preservation: Advocating for Scho...Creation, Transformation, Dissemination and Preservation: Advocating for Scho...
Creation, Transformation, Dissemination and Preservation: Advocating for Scho...
 
Open Access Publishing - The Journal of Medical Internet Research
Open Access Publishing - The Journal of Medical Internet ResearchOpen Access Publishing - The Journal of Medical Internet Research
Open Access Publishing - The Journal of Medical Internet Research
 

Viewers also liked

Drupal Open Source Everything
Drupal Open Source EverythingDrupal Open Source Everything
Drupal Open Source Everythinglibrarywebchic
 
MIE Toolbox, a Case for Drupal as an Application Framework
MIE Toolbox, a Case for Drupal as an Application FrameworkMIE Toolbox, a Case for Drupal as an Application Framework
MIE Toolbox, a Case for Drupal as an Application FrameworkLev Tsypin
 
Andrew Hoppin, CIO, NY State Senate
Andrew Hoppin, CIO, NY State SenateAndrew Hoppin, CIO, NY State Senate
Andrew Hoppin, CIO, NY State SenateAcquia
 
Display suite - Drupal.cat
Display suite - Drupal.catDisplay suite - Drupal.cat
Display suite - Drupal.catAtenea tech
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipehernanibf
 
Presentación sobre Display Suite en el Drupal Day Valencia 2012
Presentación sobre Display Suite en el Drupal Day Valencia 2012Presentación sobre Display Suite en el Drupal Day Valencia 2012
Presentación sobre Display Suite en el Drupal Day Valencia 2012Atenea tech
 
Intro to drupal
Intro to drupalIntro to drupal
Intro to drupalhernanibf
 
Drupal at Vanderbilt: A Success Story
Drupal at Vanderbilt: A Success StoryDrupal at Vanderbilt: A Success Story
Drupal at Vanderbilt: A Success StoryKim Day
 
¿Qué es drupal?
¿Qué es drupal? ¿Qué es drupal?
¿Qué es drupal? Atenea tech
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 

Viewers also liked (12)

Drupal Open Source Everything
Drupal Open Source EverythingDrupal Open Source Everything
Drupal Open Source Everything
 
MIE Toolbox, a Case for Drupal as an Application Framework
MIE Toolbox, a Case for Drupal as an Application FrameworkMIE Toolbox, a Case for Drupal as an Application Framework
MIE Toolbox, a Case for Drupal as an Application Framework
 
Andrew Hoppin, CIO, NY State Senate
Andrew Hoppin, CIO, NY State SenateAndrew Hoppin, CIO, NY State Senate
Andrew Hoppin, CIO, NY State Senate
 
Display suite - Drupal.cat
Display suite - Drupal.catDisplay suite - Drupal.cat
Display suite - Drupal.cat
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipe
 
Presentación sobre Display Suite en el Drupal Day Valencia 2012
Presentación sobre Display Suite en el Drupal Day Valencia 2012Presentación sobre Display Suite en el Drupal Day Valencia 2012
Presentación sobre Display Suite en el Drupal Day Valencia 2012
 
Intro to drupal
Intro to drupalIntro to drupal
Intro to drupal
 
Drupal at Vanderbilt: A Success Story
Drupal at Vanderbilt: A Success StoryDrupal at Vanderbilt: A Success Story
Drupal at Vanderbilt: A Success Story
 
Drupal 7
Drupal 7Drupal 7
Drupal 7
 
¿Qué es drupal?
¿Qué es drupal? ¿Qué es drupal?
¿Qué es drupal?
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Similar to Adapting VU Drupal Template

A Global Commons for Scientific Data: Molecules and Wikidata
A Global Commons for Scientific Data: Molecules and WikidataA Global Commons for Scientific Data: Molecules and Wikidata
A Global Commons for Scientific Data: Molecules and Wikidatapetermurrayrust
 
MOST: exploring differences between versions of models in BioModels and in th...
MOST: exploring differences between versions of models in BioModels and in th...MOST: exploring differences between versions of models in BioModels and in th...
MOST: exploring differences between versions of models in BioModels and in th...Vasundra Touré
 
Software Pipelines: The Good, The Bad and The Ugly
Software Pipelines: The Good, The Bad and The UglySoftware Pipelines: The Good, The Bad and The Ugly
Software Pipelines: The Good, The Bad and The UglyJoão André Carriço
 
COMBINE standards & tools: Getting model management right
COMBINE standards & tools: Getting model management rightCOMBINE standards & tools: Getting model management right
COMBINE standards & tools: Getting model management rightUniversity Medicine Greifswald
 
Digital pathology and biobanks
Digital pathology and biobanksDigital pathology and biobanks
Digital pathology and biobanksYves Sucaet
 
Adding value to scientific results: COMBINE standards & guidelines for system...
Adding value to scientific results: COMBINE standards & guidelines for system...Adding value to scientific results: COMBINE standards & guidelines for system...
Adding value to scientific results: COMBINE standards & guidelines for system...University Medicine Greifswald
 
Informatics Principles of Modern Institutional Bio-banking: The Road Ahead
Informatics Principles of Modern Institutional Bio-banking: The Road AheadInformatics Principles of Modern Institutional Bio-banking: The Road Ahead
Informatics Principles of Modern Institutional Bio-banking: The Road AheadMike Hogarth, MD, FACMI, FACP
 
VCO Simulation with Cadence Spectre
VCO Simulation with Cadence SpectreVCO Simulation with Cadence Spectre
VCO Simulation with Cadence SpectreHoopeer Hoopeer
 
Acting as Advocate? Seven steps for libraries in the data decade
Acting as Advocate? Seven steps for libraries in the data decadeActing as Advocate? Seven steps for libraries in the data decade
Acting as Advocate? Seven steps for libraries in the data decadeLizLyon
 
Model repositories and standard formats for model reusability
Model repositories and standard formats for model reusabilityModel repositories and standard formats for model reusability
Model repositories and standard formats for model reusabilityUniversity Medicine Greifswald
 
QR Codes and Augmented Reality Help Libraries Extend Services
QR Codes and Augmented Reality Help LibrariesExtend Services QR Codes and Augmented Reality Help LibrariesExtend Services
QR Codes and Augmented Reality Help Libraries Extend Services Rachel Vacek
 
Bw dave pattern lidp
Bw dave pattern lidpBw dave pattern lidp
Bw dave pattern lidpgregynog
 
2016 ACS Semantic Approaches for Biochemical Knowledge Discovery
2016 ACS Semantic Approaches for Biochemical Knowledge Discovery2016 ACS Semantic Approaches for Biochemical Knowledge Discovery
2016 ACS Semantic Approaches for Biochemical Knowledge DiscoveryMichel Dumontier
 
2010 10 07 Octane Ofi Presentation
2010 10 07 Octane Ofi Presentation2010 10 07 Octane Ofi Presentation
2010 10 07 Octane Ofi Presentationblainemurakami
 
Wish you were here before!
Wish you were here before!Wish you were here before!
Wish you were here before!David King
 
Welcome to IWMW 2010
Welcome to IWMW 2010Welcome to IWMW 2010
Welcome to IWMW 2010lisbk
 

Similar to Adapting VU Drupal Template (20)

A Global Commons for Scientific Data: Molecules and Wikidata
A Global Commons for Scientific Data: Molecules and WikidataA Global Commons for Scientific Data: Molecules and Wikidata
A Global Commons for Scientific Data: Molecules and Wikidata
 
MOST: exploring differences between versions of models in BioModels and in th...
MOST: exploring differences between versions of models in BioModels and in th...MOST: exploring differences between versions of models in BioModels and in th...
MOST: exploring differences between versions of models in BioModels and in th...
 
Software Pipelines: The Good, The Bad and The Ugly
Software Pipelines: The Good, The Bad and The UglySoftware Pipelines: The Good, The Bad and The Ugly
Software Pipelines: The Good, The Bad and The Ugly
 
Data and model management in Systems Biology
Data and model management in Systems BiologyData and model management in Systems Biology
Data and model management in Systems Biology
 
COMBINE standards & tools: Getting model management right
COMBINE standards & tools: Getting model management rightCOMBINE standards & tools: Getting model management right
COMBINE standards & tools: Getting model management right
 
Digital pathology and biobanks
Digital pathology and biobanksDigital pathology and biobanks
Digital pathology and biobanks
 
Adding value to scientific results: COMBINE standards & guidelines for system...
Adding value to scientific results: COMBINE standards & guidelines for system...Adding value to scientific results: COMBINE standards & guidelines for system...
Adding value to scientific results: COMBINE standards & guidelines for system...
 
Informatics Principles of Modern Institutional Bio-banking: The Road Ahead
Informatics Principles of Modern Institutional Bio-banking: The Road AheadInformatics Principles of Modern Institutional Bio-banking: The Road Ahead
Informatics Principles of Modern Institutional Bio-banking: The Road Ahead
 
VCO Simulation with Cadence Spectre
VCO Simulation with Cadence SpectreVCO Simulation with Cadence Spectre
VCO Simulation with Cadence Spectre
 
Bioinformatics on internet
Bioinformatics on internetBioinformatics on internet
Bioinformatics on internet
 
Acting as Advocate? Seven steps for libraries in the data decade
Acting as Advocate? Seven steps for libraries in the data decadeActing as Advocate? Seven steps for libraries in the data decade
Acting as Advocate? Seven steps for libraries in the data decade
 
Model repositories and standard formats for model reusability
Model repositories and standard formats for model reusabilityModel repositories and standard formats for model reusability
Model repositories and standard formats for model reusability
 
QR Codes and Augmented Reality Help Libraries Extend Services
QR Codes and Augmented Reality Help LibrariesExtend Services QR Codes and Augmented Reality Help LibrariesExtend Services
QR Codes and Augmented Reality Help Libraries Extend Services
 
Bw dave pattern lidp
Bw dave pattern lidpBw dave pattern lidp
Bw dave pattern lidp
 
'A PAL's Life' for OMII-UK Board, May 2008
'A PAL's Life' for OMII-UK Board, May 2008'A PAL's Life' for OMII-UK Board, May 2008
'A PAL's Life' for OMII-UK Board, May 2008
 
Cancer uk 2015_module1_ouellette_ver02
Cancer uk 2015_module1_ouellette_ver02Cancer uk 2015_module1_ouellette_ver02
Cancer uk 2015_module1_ouellette_ver02
 
2016 ACS Semantic Approaches for Biochemical Knowledge Discovery
2016 ACS Semantic Approaches for Biochemical Knowledge Discovery2016 ACS Semantic Approaches for Biochemical Knowledge Discovery
2016 ACS Semantic Approaches for Biochemical Knowledge Discovery
 
2010 10 07 Octane Ofi Presentation
2010 10 07 Octane Ofi Presentation2010 10 07 Octane Ofi Presentation
2010 10 07 Octane Ofi Presentation
 
Wish you were here before!
Wish you were here before!Wish you were here before!
Wish you were here before!
 
Welcome to IWMW 2010
Welcome to IWMW 2010Welcome to IWMW 2010
Welcome to IWMW 2010
 

Recently uploaded

Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 

Recently uploaded (20)

Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 

Adapting VU Drupal Template

  • 1. What is bioinformatics? Adapting the VU template to Drupal: the CCSB@V. Jerome Jourquin, PhD MS Quaranta Lab Center for Cancer Systems Biology at Vanderbilt Department of Cancer Biology jerome.jourquin@vanderbilt.edu
  • 2. What is bioinformatics?Why Drupal? 2 10/28/2010 2006 2007 2008 2009 2010 http://vicbc.vanderbilt.edu/ccsb “Collaborative website” Center for Cancer Systems Biology at Vanderbilt (CCSB@V) Vanderbilt Integrative Cancer Biology Center (VICBC) Quaranta Lab iTumor Protein Expression User’s Club
  • 3. What is bioinformatics?The task at hands 3 10/28/2010 http://www.vanderbilt.edu/publicaffairs/webcomm/2010/05/vanderbilt-brand-bar/ http://www.vanderbilt.edu/publicaffairs/webcomm/2010/05/simple-template-files-released/
  • 4. What is bioinformatics?Drupal theme engine 4 10/28/2010 http://drupal.org/node/171194
  • 7. What is bioinformatics? name = CCSB Theme description = Based on 960.gs, this theme was developed for the Center for Cancer Systems Biology at Vanderbilt University. screenshot = screenshot.png core = 6.x base theme = ninesixty stylesheets[all][] = ccsb_theme.css stylesheets[all][] = featuredcontentglider.css regions[firstlinks] = First Links regions[secondlinks] = Second Links regions[footer] = Footer regions[left] = Left regions[right] = Right regions[content] = Content regions[account] = Account regions[links] = Links regions[pictures] = Pictures regions[over_text] = Over-Text regions[develp] = Development regions[calendar] = Mini Calendar regions[frontpagelinks] = Frontpage Links regions[frontcontact] = Frontpage Contact ccsb_theme.info 7 10/28/2010
  • 10. What is bioinformatics?Rendering the front page slideshow 10 10/28/2010 CCK ImageField ImageCache ImageAPI
  • 11. What is bioinformatics?Rendering the front page slideshow 11 10/28/2010 • CCK • ImageField • ImageCache • ImageAPI <div id="secslides" style="margin-top: -40px;"><div class="vslides"></ <script type="text/javascript" language="javascript"> /* <![CDATA[ */ $('.vslides').wwfvslides([ <?php $slides = ''; foreach ($images as $key=>$value) { $slides .= "{ 'backgroundImage': '".$images[$key]."', 'headline': '".$headlines[$key]."', 'thumbnail': '".$thumbnails[$key]."', 'href': '".$links[$key]."' },"; } print $slides; ?> ]) /* ]]> */ </script> </div><!-- /secslides --> // dimension images: main 650*311, thumbnail: 76*57 $nodes = array(); $result = db_query("SELECT nid FROM {node} WHERE type = '%s'", 'frontpage_image'); while($row = db_fetch_object($result)) { $nodes[] = node_load($row->nid); } $images = array(); $headlines = array(); $thumbnails = array(); $links = array(); foreach ($nodes as $object) { $imagepath = $object->field_fpi_image[0]['filepath']; $image = 'files/ccsb/'.$object->field_fpi_image[0]['filename'].'-image.jpg'; $thumbnail = 'files/ccsb/'.$object->field_fpi_image[0]['filename'].'-thumbnail.jpg'; $imageapi = imageapi_image_open($imagepath); imageapi_image_scale_and_crop($imageapi, '650', '311'); imageapi_image_close($imageapi, $image); $width = '0'; $height = '0'; $imageapi = imageapi_image_open($imagepath); $width = $imageapi->info['width']; $height = $imageapi->info['height'] * 650 / $imageapi->info['width']; imageapi_image_scale($imageapi, '650'); imageapi_image_crop($imageapi, '250', ($height/2), '76', '57'); imageapi_image_close($imageapi, $thumbnail); $images[] = $image; $thumbnails[] = $thumbnail;
  • 12. What is bioinformatics?Drupal theme engine 12 10/28/2010 page-front.tpl.php page.tpl.php