This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

efedua.bell54175
efedua.bell54175

I'm new in web development, and I believe my installation is okay. The problem is I can get a PHP code to work on the markup area of the page. I used
<?= Form::open() ?> <?= Form::label('username', 'User login') ?> <?= Form::close() ?>

To create a test form and it didn't render any form. But using the Twig equivalent seems to work. I don't know why. Do I need to add a file or header. Please help

Last updated

Eoler
Eoler

efedua.bell54175 said: I'm new in web development, and I believe my installation is okay. The problem is I can get a PHP code to work on the markup area of the page.

You will have to use Twig and plugins (or code section if it is one-off PHP handler) in frontend page markup.

efedua.bell54175
efedua.bell54175

Okay thanks.. I'm looking into Twig documentation now and it's not really helping. Is the October implementation of twig same as symphony or there is a docs for it. Can't find full twig docs on the October docs too. I appreciate your response.

Eoler
Eoler

efedua.bell54175 said: Is the October implementation of twig same as symphony or there is a docs for it. Can't find full twig docs on the October docs too.

October usually have its own way... for the frontend start here: https://octobercms.com/docs/cms/themes

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.