Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorhvamelsvoort
     
    I don't get values in the table after scaffolding <?php echo $girotelmutatie->get($content_column) ?>
    when I rename the same table to 'giromuts' it works fine. What could be the cause of this ?
    I do get column headers, rows, 'show', 'edit' etc. only the values from the database table I don't see.
    • CommentAuthorhvamelsvoort
     
    I found the problem.
    If I use 'tie' it's translated as 'ty' in some part of the scaffold 'listing' page (in the compiled page).
    I still do not know what part is responsible.

    This is the result of a part of the compiled page :

    <?php
    empty($girotel_mutaties) ? null : $girotel_mutaty_loop_counter = 0;
    empty($girotel_mutaties) ? null : $girotel_mutaties_available = count($girotel_mutaties);
    if(!empty($girotel_mutaties))
    foreach ($girotel_mutaties as $girotel_mutaty_loop_key=>$girotel_mutaty){
    $girotel_mutaty_loop_counter++;
    $girotel_mutaty_is_first = $girotel_mutaty_loop_counter === 1;
    $girotel_mutaty_is_last = $girotel_mutaty_loop_counter === $girotel_mutaties_available;
    $girotel_mutaty_odd_position = $girotel_mutaty_loop_counter%2;
    ?>
    • CommentAuthorhvamelsvoort
     
    For this moment I create a temp solution by putting
    in 'AkInflector' in de methods 'singularize' and 'pluralize'

    $irregular = array(
    'mutatie' => 'mutaties',

    and than it works.