This forum is for less technical discussions about the Drupal project, not for support questions.

Drupal Development Tools

I am developing a website for a couple of sports leagues and have decided to use drupal for the content management.

I have concluded that I am going to need to develop several modules to meet my requirements (scoring / standings). Are there any tools out there for development that people use that integrate with the drupal / API, or is everyone writing out PHP and testing against the server?

A test of your Drupal skills

Okay, I wanted to do a translation of a string but could not find it. The reason is that for the search would not pick it up because it is nested in another string.


function theme_more_help_link($url) {
  return '<div class="more-help-link">' . t('[<a href="%link">more help...</a>]', array('%link' => $url)) . '</div>';
}

I wanted to translate "more help...". But it is inside of the link code. It should be like this right?


function theme_more_help_link($url) {
  return '<div class="more-help-link">' . '[<a href="%link">'.t(more help...).'</a>]', array('%link' => $url)) . '</div>';
}

But out of curiosity I thought I would just remove the links entirely and make my own. Surprise! could not! They still appear not matter what I do! I grepped the entire directory for calls to the theme function and found only one. It does not seem to match.

<?php
function menu_get_active_help() {
$path = $_GET['q'];
$output = '';

if (!_menu_item_is_accessible(menu_get_active_item())) {
// Don't return help text for areas the user cannot access.
return;
}

foreach (module_list() as $name) {
if (module_hook($name, 'help')) {
if ($temp = module_invoke($name, 'help', $path)) {
$output .= $temp . "\n";
}
if (module_hook('help', 'page')) {
if (substr($path, 0, 6) == "admin/") {
if (module_invoke($name, 'help', 'admin/help#' . substr($path, 6))) {

QUestion on setting multilingual website

I plan to set up a website based on UTF-8 in both CHinese and English, and I am considerig using Drupal. Before I begin this, I hope to get some clear ideas about the multi-lingual function of Drupal.

I will provide an article in two scripts, one in English and another in CHinese. I am wandering whether Drupal can treat them together as one content.

In more detail, for example, when the article is displayed in English by default, and if the visitor click a language switch "Chinese" button, the drupal will automatically display the Chinese input of this article.

DOUBT: Adding builtin code in a theme Can u answer this?

hi
i m using blue marine theme.....This theme has a xtemplate, style.css,image,screenshot....
i have created a theme which will have drop down menus....in my site..using dhtml...where should i add my code so i will get my site which will have drop down...
if i should add in css where should i?
if in template where should i ?
thanks in advance

How to get any WYSIWYG editors working!!?!

In the past I have successfully installed Tinymce, FckEditor, and Htmlarea on several different drupal sites, but I've tried *everything* I can think of with a current project and cannot get any editors to replace textareas with this server (Linux running apache, php 4.2.9, mysql 4.1). Is there something obvious that I'm missing? Does the host need certain PHP functions or apache libraries etc installed in order to make WYSIWYG modules function at all?

I have GD toolkit installed and image module installed successfully if that makes a difference.

email

Hello!

I've installed drupal 4.7
I created an email form and have given the email parameters Drupal to send to.
I can't recieve any emails though.

What might be the problem?
Is there any php.ini setting? I host the site on my own computer.

All I could find was in php.ini
sendmail_path = /usr/sbin/sendmail -t -i

Pages

Subscribe with RSS Subscribe to RSS - General discussion