-
AuthorPosts
-
pedrox Friend
pedrox
- Join date:
- July 2007
- Posts:
- 375
- Downloads:
- 1
- Uploads:
- 85
- Thanks:
- 5
- Thanked:
- 37 times in 1 posts
August 12, 2013 at 6:49 pm #189668What is the method used to send the images to the slidshow ?
Thanks
pedrox Friendpedrox
- Join date:
- July 2007
- Posts:
- 375
- Downloads:
- 1
- Uploads:
- 85
- Thanks:
- 5
- Thanked:
- 37 times in 1 posts
August 13, 2013 at 12:23 pm #502078Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 13, 2013 at 1:24 pm #502084The 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 Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 13, 2013 at 1:25 pm #502086Hi 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 FriendJames Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
August 13, 2013 at 5:09 pm #502115Hi 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 ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 13, 2013 at 8:44 pm #502125As 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.
1 user says Thank You to Phill for this useful post
James Weston FriendJames Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
August 14, 2013 at 2:56 pm #502219Hi 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 Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 15, 2013 at 3:57 am #502279Hi 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>
1 user says Thank You to phong nam for this useful post
pedrox Friendpedrox
- Join date:
- July 2007
- Posts:
- 375
- Downloads:
- 1
- Uploads:
- 85
- Thanks:
- 5
- Thanked:
- 37 times in 1 posts
August 15, 2013 at 9:55 am #502317phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 15, 2013 at 10:06 am #502321Hi 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 FriendJames Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
August 16, 2013 at 5:53 am #502422Thanks Leo, worked a treat.
AuthorPostsViewing 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
Jump to forum