Last Updated 11 months ago

How to change the appearance of the list of hook entries?

Create a custom template file

In the module it is possible to add custom entry layouts for use in hookups. To do so, you need to:
  1. Create a file in the blog template you are currently using called "layout-[layout name].tpl", example path to the layout:
    pshowblog/views/themes_17/[layout name]/list/layout-[layout name].tpl
  2. Copy the code from the default list layout from the post-list.tpl file in the template you are using into the layout file you created, below is a sample path leading to the file post-list.tpl:
    pshowblog/views/themes_17/[layout name]/list/post-list.tpl
  3. Freely redesign the appearance of the list in our newly created template file

Setting up a custom layout in the hook

To use a custom layout in a hookup, go to "Custom positions" in the module menu:

image


add a new hook:

image


or edit an existing one:

image


in the "Entry layout" option, select the file we created:

image


and save the changes:

image

Please Wait!

Please wait... it will take a second!

Kliknij by skopiować