Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorzeuder
    • CommentTimeJul 1st 2009
     permalink
    I am designing a template, and I want some add widgets on topbar by default without having to add the widget from Dashboard, Is it possible? How do I do?

    I hope you understand, i use google translator :P
    •  
      CommentAuthorzeuder
    • CommentTimeJul 1st 2009
     permalink
    nothing?
  1.  permalink
    You have to edit fp-content/config/widgets.conf.php and put 'name-of-top-widget' =>
    array (
    0 => 'what-you-want-to-add',
    1 => 'what-you-want-to-add',
    ...
    ),
    •  
      CommentAuthorzeuder
    • CommentTimeJul 2nd 2009
     permalink
    mmm yes, this is a good method, but is outside the folder fp-interface>themes, so as to distribute template the user would have to overwrite your file widgets.conf.php
  2.  permalink
    I don't know other methods (but this doesn't mean that this isn't possible!)... Sorry!
    •  
      CommentAuthorNoWhereMan
    • CommentTimeJul 2nd 2009
     permalink
    there isn't a sane way at the moment; I might add a plugin hook (they work for theme.conf.php as well) in the SVN version
    •  
      CommentAuthorzeuder
    • CommentTimeJul 4th 2009
     permalink
    well thanks for the help, I will have to do with the widget panel