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

Theming with views - functions in template.php are not recognized/working

Servus,

I am trying to theme my frontpage with template.php and the provided code from the themewizard in views module. It seems that the function (provided code from themewizard) in template.php except the region-function are not recognized or working. When I do some changes in views-list-FrontBlockLoesungen.tpl.php, nothing happens.

I think the error is in template.php. Maybe I forgott to add something between the two functions??

I also tryed to put the function phptemplate_views_view_list_FrontBlockLoesungen in a separate file and called it with "include ..." before the region-function in template.php - but it is still not working.

Somebody got an idea??

My template.php looks like this:

<?php
/** Define the regions **/
function berutheme_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content' => t('content'),
'header' => t('header'),
'footer' => t('footer'),
'contentleft' => t('content left'),
'contentright' => t('content right'),
'contentbottom' => t('content bottom'),
);
}

function phptemplate_views_view_list_FrontBlockLoesungen($view, $nodes, $type) {
$fields = _views_get_fields();

$taken = array();

// Set up the fields in nicely named chunks.
foreach ($view->field as $id => $field) {
$field_name = $field['field'];

TinyMCE - can't get drupalbreak to work no matter what I do

I am trying to use drupalbreak with TinyMCE, but the button just doesn't appear in the TinyMCE toolbar.

I have done the following as per drupalbreak/readme.txt:

1) copied the drupalbreak directory to the modules\tinymce\tinymce\jscripts\tiny_mce\plugins directory

2) added

$plugins['drupalbreak'] = array();
$plugins['drupalbreak']['theme_advanced_buttons3'] = array('drupalbreak', 'drupalpagebreak');

to the end of modules/tinymce/plugin_reg.php, just before the return statement

TinyMCE ar visible in "Create" but not in "Edit"

Hi all,

I've installed tinyMCE, the IMCE module, all work nice but I've a problem:

I can see the tinyMCE bars when I create new content (e.g. pages), but if I try to Edit it (Admin/Content, select a node or tag "Edit" in a node) the tinyMCE module seem to be disabled: no bars and no "Disable rich text" link are displayed.

Any ideas?

Thanks,

LuBli

CiviCRM -changing default location fields and hide Communication Prefs (Or, stupid questions about basic admin tasks!)

I've got CiviCRM installed, but it's baffling me a little. It's all working, but I can't work out how to make some simple changes to the defailt installation. Can anyone help?

I'd like to use the provided 'add contact' form, because the 'check for matching contact' button is handy. But I can't seem to change the list of fields displayed in that form.

how to work with drupal for beginners?

i am the beginner for drupal. i want to know how to practise with drupal.i am little bit confused while i seeing the drupal site. please explaining me. How to practise with drupal.

Want different CSS colours on different taxonomy pages

I'm one of the administrators of this site, which has four main vocabulatory terms in the top menu to categorise its content. We want the selected page (and maybe also the link to it) to be a different colour for each term. Can anyone think of a way of doing that?

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Post installation