Forum

module Var  Bottom

mumuri / Jan 18, 2009 / 10:46 Link to this post


I ve seen there were some modVar object in the modulestudio interface.

I think it's create some parameter values in the module_var table from zikula
but i didn't manage to create one

is there a sample use of this field in the given example, and which one ?

thanks in advance


Options

Rating

Replies

  • Axel / Jan 18, 2009 / 12:04 Link to this post

    Axel

    You can create a ModVarContainer within the persistence editor, similar to a table. This container can then contain multiple ModuleVar instances, for example ModuleVarInt (for numbers like itemsperpage), ModuleVarBool (e.g. for yes/no selections) or ModuleVarText. They are not used much at the moment though, so the generator will only create the admin_config() function if you have an admin processor created within the processing editor.


  • mumuri / Jan 18, 2009 / 12:43 Link to this post


    ok so i have to
    - create an admin processor in the processing editor
    - create a ModVarContainer
    - add a ModVarXXX (int, string, list, etc ...)

    when you says "admin_config() " does it mean there is no GUI for this part ?


  • Axel / Jan 18, 2009 / 01:46 Link to this post

    Axel

    A GUI for config modification will be generated icon_wink


  • mumuri / Jan 18, 2009 / 02:40 Link to this post


    lol, ok so when you say that

    Code<code>They are not used much at the moment though</code>


    it's only because you wan't to stay modest


How to set up relations

8 Replies
Axel on May 15, 2012 - 06:04



Neue Umfragen

You have not voted in the poll:
Did you test ModuleStudio 0.5 already?
 
 
 

ModuleStudio Honey

Close

You don't have permission to e-mail this story - please login