How to override core function with theme specific fucntion?

I have been using Drupal for 2 days.

I would like to create a custom function to generate the user menu, is there a methodology included in Drupal that will replace a core function with a theme specific one without destroying the core?

that is :

function core_function_name(param1[,param2])

can be replaced with

function _theme_core_function_name(param1[,param2])

and Drupal intuitively knows to use the them function when that theme is defaulted, if so how do i implement this, if not, any other suggestions?

TIA

PATCH help

Hi,

I've recently created a new Drupal 7 site (www.oxfordstars.com). All working great apart from two small issues relating to UberCart and Coupons. The errors I am receiving I have confirmed are down to errors in two modules, one with the coupon module itself and one with the date_popup module. There are patches available for both which I have downloaded.

CKeditor / Ckfinder - default.settings.php

Hi there,

I have followed the steps in a video tutorial and installed the ckeditor and ckfinder. When I go into configuration in Drupal, the status report says :

You are using a feature that requires $cookie_domain to be set, but it is not set in your settings.php (CKFinder is enabled in the Full profile).

I have edited the following line in the default.settings.php file but the module still will not work :

# $cookie_domain = 'example.com';
$cookie_domain = 'http://localhost';

Make a site for car dealers

Hello!
i recently move from joomla to drupal beacause i think it offers you more possibikities.
i plan to make a site for car dealers.i want the dealer to make registaration and then allow him to submit cars,but in front-end no in administrator panel.Also i like to make the front page only with search criteria.how can i do that?
For now i only look at cck,views and webforms.
Thanks!

Setting Default front page from www.example.com/drupal to www.example.com

Good days, Please advise how l m going to set my default front page from my www.example.com/drupal account to the url ;
www.example.com

Thanking you,
Attila

Form API - Clear Textbox

Hello,

I have a form working really well with Ajax, with the ajax happening when a user clicks a button to make it happen.

I'd also like to clear a textbox when the user clicks this button, is it possible to do this via Javascript in Drupal 7?

Any advice very gratefully received.

$form['addbutton'] = array(
    '#type' => 'button',
    '#value' => 'Add',
    '#ajax' => array(
      'callback' => 'ajax_add_callback',
      'wrapper' => 'replacearea',
     ),
  );

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x