Forum

Version numbers  Bottom

robbrandt / Nov 11, 2011 / 12:41 Link to this post


Just getting started on MOST. I have created a very simple Module and it actually works :)

Now I want to revise it. I tried to change the version number in MOST, but it reverts to 1.0.0 after I tab out of the field. Am I missing something?

Like another poster here, I would dearly love to see a sample module - with some customizations in it just to see how that works - so that I can see how to proceed further.


Options

Rating

Replies

  • Axel / Nov 11, 2011 / 12:17 Link to this post

    Axel

    Did you try pressing the Enter key (instead of tab) to confirm your amendment of the version number property?

    An example Module for customisation purposes is not that easy. Desired changes really depend on your individual needs.
    * Small modules may require no customising at all beside some cosmetics in the templates.
    * Bigger ones may require adding a huge amount of own code parts to handle specific use cases.

    To get into the programming details I recommend reading the following resources:

    * Customisation tutorial video (link) (a little outdated, but still good for the principles)
    * Chapter about the generator in the MOST manual (to see which artifacts and functionalities are generated from which Model elements).
    * Chapter about customising in the MOST manual.
    * Doctrine 2 manual (link)
    * Zikula 1.3 documentation (link)
    * Overview of current issues / tickets (link)

    After that practice is the best teacher: just start with some simple adaptions like doing a template override to become familiar with the module. When you have concrete questions like how to reach feature xy feel free to ask in the forums again.


  • robbrandt / Nov 11, 2011 / 04:24 Link to this post


    Yes, that works :)

    Thanks for mentioning the manual, I missed that link.

    Is there a reason only one sort can be specified? I've never had a table that needed only one sort option ;) If there is, I can just take the automatically generated sort code and copy it to other columns I guess(?).


  • Axel / Nov 11, 2011 / 04:27 Link to this post

    Axel

    You can sort by every column. Generated view templates contain table headers with sort links for corresponding fields. Which sort option are you referring to?


  • robbrandt / Nov 11, 2011 / 04:31 Link to this post


    Perhaps I'm being dense again. Haven't had a chance to read the manual yet.

    In the Model, there is an attribute for "sortable group". When I generate the Module, the list view makes that column sortable. But back in the model, when I try to make another column a "sortable group", I get an error that says "only one field per entity may store the sortable group".


  • Axel / Nov 11, 2011 / 08:36 Link to this post

    Axel

    This field is only relevant for the sortable extension (Doctrine extensions documentation can be found here). You don't need to set this option as corresponding implementation is not finished yet in the generator.


  • robbrandt / Apr 19, 2012 / 11:40 Link to this post


    Just so you know, I had this problem with version numbers again today. I had to quit MOST and start it over again, and then it worked fine. Data entry on the Mac using this interface is a bit funky sometimes.


How to set up relations

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



Neue Umfragen

You have not voted in the poll:
What should be improved in future?
 
 
 

ModuleStudio Honey

Close

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