[support] Update CCK Node via Code

William Smith william.darren at gmail.com
Thu Sep 6 18:19:25 UTC 2007


Hi Fred.  Could you post your code so that we can get a better handle on
what you've done so far?

Thanks

On 9/6/07, Fred Jones <fredthejonester at gmail.com> wrote:
>
> Joakim Stai wrote:
> > It could be something as simple as the cache not being cleared. If
> > you alter the database, you need to clear the cache for the correct
> > value to be displayed.
> >
> > http://api.drupal.org/?q=api/function/cache_clear_all/5
>
> Great idea. But it doesn't seem to work. I tried now:
>
>         cache_clear_all();
>
>         cache_clear_all(NULL, 'cache_content');
>
>         cache_clear_all(NULL, 'cache');
>
> and
>
>         cache_clear_all(NULL, 'cache_views');
>
> but /node/18 remains the same--no update visible. :(
>
> I don't think cache_filter nor cache_menu tables will do the trick either.
>
> Any other ideas? It's Drupal 5.2.
>
> Thanks.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070906/b14fc70b/attachment.htm 


More information about the support mailing list