Wednesday, December 9, 2009

[development] Overriding theme function in module for specific case

I have a module called feature_package.module that embeds the
nodequeue_arrange_subqueue_form, and I need to override the theme
function for that form (theme_nodeuqueue_arrange_subqueue_form) only
when I'm embedding it (i.e. I don't want to override the theme function
when the form is being displayed in the admin area). I would also like
to do it in the module, and not template.php. so my questions are, how
would I implement the function and hook_theme in my module? I've been
playing around with various combinations of hook_theme values and
function names and haven't been able to get the theme function to be
used for the form. For example:

function feature_package_theme() {
return array(
'nodequeue_arrange_subqueue_form' => array(
'arguments' => array('form' => NULL),
'function' => 'feature_package_nodequeue_arrange_subqueue_form',
),
);
}

I can see my changes taking place in the theme_registry (by using dsm()
inside hook_theme_registry_alter) after clearing cache, so I know that's
not the issue.

Thanks.

Steve

Re: [development] consulting about user maps

Gastón,

The location module should meet all of your requirements except being able to relate several users to the same location. You will have to create the location for each profile.

http://drupal.org/project/location

-Sean

I'm using Drupal 6 and i want to add something to view in the user profile a map (gmap if it's posible) with her/his location. how can i do that?
I would like to edit a particular user and add data for example the street phone city, country, etc. Also it would be well if i would be able to relate several users to the same location.

[support] Problem with Flash's connection

Hello all,
I've a problem with connection between my flash application and
drupal. I've only received this error in flash's console:

106
Unknown error type
D:\UniServer\www\flash\sites\all\modules\services\servers\amfphp\amfphp.module
AMFPHP_RUNTIME_ERROR

I've enabled this modules:
Services,
Key Authentication,
AMFPHP,
Node Service and
System Service.

And my code is:
var baseURL:String = "http://localhost/flash";
var gateway:String = baseURL + "/services/amfphp";
var sessionId:String = "";

var drupal:NetConnection = new NetConnection();

drupal.objectEncoding = ObjectEncoding.AMF3;

drupal.connect(gateway);

var responder:Responder = new Responder( onConnect, onError);

drupal.call("system.connect", responder);

function onConnect(result:Object)
{
sessionId = result.sessid;
trace( "Estamos Conectados");
trace ("Session ID: " + sessionId);
}

function onError(error:Object)
{
for each (var item in error){
trace (item);
}
}
As you can see, I'm trying to do a exercise of a book Flash with Drupal.
Thanks for yours suggestions.

Greetings.

Gustavo.-
--
[ Drupal support list | http://lists.drupal.org/ ]

[support] consulting about user maps

Hi!

I'm using Drupal 6 and i want to add something to view in the user profile a map (gmap if it's posible) with her/his location. how can i do that?
I would like to edit a particular user and add data for example the street phone city, country, etc. Also it would be well if i would be able to relate several users to the same location.

thanks in advance.

Gastón Pablo Perez
Email: gpperez@gmail.com
Web: http://cv.gpperez.com.ar

[webmasters] [feature] Promote: Knight News Challenge: $5 Million available to gather and disperse information in a particular geographic area or comm

Issue status update for
http://drupal.org/node/655338
Post a follow up:
http://drupal.org/comment/reply/655338#comment-form


Project: Drupal.org webmasters
Component: Content moderation
Category: feature request
Priority: normal
Assigned to: Amazon
Status: needs review
Updated by: silverwing

Scheduled for Dec 10th, giving berliner.de its 24 hours

silverwing


Original issue:
------------------------------------------------------------------------
Wednesday, December 9, 2009 - 07:35 : Amazon

http://drupal.org/node/655322 [1]

[1] http://drupal.org/node/655322

Previous comments (2):
------------------------------------------------------------------------
#1 -- Wednesday, December 9, 2009 - 07:53 : gdemet
http://drupal.org/node/655338#comment-2357624

The Berliner.de case study got promoted today, so this should probably
go up Thursday or Friday, and we can then bump CrowdedText to next week.
I'll be more than happy to review the post in the meantime; at the very
least, we probably want to edit down the title.

------------------------------------------------------------------------
#2 -- Wednesday, December 9, 2009 - 11:03 : Amazon
http://drupal.org/node/655338#comment-2358330

Changed author to Jose Zamora. Updated the title to be shorter.


_______________________________________________
webmasters mailing list
webmasters@drupal.org
http://lists.drupal.org/mailman/listinfo/webmasters

[webmasters] [feature] Promote: Knight News Challenge: $5 Million available to gather and disperse information in a particular geographic area or comm

Issue status update for
http://drupal.org/node/655338
Post a follow up:
http://drupal.org/comment/reply/655338#comment-form


Project: Drupal.org webmasters
Component: Content moderation
Category: feature request
Priority: normal
Assigned to: Amazon
Status: needs review
Updated by: Amazon

Changed author to Jose Zamora. Updated the title to be shorter.

Amazon


Original issue:
------------------------------------------------------------------------
Wednesday, December 9, 2009 - 20:35 : Amazon

http://drupal.org/node/655322 [1]

[1] http://drupal.org/node/655322

Previous comments (1):
------------------------------------------------------------------------
#1 -- Wednesday, December 9, 2009 - 20:53 : gdemet
http://drupal.org/node/655338#comment-2357624

The Berliner.de case study got promoted today, so this should probably
go up Thursday or Friday, and we can then bump CrowdedText to next week.
I'll be more than happy to review the post in the meantime; at the very
least, we probably want to edit down the title.


_______________________________________________
webmasters mailing list
webmasters@drupal.org
http://lists.drupal.org/mailman/listinfo/webmasters

[webmasters] [feature] Request to add gizra.com blog

Issue status update for
http://drupal.org/node/655524
Post a follow up:
http://drupal.org/comment/reply/655524#comment-form


Project: Drupal.org webmasters
Component: Drupal Planet
Category: feature request
Priority: normal
Assigned to: Anonymous
Status: active
Updated by: Amitaibu

Site:
http://www.gizra.com/ [1]


Drupal planet tag:
http://www.gizra.com/taxonomy/term/1 [2]

[1] http://www.gizra.com/
[2] http://www.gizra.com/taxonomy/term/1

Amitaibu

_______________________________________________
webmasters mailing list
webmasters@drupal.org
http://lists.drupal.org/mailman/listinfo/webmasters