Calendar module requires Date Module. Cool feature will be Calendar block which shows events entered as content.
Resources:
Date module
http://drupal.org/project/date
Views module
http://drupal.org/project/calendar
Experiences with Drupal, the opensource portal or content management system (CMS), its installation, troubleshooting issues, maintenance, modules, themes, and other personal experiences.
Amazon products on Content Management Systems and PHP-MySQL
Thursday, April 9, 2009
Tuesday, May 27, 2008
A fully automated, dynamic website without operator intervention
If only web maintenance could be this easy...
"Eureka! Science News just launched – it is a site dedicated to provide the very latest science news, but with a special twist – it is entirely automated! There is no human editor behind it - it finds relationships between news stories from all major science sites and regroups, categorizes, ranks, tags, finds related press releases and publishes them directly on the site. The result is an efficient overview of everything happening in science, right when it happens..."
The following details on how they built the site here: cool stuff!
"Eureka! Science News just launched – it is a site dedicated to provide the very latest science news, but with a special twist – it is entirely automated! There is no human editor behind it - it finds relationships between news stories from all major science sites and regroups, categorizes, ranks, tags, finds related press releases and publishes them directly on the site. The result is an efficient overview of everything happening in science, right when it happens..."
The following details on how they built the site here: cool stuff!
Google Analytics in Drupal
Been cracking my head in installing the Google Analytics script in my drupal sites. Have this drupal version 7 site, unfortunately the Google Analytics module available as of this writing is for versions 5 and up only. A dilemma for dynamic sites... Tried posting the script in the following as advised in www.drupal.org forum threads: template pages (page.tpl.php), index and incluldes, etc.
However, I think the best method that work for a test site is perhaps creating a block and publishing the google analytics script in there. To best have accurate analysis reports, publish analytics block accordingly, e.g. excluding the /node/edit* pages or /admin* pages. This way only anonymous visits are logged and recorded. On the other hand, reverse the publishing to determine administrative behaviors. Neat! Worked like a charm!
P.S.
Generated reports didn't come until after 24 hours... or a disclaimer from google that due to technical problems it may not generate some reports at all, somethin' like that... the adage, patience is a virtue... indeed!
However, I think the best method that work for a test site is perhaps creating a block and publishing the google analytics script in there. To best have accurate analysis reports, publish analytics block accordingly, e.g. excluding the /node/edit* pages or /admin* pages. This way only anonymous visits are logged and recorded. On the other hand, reverse the publishing to determine administrative behaviors. Neat! Worked like a charm!
P.S.
Generated reports didn't come until after 24 hours... or a disclaimer from google that due to technical problems it may not generate some reports at all, somethin' like that... the adage, patience is a virtue... indeed!
Wednesday, May 7, 2008
Need to install Apache, MySQL, and PHP (Linux, Mac OC, Solaris or Windows)?
I was reminded of a friend who asked me the other day about installing a CMS package, as well as installation of Apache to his server... Thus, this article... He was asking for feedback on manually installing each application needed: Apache web server app, mysql and php... Manually installing each package separately may be the best, effective way. However, personally, I have had no problem in installing the three in a bundled package like most LAMP packages offer... Besides, I tried the manual installs and found it to be a tedious process... Personally tested XAMPP, a very easy to install Apache Distribution for Linux, Solaris, Windows and Mac OS X. The package also includes the Apache web server, MySQL, PHP, Perl, a FTP server and phpMyAdmin.
Download XAMPP and other add-ons at these links (for Linux, Mac OC, Solaris or Windows):
Download XAMPP and other add-ons at these links (for Linux, Mac OC, Solaris or Windows):
- Apache Friends.Org: XAMPP Official Developers' Site
- Sourceforge.Net
Simply download, extract, then enjoy! And by the way, it's free!
Tuesday, April 29, 2008
New or recent content not updated (and not searcheable) after publishing (drupal reindexing)
Perhaps the most basic questions asked by newbies might be on why after editing content, and after publishing, edited and recent contents are not updated. Or, why pages or stories are not searcheable after having been created or edited.
Recent versions of Drupal may not encounter these anymore, however just in case, this is simply a matter of reindexing your site. The ff. may be checked:
- within drupal's administer page: administer > search > reindex your site, or check desired / appropriate settings
- check out and download poormanscron module, a croning (reindexing) module for drupal with userfriendly settings page (administer > modules > poorman's cron)
- lastly, the fastest and most basic drupal re-indexing in the frontend (layman's: using the web browser directly): append to your site's url this... /cron.php (this will start the script in cron.php reloading the database content on the frontend)... e.g www.sitename/cron.php
Recent versions of Drupal may not encounter these anymore, however just in case, this is simply a matter of reindexing your site. The ff. may be checked:
- within drupal's administer page: administer > search > reindex your site, or check desired / appropriate settings
- check out and download poormanscron module, a croning (reindexing) module for drupal with userfriendly settings page (administer > modules > poorman's cron)
- lastly, the fastest and most basic drupal re-indexing in the frontend (layman's: using the web browser directly): append to your site's url this... /cron.php (this will start the script in cron.php reloading the database content on the frontend)... e.g www.sitename/cron.php
Monday, April 21, 2008
Forgot your admin password in Drupal, Joomla, or any other php run cms with mysql database (with management in phpmyadmin)?
Forgot your password in Joomla, Drupal, or any other php run cms with mysql database (with management in phpmyadmin)?
In the event you forget your administrator password or passwords in in Joomla, Drupal, mediawiki, coppermine, etc. (or any opensource php-driven cms with mysql database manageable in phpmyadmin for that matter), a workaround is fortunately available. For newbies, forgetting one's administrator user account's password the only solution will have to be re-installing the entire cms from scratch thus re-creating an administrator account in the process. A solution is as follows:
- Go to site/phpmyadmin (login, of course assuming you have the necessary rights to the database/s)- Browse for the database, then the table (in the case of Joomla, Drupal, etc. this is commoonly the table 'users') intended to be edited
- click edit user, then under the 'Function' column (dropdown list) choose MD5, edit the 'Value' or your password (you will initially see the encrypted version of your original password), then type in the desired, new password of your choice
- Lastly, don't ever forget your password again, silly! :D
Thanks to pete avila and michael perido for the tip! cool guys from the pacific rim, philippines :p...
In the event you forget your administrator password or passwords in in Joomla, Drupal, mediawiki, coppermine, etc. (or any opensource php-driven cms with mysql database manageable in phpmyadmin for that matter), a workaround is fortunately available. For newbies, forgetting one's administrator user account's password the only solution will have to be re-installing the entire cms from scratch thus re-creating an administrator account in the process. A solution is as follows:
- Go to site/phpmyadmin (login, of course assuming you have the necessary rights to the database/s)- Browse for the database, then the table (in the case of Joomla, Drupal, etc. this is commoonly the table 'users') intended to be edited
- click edit user, then under the 'Function' column (dropdown list) choose MD5, edit the 'Value' or your password (you will initially see the encrypted version of your original password), then type in the desired, new password of your choice
- Lastly, don't ever forget your password again, silly! :D
Thanks to pete avila and michael perido for the tip! cool guys from the pacific rim, philippines :p...
Wednesday, April 9, 2008
What is TCPDF - PDF class for PHP?
Below is a followup article to pdf module employed in drupal.
What is TCPDF - PDF class for PHP?
TCPDF is a PHP 5 class for generating PDF files on-the-fly without requiring external extensions. TCPDF is an extension and improvement of the FPDF class (www.fpdf.org). Supports UTF-8, Unicode, HTML and XHTML.
With regards to drupal it is a third party apps for php used in pdfview module which enables a pdf view or download as pdf option for nodes or pages. Simply extract the folder where the readme files instructs you to. Warning though, read a few forum on installation issues... reading the readme and install files thoroughly is a must! :D
Download TCPDF here:
for php 4:
http://sourceforge.net/project/showfiles.php?group_id=128076&package_id=140231&release_id=577068
for php5:
http://sourceforge.net/project/showfiles.php?group_id=128076&package_id=140403&release_id=577072
What is TCPDF - PDF class for PHP?
TCPDF is a PHP 5 class for generating PDF files on-the-fly without requiring external extensions. TCPDF is an extension and improvement of the FPDF class (www.fpdf.org). Supports UTF-8, Unicode, HTML and XHTML.
With regards to drupal it is a third party apps for php used in pdfview module which enables a pdf view or download as pdf option for nodes or pages. Simply extract the folder where the readme files instructs you to. Warning though, read a few forum on installation issues... reading the readme and install files thoroughly is a must! :D
Download TCPDF here:
for php 4:
http://sourceforge.net/project/showfiles.php?group_id=128076&package_id=140231&release_id=577068
for php5:
http://sourceforge.net/project/showfiles.php?group_id=128076&package_id=140403&release_id=577072
Labels:
drupal modules,
modules,
pdf,
pdfview module,
portable data format
Subscribe to:
Posts (Atom)