Add more Slide in administration

  • etori
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #41584 by etori
Friends,

I want to add more event entries, but in the administration of the module there are only 20.

How can I add more?

How is: www.elisaandreoli.com.br

Etori Amorim

Please Log in to join the conversation.

More
9 years 8 months ago #41587 by ivan.milic
First open mod_hot_film_tape.xml in module folder , you will find this xml:
Code:
<fieldset name="image20" label="LABEL IMAGE20"> <field name="enableSlide20" type="list" default="false" label="LABEL ENABLE SLIDE" description="DESC ENABLE SLIDE"> <option value="true">Enable</option> <option value="false">Disable</option> </field> <field name="image20content" type="editor" filter="raw" default="" label="LABEL IMAGE CONTENT" description="DESC IMAGE CONTENT" /> <field name="image20link" type="text" default="" label="LABEL IMAGE LINK" description="DESC IMAGE LINK" /> <field name="image20title" type="text" default="" label="LABEL IMAGE TITLE" description="DESC IMAGE TITLE" /> </fieldset>

make a copy and put iy just under that replacing 20 width 21. Repeat step for as menu slots as you need.

Open mod_hot_film_tape.xml

in few places you will see:

for ($loop = 1; $loop <= 20; $loop += 1) {

replace 20 with number of slots you have.

Finally open /tmpl/default.php

find :

for ($loop = 1; $loop <= 20; $loop += 1) {

replace 20 with number of slots you have.

that's it
The following user(s) said Thank You: etori

Please Log in to join the conversation.

  • etori
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #41591 by etori
Perfect!

Thank you Ivan!

Please Log in to join the conversation.

More
9 years 4 months ago #44082 by mattia
Good Morning
I should also add other 2 slides
I copied and put under <fieldset name = "image20" label = "LABEL IMAGE20"> with 21/22
I modified the default.php for ($ loop = 1; $ loop <= 22; $ loop + = 1) {
Now in the backend module I can enter two new slide but not displayed on the frontend
How can I fix the problem?

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
9 years 4 months ago - 9 years 4 months ago #44100 by milos
You should also modify file mod_hot_film_tape.php. You have number 20 in four places there.

Regards
Last edit: 9 years 4 months ago by milos.
The following user(s) said Thank You: mattia

Please Log in to join the conversation.

More
9 years 4 months ago #44101 by mattia
:) thank you very much
greetings

Please Log in to join the conversation.

Time to create page: 0.314 seconds
Powered by Kunena Forum