Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorFlancer
     
    In the booklink tutorial, the foreign key author is displayed as the first field in the show.tpl. Is there a way for me to tell Akelos where I want it to be displayed (e.g. 3rd field)? Or do I need to manually code the display of all the fields ?

    Thank you.
    •  
      CommentAuthorbermi
     

    You can change the order of the columns in your database or migration and run an uninstall and install. But that will delete existing data. Or you can overwrite the getContentColumns() method in your model and return the columns in the order you need. But the easier way would be to set the $content_columns in your view with the columns names you need in the order you need them.