test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • genpro Friend
    #194217

    Another issue with Appolio and modules that come with it. I can’t get my image to show via the JA masshead module, instead the default image from the templates/masshead folder shows. I have the module turned on for homepage only. The configuration code is:

    [Masshead background=”images/masshead/masshead.JPG”]MassHead Image[/Masshead]

    What am I doing wrong?

    In retrospect, I’m wondering if this forum/site and templates are for me. Your Demos are all great and all, but then you provide a bare-bones template leaving the user to what basically comes out to a lot of wasted development/learning curve JUST to get to the point similar to the demo. Why not provide a way to import the sql of the demo site so at least the site starts off with examples and looking like the demo. Instead, so far parallax not working, masshead not working. Slide-out not working(how to connect to a menu???) and on and on…

    Yes, I’m getting frustrated. I’d me more then happy to PM admin with backend info if you’d like to get my site looking like the demo!

    cssyeah Moderator
    #520453

    @ genpro,

    Please send me your site credentials via PM, I will help to debug the issue.

    If you want to create a site like our demo, you can download and install our quickstart package (available in the template download package). Then, you have all sample data, built-in extensions as per our demo. Just one note, demo photos will be replaced with blank images due to copyright restriction.

    genpro Friend
    #520599

    Info sent.

    cssyeah Moderator
    #521226

    @ genpro,

    I have checked your site, please follow steps below to solve your issue.

    – Step 1: Create a folder in the “[your root]/templates/ja_appolio/html/” path with named “mod_jamasshead”.

    – Step 2: Copy two files (default.php and index.html) from “[your root]/modules/mod_jamasshead/tmpl” path to the new folder.

    – Step 3: Open the default.php file and replace php code section below:


    <div class="jamasshead<?php echo $params->get('moduleclass_sfx','')?>">
    <h3 class="jamasshead-title"><?php echo $masshead['title']; ?></h3>
    <div class="jamasshead-description"><?php echo $masshead['description']; ?></div>
    </div>

    with:


    <div class="jamasshead" <?php if(isset($masshead['params']['background'])): ?> style="background-image: url(<?php echo $masshead['params']['background'] ?>)" <?php endif; ?>>
    <h3 class="jamasshead-title"><?php echo $masshead['title']; ?></h3>
    <div class="jamasshead-description"><?php echo $masshead['description']; ?></div>
    </div>

    – Step 4: Now you can use the extra background parameter in the JA Masshead module.

    Eg:


    [Masshead Itemid="494" title="All Categories" background="images/banners/osmbanner1.png"]Nulla sed elit sit amet nunc accumsan aliquam. Mauris id suscipit nunc.[/Masshead]

    Hope this helps.

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

This topic contains 4 replies, has 2 voices, and was last updated by  cssyeah 10 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum