[development] SPAM --- Howto: Override $node_url in theme

Jim Taylor jim at rootyhollow.com
Fri Jul 24 18:31:43 UTC 2009


http://drupal.org/project/util

On Fri, Jul 24, 2009 at 2:22 PM, Peter Droogmans <Peter at attiks.com> wrote:

>  The weight of modules can be found in the system table
>
>
>
> *From:* development-bounces at drupal.org [mailto:
> development-bounces at drupal.org] *On Behalf Of *nan_wich at bellsouth.net
> *Sent:* vrijdag 24 juli 2009 18:40
> *To:* development
> *Subject:* SPAM --- [development] Howto: Override $node_url in theme
>
>
>
>
>
>
>
> My module implements template_preprocess_hook, but when it fires, the
> $variables['node_url'] is not set yet. I have gone through the themong guide
> and tried just about every preprocess hook there is and none of them has
> that variable set when I get control.
>
>
>
> It is set in theme.inc in template_preprocess_node, without regard as to
> whether or not it is already set. I even tried mymodule_preprocess_node, and
> it is still not set there.
>
>
>
> The problem may be because my module's weight is -2 due to a timing problem
> with the user module. So I am probably getting called before node.module
> too.
>
>
>
> So how can I change that value?
>
>
>
> --
> Nancy E. Wichmann, PMP
>
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L.
> King, Jr.
>
>
>
>
>


-- 
Jim Taylor
Rooty Hollow LLC, Owner
jim at rootyhollow.com
www.rootyhollow.com
(614) 432-8609

Twitter: jalama
Linkedin: http://www.linkedin.com/in/rootyhollow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090724/25671409/attachment.htm>


More information about the development mailing list