i get this error:

warning: Bad arguments to implode() in c:inetpubwwwrootincludestheme.inc on line 35.

I'd say the link_secondary variable is empty, but where is it defined? How do I add links to this?

Comments

ax’s picture

i just submitted a patch for xtemplate.theme that addresses these issues to drupal-devel. this patch

  1. suppresses the warning you mention when link_secondary is empty (change to includes/theme.inc)
  2. gives an example of how to set link_secondary, link_primary, and center_content. you can do it either through
    • conf.php (as illustrated:
      $conf["link_secondary"] = array(
        '<a href="blub">blub</a>',
        '<a href="bla">bla</a>'
      );
      $conf["link_primary"] = array(
        '<a href="bla">bla</a>',
        '<a href="bla">bla</a>'
      );
      $conf["center_content"] = "hello!";

      ), or

    • put it, in serialized form, directly into the "variable" table.

this should work similar for bluemarine.theme (which i guess you are using)