Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1499

General Questions/New to Joomla! 5.x • Re: Personalization of articles

$
0
0
I would like to be able to create a space directly in this file where I can display a form.
Hi.

You can add the module position by overridding Article default.php or create a separate layout of the article, for example you_own_article.php based on default.php. Then you will be able to choose this layout in the article settings.

To add position use this code

Code:

<?php echo JHtml::_('content.prepare', '{loadposition YOUR_POSITION_NAME}'); ?>

Fabulous works great!

And if I wanted to do the same thing but to create a space for the additional fields, can you tell me what code I need to use?
THANK YOU

Statistics: Posted by effettoMapet — Sat Apr 13, 2024 1:33 pm



Viewing all articles
Browse latest Browse all 1499

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>