Read Here
Showing posts with label questions. Show all posts
Showing posts with label questions. Show all posts
Thursday, July 3, 2014
Monday, June 30, 2014
Sunday, June 29, 2014
107. What is a sub theme in Drupal ?
Sub-themes are just like any other theme, with one difference: They
inherit the parent theme's resources. There are no limits on the chaining
capabilities connecting sub-themes to their parents. A sub-theme can be a child
of another sub-theme, and it can be branched and organized however you see fit.
This is what gives sub-themes great potential.
Wednesday, June 25, 2014
Tuesday, June 24, 2014
104. What is entity api module ?
The entity api module extends the entity API of Drupal core in order to
provide a unified way to deal with entities and their properties. Additionally,
it provides an entity CRUD controller, which helps simplifying the creation of
new entity types.
Read More here https://www.drupal.org/project/entity
Monday, June 23, 2014
103. What are the system requirements for drupal 7 and drupal 8 ?
Drupal 7
- Database: MySQL 5.0.15 or
PostgreSQL 8.3
- PHP Version 5.2 or higher
- PHP Memory: 40M - 64M
Drupal 8
Friday, April 25, 2014
Drupal Job Interview Questions and Answers ( a set of 50 questions, q52-q101)
- 101. What hardware does Drupal.org run on?
- 100. Drupal and Working with JavaScript
- 99. Why does Drupal need a database? What database...
- 98. How to create a static archive of a Drupal web...
- 97. Programming best practices and CMS(drupal) bes...
- 96. what are Drupal Distributions and Drupal inst...
- 95. Drupal coding standards
- 94. Drupal 8 classes and interfaces
- 93. Explain drupal advanced search
- 92. Drupal 8 , Changelog.txt - What's new in Drupa...
- 91. Drupal Negatives and explanation on Usability,...
- 90. Explain Drupal Architecture
- 89. Drupal Version release dates
- 88. Drupal at a glance
- 87. Why you shouldn't modify core drupal files ?
- 86. Explain hardcoding in drupal ?
- 85. Explain Theming in Drupal 8 ?
- 84. Steps for launching a drupal site ?
- 83. Explain drupal administration
- 82. How to configure .htaccess to ignore specific ...
- 81. What are the steps for migrating drupal websit...
- 80. How to install and configure drupal 8 ?
- 79. How to Install Drupal ?
- 78. What are alpha, beta releases and release cand...
- 77. What do version numbers in drupal mean?
- 76. Explain Backward Compatibility in Drupal ?
- 75. Explain Security features of Drupal ?
- 74. What are Entity types in drupal ?
- 73. What is Bootstrap in drupal ?
- 72. What is drupal weight ?
- 71. What is triage ?
- 70. What is drupal trigger ?
- 69. What is theme and theme engine in drupal ?
- 68. What is teaser in drupal ?
- 67. What is render array in drupal ?
- 66. What is drupal region ?
- 65. What is permission in drupal ?
- 64. What is Git in drupal ?
- 63. What is DrupalCon and Druplicon ?
- 62. What is cron in drupal ?
- 61. What is critical path ?
- 60. What is clean URL in Drupal ?
- 59. What is Drupal child ?
- 58. What is drupal cache ?
- 57. What are breadcrumbs ?
- 56. What is an argument in drupal ?
- 55. What is a Base Theme in Drupal ?
- 54. What is drupal panels ?
- 53. What is drupal 8 ?
- 52. How do you convert PSD to drupal theme ?
101. What hardware does Drupal.org run on?
People
often wonder what kind of hardware drupal.org runs on. Throughout the project
history this has been a tough question. For a while it was a server in a random
office building. That server eventually died and required a fund-raising effort
to replace (the funds were raised in 24 hours!).
The critical infrastructure is all configured to share the load
and be redundant. For example, db1 and db2 are configured to be master-slave
most of the time to provide for better performance and allow the slave to be
promoted to master if the master fails.
Read More here https://drupal.org/node/1280436
100. Drupal and Working with JavaScript
Drupal provides methods for
implementing JavaScript. Using these methods will help to keep your code clean
and to ensure compatibility with the way other modules implement JavaScript.
A couple of simple principles guide
Drupal's JavaScript approach:
· All pages should be perfectly
functional without scripts. JavaScript provides alternatives or supplements -
not replacements - for standard elements.
·
No JavaScript is hard-coded into
pages. Rather, actions are attached dynamically to page elements--and only if
the needed JavaScript support is present.
Read more here https://drupal.org/node/121997
99. Why does Drupal need a database? What databases are supported?
Drupal stores its
information - the individual pages, the registered users, and so on - in the
database. The database forms the
back-end for your Drupal site. At this time, Drupal supports MySQL (or
an equivalent such as MariaDB), PostgreSQL, and in Drupal 7, SQLite.Monday, April 21, 2014
Saturday, April 19, 2014
74. What are Entity types in drupal ?
An entity type is a useful abstraction to group
together fields. Entity types are used to store and display data, which can be
nodes (content), comments, taxonomy terms, user profiles, or something custom
developed.
Read
more about Entities in the Entity API documentation.
71. What is triage ?
A new bug or
issue is assigned a priority based on its severity, frequency, risk and other
predetermined factors, borrowed from medical term triage.
68. What is teaser in drupal ?
A short introductory sentence or paragraph about a
piece of content that informs readers about the subject of the content. By
default, the first paragraph or two of the content is used (there is a setting
for how much), usually with a link to the complete node.
Wednesday, April 16, 2014
67. What is render array in drupal ?
Render arrays are
the basic building blocks of Drupal content. In Drupal 7, render arrays provide
a structured way to programmatically alter content before it is displayed.
Further details can be read on the Render
Arrays documentation page.
Sunday, February 14, 2010
25. How to post videos from mobile to Drupal website ?
Posting video from mobile phone to drupal website via email requests from user to configure a mobile phone with smtp settings and reasonable Internet connection (3g). Costs depends from your mobile phone provider: at some networks you pay only for transfer volume, at others you might pay for "event" of establishing connection.
On server side you will probably need to setup smtp server and provide access to it to users of your website. Transcoding of posted video employs ffmpeg, its standard software on proper hosting server.
Process Overview
1. Email with video attachment from mobile phone is sent to a defined mailbox
2. Drupal website downloads Mail on cron (mailhandler module)
3. Emails are turned into nodes with videos as attachments
4. Media Mover runs on cron, trans-coding mobile video formats and creating thumbnails
5. Transcoded flash video files are added to cck file field
6. Thumbnail added to file field
7. Nodes are themed using swftools to display video using "JWplayer"
Modules used
• Mailhandler
• Mailssave
• Mediamover
• SWFTools
• FFMPEG_wrapper
• cck
• filefield
• imagefield
On server side you will probably need to setup smtp server and provide access to it to users of your website. Transcoding of posted video employs ffmpeg, its standard software on proper hosting server.
Process Overview
1. Email with video attachment from mobile phone is sent to a defined mailbox
2. Drupal website downloads Mail on cron (mailhandler module)
3. Emails are turned into nodes with videos as attachments
4. Media Mover runs on cron, trans-coding mobile video formats and creating thumbnails
5. Transcoded flash video files are added to cck file field
6. Thumbnail added to file field
7. Nodes are themed using swftools to display video using "JWplayer"
Modules used
• Mailhandler
• Mailssave
• Mediamover
• SWFTools
• FFMPEG_wrapper
• cck
• filefield
• imagefield
Wednesday, February 10, 2010
21. How To Define New Regions in Drupal
To add regions for Drupal 5.x
ADD this code in its entirety to the bottom of your template.php file:
/** Define the regions **/
function framework_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content' => t('content'),
'header' => t('header'),
'footer' => t('footer'),
'newregion' => t('new region'),
);
}
Replace "newregion" with what you would like to call that region instead. Note that the name on the left before the = is the machine readable format, and cannot have spaces. the name after the = is the human readable format, and can have spaces, capital letters etc. You may add as many regions as you like in the same manner that "newregion" has been added in the example above.
Then, in your page.tpl.php file, define where you would like you regions to be using a print call like so:
You need to replace "newregion" with what you named your region. The id, class and any other html can be changed to anything.
To add regions for Drupal 6.x
ADD the following code to you themename.info file:
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer
regions[newregion] = New Region
The internal "machine" readable name in square brackets and the human readable name as the value, e.g., regions[theRegion] = The region label.
The contents of the .info file is cached in the database so altering it will not be noticed by Drupal. To clear it, do ONE of the following:
1. Clear button located at "Administer > Site configuration > Performance".
2. With devel block enabled (comes with devel module), click the "Empty cache" link.
3. Simply visit the theme select page at "Administer > Site building > Themes".
Then, in your page.tpl.php file, define where you would like you regions to be using a print call like so:
You need to replace "newregion" with what you named your region. The id, class and any other html can be changed to anything.
ADD this code in its entirety to the bottom of your template.php file:
/** Define the regions **/
function framework_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content' => t('content'),
'header' => t('header'),
'footer' => t('footer'),
'newregion' => t('new region'),
);
}
Replace "newregion" with what you would like to call that region instead. Note that the name on the left before the = is the machine readable format, and cannot have spaces. the name after the = is the human readable format, and can have spaces, capital letters etc. You may add as many regions as you like in the same manner that "newregion" has been added in the example above.
Then, in your page.tpl.php file, define where you would like you regions to be using a print call like so:
You need to replace "newregion" with what you named your region. The id, class and any other html can be changed to anything.
To add regions for Drupal 6.x
ADD the following code to you themename.info file:
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer
regions[newregion] = New Region
The internal "machine" readable name in square brackets and the human readable name as the value, e.g., regions[theRegion] = The region label.
The contents of the .info file is cached in the database so altering it will not be noticed by Drupal. To clear it, do ONE of the following:
1. Clear button located at "Administer > Site configuration > Performance".
2. With devel block enabled (comes with devel module), click the "Empty cache" link.
3. Simply visit the theme select page at "Administer > Site building > Themes".
Then, in your page.tpl.php file, define where you would like you regions to be using a print call like so:
You need to replace "newregion" with what you named your region. The id, class and any other html can be changed to anything.
Saturday, February 6, 2010
18 . How database system of drupal works ?
Drupal stores information in a database; each type of information has its own database table. For instance, the basic information about the nodes of your site are stored in the Node table, and if you use the CCK module to add fields to your nodes, the field information is stored in separate tables. Comments and Users also have their own database tables, and roles, permissions, and other settings are also stored in database tables.
13. What is a Module in drupal ?
13. What is a Module in drupal ?
A module is software (code) that extends Drupal features and/or functionality. Core modules are those included with the main download of Drupal, and you can turn on their functionality without installing additional software. Contributed modules are downloaded from the Modules download section of drupal.org, and installed within your Drupal installation. You can also create your own modules; this requires a thorough understanding of Drupal, PHP programming, and Drupal's module API.
Video Answer
http://drupal-videos.blogspot.com/2014/06/drupal-video-what-is-module-in-drupal.html
A module is software (code) that extends Drupal features and/or functionality. Core modules are those included with the main download of Drupal, and you can turn on their functionality without installing additional software. Contributed modules are downloaded from the Modules download section of drupal.org, and installed within your Drupal installation. You can also create your own modules; this requires a thorough understanding of Drupal, PHP programming, and Drupal's module API.
Video Answer
http://drupal-videos.blogspot.com/2014/06/drupal-video-what-is-module-in-drupal.html
Subscribe to:
Posts (Atom)