test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • pavit Moderator
    #939024

    Hi

    You can take a look at THIS topic

    qngo Friend
    #939041

    Hi,

    The topic doesn’t end with proper solution. I found in JA Masshead description:

    Use extra paramaters:
    Extra parameters can put in config as name="value" and access through variables $masshead[‘params’][‘name’] by overwritting module layout in the template
    Eg:
    [Masshead Itemid="page_id" title="Title" background="image url"]Description[/Masshead]
    Access the param background:
    <div class="jamasshead" <?php if(isset($masshead[‘params’][‘background’])): ?> style="background-image: url(<?php echo $masshead[‘params’][‘background’] ?>)" <?php endif; ?>>

    Where I add this:

    <div class="jamasshead" <?php if(isset($masshead[‘params’][‘background’])): ?> style="background-image: url(<?php echo $masshead[‘params’][‘background’] ?>)" <?php endif; ?>>

    Thanks,

    Quoc

    qngo Friend
    #939160

    OK. I found the solution.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  qngo 8 years, 5 months ago.

The topic ‘JA Masshead doesn't show background image’ is closed to new replies.