[support] How to override this variable?

marcob marcob at gawab.com
Mon Dec 11 11:44:53 UTC 2006


Greg, Merlin, thanks for the prompt help,

actually 	'catdef_storylink_50'=>array('75'), worked like a champ! :)

PS: for handbook sake: would this approach be valid for *every* 
serialized array?
if so i could eventually share your help under the "Define shared 
variables for all sites" page.

cheers,
marco



On 08/dic/06, at 6:37 AM, Earl Miles wrote:

> marcob wrote:
> 'catdef_storylink_50'=> 'a:1:{i:0;s:2:"75";}',
>
> What you see is a serialized array. This is unserialized upon load; the
> definition should be unserialized, so you want to give it an actual 
> array:
>
> 'catdef_storylink_50'=> array('75');
>
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]
>



More information about the support mailing list