Drupal is up and running but how do I ...?

google webmaster tools - verify by obscure html using path_redirect module

Thought this was a neat tip to share (and open the door for criticism if anyone discovers holes).

Google Web Master Tools has a host of free, cool tools for webmasters, but in order to kick it off, you have to verify site ownership by one of a few methods. I chose to do the html file verification.

DROP DOWN MENU doesnt work /// Please help im new

Hi,

I created an menu with the menutool integrated in the admnistration tool, really easy to create a menu with parent and children.
But when i click on a parent menubutton, the childrenbuttons don't appear. If you click on administrator you'll see all of the options. When you click on my created button nothing happens no children appears.
Really frustrating. Does somebody know an(the) solution.

When i click op view => source, there seems to be no difference with my menu and the original. When the box expanded is on, the children do appear.

How can i see the View's SQL

i have writen this view :
<?php
function diary_views_tables() {

$tables["rc_og"] = array(
'name' => 'rc_og',
'join'=>array(
'left'=>array(
'table'=>'node',
'field'=>'nid'
),
'right' => array(
'field' => 'og_nid'
)
),
'fields'=>array(
'img_nid'=>array(
'name'=>'Picture Path',
'handler'=>'diary_views_handler_field_imgNode',
'sortable'=>false
),
'title'=>array(
'name'=>'GroupTitle',
'handler'=>'diary_views_handler_field_Title',
'sortable'=>false
),
'changed'=>array(
'name'=>'date changed',
'handler'=>'diary_views_handler_field_Date',
'sortable'=>false
),
)
);
$tables["rc_og"] = $table;

return $tables;
}

function diary_views_default_views(){
$view = new stdClass();
$view->name = 'Fan_Group_API';
$view->description = 'Shows the FAN_Group Related to Taxonomy.made by Edy';
$view->access = array (
);
$view->view_args_php = '';
$view->sort = array (
);
$view->argument = array (
);
$view->field = array (
array (
'tablename' => 'n',
'field' => 'title',
'label' => 'Group Title',
),
array (
'tablename' => 'n',
'field' => 'type',
'label' => 'type',
),
array (
'tablename' => 'n',
'field' => 'changed',

Block title translation with localizer?

I've installed + actived the localizer module
-> menu items translated to German = OK

but what about the block titels? I've got a "Locale" in the block configuration, which ties the block to the selected language
case locale = English -> the block is only visible if English is selected
case locale = German -> the blockl is only visible if Germanis selected
case locale = Any -> shows the block in both cases, but I cannot translate the title
or at least I don't know how

Any ideas?

How can I display information from the database?

What I want to do
Display a chunk of information acquired from the database. The SQL query to extract the information is complicated. Ie: I want to join tables and do other things etc that Views doesn't handle without extra stuff.
How I can do it now
I could do it by writing my own module and just outputting the list in the mymodule_block() function.
How I think I should do it
I thought it would be better if I could feed my newly created table to the Views module, and let it display it. I figure the information on http://drupal.org/node/99564 should help, but I don't understand where the php code described fits in: How do I tell example_views_tables() what table to join with? How do I later use this View? will it show up in the administrator's section of the site only if I add it as a default view?
What I'll want to do later
There are quite a few different SQL queries I'll be using. Eventually I'll want to provide several tables for the Views module to use. Each one from a different query. I might make a node type to hold my queries, so they can be edited by the administrator. This might be a useful module for other people.

Question

Does Ping work with scheduled publishing?

Hi,

when I create a node that is set to be published later, e.g. Feb.1, will the ping module then send a ping at that publishing date?

Or is the ping sent when the node is created? Or is it not sent at all when using scheduled publishing?

Thanks,
Ralf

Pages

Subscribe with RSS Subscribe to RSS - Post installation