Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon More pictures

  • PpaKko
  • PpaKko's Avatar Topic Author
  • Visitor
  • Visitor
7 years 11 months ago #196 by PpaKko
PpaKko created the topic: More pictures
What should I do in order to add some more pictures in the module?
I need 11 pictures instead of the 9 provided.

What I achieved until now is to have 11 positions in the Module Parameters but the extra pictures do not appear in the frontend module inside the site!
Here is what I did:
1. In the file "mod_hot_image_slider.php" I changed this:
for ($loop = 1; $loop <= 9; $loop += 1)
to this:
for ($loop = 1; $loop <= 11; $loop += 1)
I did this 4 times (whenever it appears in the code)

2.In the file "mod_hot_image_slider.xml" Â I added 2 times the following code (with the nesessary modifications)
<param type="spacer" default="Image 1" />

	<param name="image1" type="text" default="articles.jpg" label="LABEL IMAGE" description="DESC IMAGE" />

	<param name="image1title" type="text" default="Articles" label="LABEL IMAGE TITLE" description="DESC IMAGE TITLE" />

	<param name="image1desc" type="text" default="Lorem ipsum dolor sit amet" label="LABEL IMAGE DESC" description="DESC IMAGE DESC" />

	<param name="image1link" type="text" default="http://www.hotjoomlatemplates.com/" label="LABEL IMAGE LINK" description="DESC IMAGE LINK" />


What am I missing here?

Thank you in advance.

Please Log in to join the conversation.

More
7 years 11 months ago #197 by milos
milos replied the topic: Re: More pictures
Good job!

Open tmpl/default.php and change
<?php for ($imageCounter = 1; $imageCounter <= 9; $imageCounter += 1) { ?>

to
<?php for ($imageCounter = 1; $imageCounter <= 11; $imageCounter += 1) { ?>

Do it twice, around lines 102 and 121.

Please Log in to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #4820 by iCandy
iCandy replied the topic: Re: More pictures
Nevermind I figured it out...thanks!
Last Edit: 6 years 9 months ago by iCandy. Reason: Resolved issue

Please Log in to join the conversation.

More
6 years 3 weeks ago #11853 by ole
ole replied the topic: Re: More pictures
Hello,
I tried to follow these steps in order to have the possibility to add up to 50 pictures. I don't now what went wrong but now I cannot access de module: i have this error:

500 - An error has occurred.

Error loading form file

Return to Control Panel

any help??

Please Log in to join the conversation.

More
6 years 3 weeks ago #11862 by ivan.milic
ivan.milic replied the topic: Re: More pictures
You probably missed some <?php, ?> or delete it by mistake while you were altering files. Restore original ones.

Please Log in to join the conversation.

More
6 years 3 weeks ago #11874 by ole
ole replied the topic: Re: More pictures
Indeed Ivan, something went wrong so I rechanged the xml and added again the positions and now I have 50 pictures!!!!!!!!!!
thank you!!!!

Please Log in to join the conversation.

Time to create page: 0.135 seconds

Links, Partners and Social Media