test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • pedrox Friend
    #189668

    What is the method used to send the images to the slidshow ?

    Thanks

    pedrox Friend
    #502078

    Also I can not find this module… (see image, please)

    Thanks


    1. 1ert
    Phill Moderator
    #502084

    The big “Hi” module is a JA Masshead module. If you go to the module manager select “JA Masshead” is the “Select Type” dropdown and you will find the module there.

    As for the slideshow, which one in particular?

    I am sure you and others will have many questions regarding this template. The guides will be up very soon so it may be prudent to wait for those.

    phong nam Friend
    #502086

    Hi pedrox,

    It will take much time to explain for you meticulously how our JA Slideshow lite displays the sildes. But, when you open modulesmod_jaslideshowlitehelpershelper.php, you can see that we define the php functions for getting the images from the source, parsing image in articles and returning the value if the conditional propositions are satisfied. You will understand our module functions quickly when you have any experiences with PHP.

    For the first module in your snapshot, you can go to Module Manager >> find “JA Masshead”. Beside that, you can see the codes for displaying the Masshead elements on Home :

    [Masshead Itemid="435,481,482,483,484,546,547,548,549" title="Hi." ]<h3>Fixel.</br>Rock team of one Designer and one Developer.</h3>Donec pellentesque venenatis elit, quis aliquet mauris malesuada el. Donec uitae libero dolor. Maecenas semper sapien sit amet ortor empor et vulp utate diam hendrerit.[/Masshead]

    James Weston Friend
    #502115

    Hi phil,

    Loving this new template. I have worked out where to upload images to go in the first main slideshow in the middle of the page. However, I cannot work out how to change the text that goes with the image or how to change the title Content slideshow 1

    Phill Moderator
    #502125

    As I am sure you have noticed it is simply an article (Content Slideshow 1) but with a special layout “Gallery” set to a 2×2 grid in the “Metadata” options. What you may not have noticed is that if you look at the code for that article (click on the html mode of the editor” you will see the title and alt tags are where the text for the images are generated. With the standard TinyMCE editor you need to manually enter the alt tag code but if you use JCE you can do this from the image editor. This will be outlined in the upcoming docs.

    James Weston Friend
    #502219

    Hi Phil,

    Ah ok now I get it. I had not realised it was an article 🙁 I had added the images by going into the module and working out where the images were saved.

    Ok so now I have it sorted except for one further question. Why does the text i add come up twice, actually the demo has the same. Not sure why would need it repeated.

    phong nam Friend
    #502279

    Hi origomedia,

    Indeed, it is an error on defining the image parameters on our customized article layout. You can solve this issue by:

    – Opening templatesja_fixeltemplateHelper.php, replace 145th line:

    $html .= (isset($attr['alt']) && $attr['alt']) ? '<p>' . htmlspecialchars_decode($attr['title']) . '</p>' : '';

    with

    $html .= (isset($attr['alt']) && $attr['alt']) ? '<p>' . htmlspecialchars_decode($attr['alt']) . '</p>' : '';

    – Opening templatesja_fixelhtmlcom_contentarticledefault_gallery.php, replace 189th line:

    <p><?php echo htmlspecialchars_decode($attr['title']) ?></p>

    with

    <p><?php echo htmlspecialchars_decode($attr['alt']) ?></p>

    pedrox Friend
    #502317

    Is it possible to resize images automatically, to avoid this problem ?

    Thanks


    1. xx
    phong nam Friend
    #502321

    Hi Pedrox,

    The thumbnail image of the articles won’t be resized automatically into a fixed size, you need to set the grid size in the backend of article to display the thumbnail image with ratio size.

    James Weston Friend
    #502422

    Thanks Leo, worked a treat.

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

This topic contains 11 replies, has 4 voices, and was last updated by  James Weston 11 years, 4 months ago.

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