Thursday, May 6, 2010
OJT .. may 5
1:48 AM | Posted by
i am bianx |
Edit Post
********
DATE: 06 May 2010
LOG IN: 10:20am
LOG OUT: 12:10nn
LOG IN: 12:30pm
LOG OUT: 05:00pm
TOTAL: 6hrs, 20mins
1. Finished watching Drupal Essential Training from Lynda.com
XV. Advanced Tips for PHP Programmers
Changing Templates
•Inside a template folder, you could find the page.tpl.php – a page template file, a mixture of PHP codes and HTML codes. You could modify this template though manual coding in a text editor; but be sure to back up this template file first.
•The node.tpl.php is a template file for the layout of the nodes or content type.
•Contemplate or Content Template is a module used for changing templates.
•To enable it, go to Administer > Site Building > Modules > enable the Contemplate module which requires CCK module > Save Configuration.
PHP Content
•Drupal allows PHP codes in its content.
•Turn on the PHP filter module, Administer > Site Building > Modules > enable PHP module > Save Configuration.
•Turn on also the Input format, Administer > Input Formats > PHP code choice > Configure > turn on the PHP evaluator > Save Configuration.
•Now you can use PHP codes in your content, but be careful with the codes you use.
PHP Snippet
•Small passage of PHP codes, called snippets, enables you to expand your site’s functionality without installing a whole module.
•You could get PHP Snippets in the drupal.org Documentations.
•Drupal.org Documentation provides the snippet codes and tips and instructions of how it would work.
•But before editing any files with the PHP snippet, be sure to back it up just in case the snippet won’t work.
XVI. Launching Your Drupal Site
Launch
•Tips to remember when launching your site
oReview the requirements or contact the Site Administrator for further information.
oCheck all the permissions, switch as a user to see how it interacts with a regular user.
oInvite friends to check your site, their comments and suggestions could help.
oMake sure that you have a back up of the site.
•Steps to move your site on a server
oBe sure that the all and default folders are not Read-only folders.
oExport the database on WAMP or XAMPP.
oAssure the security of your site, assume that people may abuse your site.
oIt is good to include a way that the users could send feedbacks about the site.
Join Drupal
•You could get involved with the Drupal community regardless of your capability.
•On the drupal.org page, click on the Contribute link.
•There you have several options on what you can contribute.
•Create an account to be a part of the Drupal community.
2. Customized the aquia_marina theme based on the color theme of searca.org. Made some modifications with the style.css, icon.css and images of the theme.
Labels:
may 5 na...
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment