Counter

Hello everyone.

I am a beginner in drupal and I would like to put a vissitor counter on my website. I've been searching for a good module but dont's know what to choose. What I want is that when someone comes to the website the person can see how many visitors the website had the same day, month and in total. If you know the module... Please contact me.

Kind regards

Getting used to Drupal Website?

Ok, I'm starting out with Drupal. I have seemingly installed it and updated it to 7.18 on a shared Hostgator account using FTP. There was a little problem requiring a php.ini but it now seems to be fixed.

My goal is to generate a club website to replace what they are using at Yahoo Groups. This means I want a nice forum, a club calendar, a photo section, a files section.

Implementing Google Custom Search

This post describes how you could implement Google custom search on your website. You could use one of the custom search modules out there, however creating your own module is a very good option as it means you can use the latest version of Google custom search, customise it exactly how you want it, and it is very easy to do.

I am describing this for Drupal 6, it is similar for Drupal 7 - see also comment on implementing this in Drupal 7 below.

Step 1 - set up your custom search code on Google

Go to http://www.google.co.uk/cse or a version of this page suitable for your region to set up a new search engine. Fill in the details for the site or sites you want to search. Choose one of the styles - for example the default style. You will be able to customise this a little - for example font colors of your results.

Now go to change the basics, you will now have a control panel listing on the left. We want to create a two page layout where the search box is on one page and the results are on another (so we can have a search box on every page of the site for example). Click save and get code. You will be asked for the url of the page where you want the search results to appear: for testing you can put your local test page (you will need to change this when you put the module mode on your production site).

How to add profile2 fields into user-profile.tpl.php?

Hi there,
After reading a lot about this, I simply can´t get my customized user-profile template to show anything I want.
It only show the profile picture and the username

I´m using an Omega subtheme.
I´ve copied and pasted the default user-profile.tpl.php file, deleted everything and added these two lines, hoping that one of them would work:

<?php
print drupal_render(field_view_field('profile2', $profile['main'], 'field_nombrecompleto1'));
print $field_profile_nombre_completo['value'];
?>

The second line refers to the original core profile field, and the first one refers to the imported field (I´ve imported using the migrate module in D6, before I´ve upgraded to D7).

None of the fields gets printed out.
I´ve added this at the top of the template:

<?php
print "<pre>";  
$vars = get_defined_vars();
print_r($vars);  
print "</pre>";
?>

And nothing happend. So I´ve added that code to the top of my page.tpl file, and it appeared the whole list of variables.
At the very top it prints:
[template_file] => sites/all/themes/liga/templates/page.tpl.php
And at some points it actually recognizes the (core profile) field:
[content] => Array
(
[content] => Array
(

Can longer see my website after installing a newer version of Drupal 7

Hello!

First I'm a novice in building website. Last year I built my first and only website with "Drupal 7.0". Like everybody else I worked hard at it and I was proud of what I've done.

Because I was fedup to see the security notices all the time, I installed "Drupal 7.18" and since I can't see my site anymore. I guess I shouldn't have done that.

Some Module for Social Bookmarking

I tried to make my own social bookmarking site. Which module to start to build the SB site using drupal? Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x