Drupal 6.x

proper permissions for default and settings.php

I set my file permissions in the format of "rwxr-xr-x" or 0777, etc. Once and for all, what should the permissions be for the "default" directory and the settings.php file after the installation is complete? Is it the same for D6 as for D7?
Thanks.
Rick

Drupal Commerce vs Ubercart

What is the best addon module for a web store Drupal Commerce or Ubercart.

User Profile Problem with Layout and Search

I have two questions"

1.) I have added the following fields to user profiles:
First Name
Last Name
Location
These appear at the end of the page when creating an account I would like them at the top of the page. Is it possible to do this?

2.) When I do a search it seems that the search is only looking at nodes and not the user profiles. Is there any way to setup the search to include user profiles (including the added fields above) as part of the default search instead of going into the advanced search (which doesn't appear to search the added fields in the profile)?

Thanks
gk

Template files

Assuming that:

  • view name = myfeed
  • current display = feed_1
  • display plugin = feed

Views RSS provides following template suggestions:

  • Style output (these are also listed in Theme: Information on admin view configuration page):
    • views-view-views-rss--myfeed--feed-1.tpl.php
    • views-view-views-rss--feed-1.tpl.php
    • views-view-views-rss--myfeed--feed.tpl.php
    • views-view-views-rss--feed.tpl.php
    • views-view-views-rss--myfeed.tpl.php
    • views-view-views-rss.tpl.php
  • "Row" output (Views RSS module does not use a row plugin, hence these suggestions are not listed in Theme: Information, although still can be used by copying original views-view-views-rss-fields.tpl.php file from theme subdirectory in module directory):
    • views-view-views-rss-fields--myfeed--feed-1.tpl.php
    • views-view-views-rss-fields--feed-1.tpl.php
    • views-view-views-rss-fields--myfeed--feed.tpl.php
    • views-view-views-rss-fields--feed.tpl.php
Read more

The best Facebook connect module

Hello,

I am a bit confused. What is the best most updated module for Facebook connect, i.e. login and registration with Facebook credentials. I have been using fbconnect (http://drupal.org/project/fbconnect), but after updating my drupal and facebook-php-sdk in does not work any longer and otherwise seems outdated.

Are there any alternatives?

Thanks in advance,
Daniel

Making an OG group private, using a custom php code action in Rules

Hello,

I want to make an OG group private by using a custom php code action in Rules, as I did not find an action for this purpose.
The table is og and the field is og_private, it has to be set to 1 for the group to be private.

Rules says the varialble $node_added_empresa is available.

This is the code I am trying with, unsuccessfully.

global $node_added_empresa;
$sql="UPDATE {og} SET `og_private` = '1' WHERE {og}.`nid` = "$node_added_empresa->nid";
$result = db_query($sql);

Please help.

Subscribe with RSS Syndicate content