problem with dynamic loading

  • I want with this code to control with loading to textplugin data:

    Code
    <action name="add_dynamic_datahtml">
    set(data[data_%1].content, '<include url="%1.html" />');
    set(plugin[text].html,data:data_%1);
    </action>

    and i have this...

    *confused*

    I want it to load right file through steering with parameters*:

    Code
    add_dynamic_datahtml(info);

    I need something like this:

    Code
    <data name="data_info"><include url="info.html"></data>

    best regards

  • I need because I create menu which creates dynamically < date txt ... includes...> and right html read in.

    Code
    <action name="add_menu">
    add_dynamic_datahtml(info);
    add_dynamic_datahtml(contact);
    add_dynamic_datahtml(help);
    ...
    </action>

    *squint*

    I want to create automatically:

    Code
    <data name="data_info"><include url="info.html"></data>
    <data name="data_info"><include url="contact.html"></data>
    <data name="data_info"><include url="help.html"></data>

    best regards

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!