Are you enjoying the extensions? Did you like the support? Help others decide

Leave a review

Profiles v5+

All article details are shown through layouts, allowing template overrides.

Starting in Joomla 3.2, the layouts are available from your template Create Overrides tab, under the layouts section.

template layouts

Once clicked, all the layouts are copied over to the template's html/layouts folder.

layout overrides

As best practice, delete all files you do not need to modify. It will save you time when the overrides need to be checked or updated down the road.

The file names follow the convention : adp_detail_[information type].php

New v5.2
The adp_detail_share layout now calls sub-layouts for all share buttons.
When creating a new share button, you need to add a new sub-layout to the html / layouts / com_articledetailsprofiles / details / adp_detail_share folder (you may need to create those folders) of your template. To know what the sub-layout's code must be, just copy one of the extension's available sub-layouts.

Tutorial Learn how you can add a custom social network share button

In Joomla 3.7+, the custom fields use the generic layout (adp_detail_jfield_generic.php), unless a specific layout is present.

You can find the original layouts under components/com_articledetailsprofiles/layouts. It is recommended to create overrides of those files rather than update them if you need to do some modifications. That way, the next component's update won't dismiss the changes you have made. The overrides have precedence over the component's layouts.

Joomla 3.1
You need to manually copy the layouts over to the template's html > layouts > details folder (omit the com_articledetailsprofiles folder). This manipulation cannot be done through the Joomla console.

New v5.3

The layout suffix

You can use different overrides of the same layout for plugin syntax or module instances. Just set the advanced parameter Layout suffix. By doing so, you are giving priority to the layouts that will contain that suffix in the name of the override.

For instance, you can override adp_detail_jfield_generic.php but also have a module instance use a slightly different output. Just add the layout suffix (for example 'xyz') to the module instance and that instance will give priority to the override