- Code: Select all
class actions_my_action {}
- Code: Select all
actions/my_action.php
How to insert data into template blocks from action class?
3 posts
• Page 1 of 1
How to insert data into template blocks from action class?I have a class
Re: How to insert data into template blocks from action class?You do that via the template itself. Generally you extend from the Dataface_Main_Template.html template, and then fill one of the slots (usually main_section or main_column)
e.g.
Re: How to insert data into template blocks from action class?I understand, but slots and blocks are different entities, right? When I override slot, I replace it's contents. But when I use block, I add something into template, not replacing original contents. I'm using slots already. I'm just curious, can I use blocks too from action?
3 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 9 guests |