Blogs,
videos, photo galleries, advanced content categorization, off-site
backups, form creation, e-commerce, domain names, multilingual
websites, copyright-free images. We have integrated the latest
open-source systems with several existing services into an easy-to-use,
easy-to-understand, affordable package.
You no longer need a team of geeks at your disposal for your website to shine.
Put a pager, make sure your items to display is not set to unlimited, and put this in your header or footer:
<?php
$view = views_get_current_view();
print $view->total_rows . ' ' . t('items in this category');
?>Here are some step-by-step instructions on how I upgrade modules from d6 to d7:
drush dl coder
drush dl grammar_parser
drush en coder_upgrade
put the latest 6.x version of the module into sites/default/files/coder_upgrade/old
go to admin/config/development/coder/upgrade
click the checkbox next to the name of the module you are upgrading to d7
click convert files
make sure there are no error messages
click on the module name
now you are looking at the patch
get the latest 6.x CVS version of the module into sites/all/modules
In my experience, there are several users who don't feel comfortable using the standard Drupal interface to create content on their website. I've noticed that this is the case with reforestation.net, I site I manage: even though I provide users with accounts and training, almost all users end up sending me their content (including images and text) via email, and I have to upload it myself to the Drupal site. The main reasons cited for not posting content to Drupal are: it's too complicated, connection too slow (especially in Africa and the Caribbean); and it does not work as expected.
You can combine Views bulk operations with your own code to make powerful actions which can be applied to several nodes at the time.
Here is some sample code to create an action:
/* describe your action(s) */
function mymodule_action_info() {
return array(
'mymodule_action_callback' => array(
'type' => 'node',
'description' => t('My action description.'),
'configurable' => FALSE,
)
);
}
function mymodule_action_callback(&$node, $context) {
Jus enter any domain here:
http://intodns.com/example.comAnd it will give you info about your nameservers.
Here are some practical commands for use with mac os x:
dscacheutil -flushcache
traceroute
nslookupI have a CCK field with an image on my page nodes. I want to display a block with the CCK field value on its related node, but nothing on non-pages.
This often works in the views preview, but not on the actual page. This was driving me nuts and I spent a few hours finding this solution:
Create view with
Many hosts restrict the number of inodes you can use on a VPS or shared account.
If you have shell access, the following commands are useful to determine how many inodes you are using:
ls -R /path/to/directory | /usr/bin/wccd /path/to/directory
for i in $(ls);do echo -n "`pwd`/$i: ";find $i -print|wc -l 2>/dev/null;doneUpdate May 3, 2010 -- Please see the first comment, below. Some of the hacks in this article are outdated. Please proceed carefully and report your results here!
Background: I was recently making a Drupal site where I needed (as is often the case) a visual text editor along with image- and file-upload capabilities. I tried using the wysiwyg module in conjunction FCKEditor 2.6.x, which is a good combination for that purpose.
Since this does not work out of the box, I followed the instructions here.
If you have a drupal site on a cPanel account, you can set up cron in cPanel. Here is how:
(1) Your site is, say, example.com
(2) Log into cPanel (example.com/cpanel)
(3) Go to cron jobs > standard
(4) Enter the following code in your cron:
/usr/bin/lynx -source http://example.com/cron.php(replace example.com with your actual website)
It's marvelous to be able to post content on the site and especially to be able to make many updates. It's all really a pleasure for me; I believe it's because the website is well thought-out... Thanks again for your advice. (Pascale Bironneau, atelierdecarole.com)
THAT's what I wanted... I did not even know... very happy and impressed up to now. WOW. (Élise Gravel, illustratrice. elisegravel.com)
After the tests, it is working and it's exactly the configuration that I wanted. (Marie-Louise, productionsqualia.com)
I even did more than you recommended. Soon I will become an important computer scientist. (Kouassi Bohui Melaire, reforestation.net)
You really are pros! (M.-H. Verville, monhebdo.ca)