![]() |
(05-29-2024, 04:00 AM)Bosborne Wrote: How are you passing the variable to the view? As you can read here, those are made available automatically to the view file, because I'm using controlled cells (05-29-2024, 05:42 AM)InsiteFX Wrote: View Cells must return a string not an int. As far as I can see, the Cell is returning a string, because it's returning the content of just_a_test.php. But for the sake of the conversation, here is the modified version, returning the same error, which is: Code: Undefined variable $typedVariable Code: JustATestCell.php PHP Code: <?php Code: just_a_test.php PHP Code: <div> Code: main view file PHP Code: <?= view_cell('JustATestCell', [ |
Messages In This Thread |
Unable to use typed variables in a cell - by Fabio-Zeus-Soft - 05-29-2024, 01:49 AM
RE: Unable to use typed variables in a cell - by Bosborne - 05-29-2024, 04:00 AM
RE: Unable to use typed variables in a cell - by Fabio-Zeus-Soft - 05-30-2024, 04:22 AM
RE: Unable to use typed variables in a cell - by InsiteFX - 05-29-2024, 05:42 AM
RE: Unable to use typed variables in a cell - by kenjis - 05-30-2024, 05:21 AM
RE: Unable to use typed variables in a cell - by Fabio-Zeus-Soft - 05-30-2024, 07:56 AM
|