Shape 5

Joomla Templates => Corpway - Club => : siona73 November 19, 2014, 11:11:47 AM



: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 19, 2014, 11:11:47 AM
Hello
I would like to include the Shape 5 Horizontal accordion extension with the Corpway template
I know I have to add this in the templatedetails.xml but the template itself does not have those positions marked in the index.php
do i create a separate template/ by copying the index.php or?
<position>s5_ha_1</position>
<position>s5_ha_2</position>
<position>s5_ha_3</position>
<position>s5_ha_4</position>
<position>s5_ha_5</position>
<position>s5_ha_6</position>
<position>s5_ha_7</position>
<position>s5_ha_8</position>
<position>s5_ha_9</position>
<position>s5_ha_10</position>
I would appreciate any help. Thank you


: Re: How do I include the Horizontal Accordion Extension with this template?
: mikenicoll November 19, 2014, 04:38:54 PM
Hello,

Have you tried installing the extension and just manually typing these positions into the "position" input box when creating HTML modules? You shouldn't need to manually add the positions to the XML file for them to work. This just makes them appear in the drop down list itself.


: Re: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 22, 2014, 10:49:35 PM
It works. You can see it at http://new.fbpe.org
But how do I make the module responsive? it seems to take only pixels not percentages. What file can I modify to change the pixels to percentage? Is it a way to add this module position top_row_1 with mobile ?
Thanks!


: Re: How do I include the Horizontal Accordion Extension with this template?
: mikenicoll November 24, 2014, 12:25:25 AM
Hello,

In the module width you can enter 100% as the width value and that should allow for proper scaling.


: Re: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 24, 2014, 10:35:59 AM
Nope, it does not work. Please take a look. It only displays the label titles but no content.


: Re: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 24, 2014, 10:48:00 AM
Hello,

In the module width you can enter 100% as the width value and that should allow for proper scaling.
This is the error I get in the front end which lead me to the question. Where do I modify the javascript to take percentages not pixels! Obviously somewhere in the javascript or the php, the code is written to take pixels.
The current width setting of the S5 Horizontal Accordion module is set too small. The amount of slides published to ths module will not fit in a width of 100%px. You must increase this width in the module's backend or reduce the amount of slides.


: Re: How do I include the Horizontal Accordion Extension with this template?
: mikenicoll November 24, 2014, 05:42:05 PM
Hello,

I just tested this and 100% is a valid width parameter when using the module. We also have it setup the exact same way in the Zoka Transports Template released this month. I have provided a screen capture illustrating my settings for the Horizontal Accordion.


: Re: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 25, 2014, 09:27:24 AM
Well, my configuration is same. And it does display on the frontpage ( see pic 2) "this module has a minimum height of 100%px. "
Please take a look before telling me this module works with corpway. I am not interested how this module works with a different template!


: Re: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 25, 2014, 09:50:47 AM
Hello,

I just tested this and 100% is a valid width parameter when using the module. We also have it setup the exact same way in the Zoka Transports Template released this month. I have provided a screen capture illustrating my settings for the Horizontal Accordion.

i downloaded http://www.shape5.com/product_details/club_extensions/s5_horizontal_accordion.html
please let me know if my extension is different than what you are showing me here because the backend parameteres do not correspond to mine.


: Re: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 25, 2014, 09:54:05 AM
Hello,

I just tested this and 100% is a valid width parameter when using the module. We also have it setup the exact same way in the Zoka Transports Template released this month. I have provided a screen capture illustrating my settings for the Horizontal Accordion.

i downloaded http://www.shape5.com/product_details/club_extensions/s5_horizontal_accordion.html
please let me know if my extension is different than what you are showing me here because the backend parameteres do not correspond to mine.


: Re: How do I include the Horizontal Accordion Extension with this template?
: siona73 November 25, 2014, 09:57:37 AM
It seems the other template you were mentioning has horizontal accordion V2
WHere is the link to that in your downloads? Cos I cannot find it.
In my extension on the php it says
On line 203, it says:
<div id="s5_hor_acc_first" <?php echo $mouse_effect ?>="s5_hor_acc_open_1()" class="s5_hor_acc" style="padding:0px; margin:0px; height:<?php echo $height ?>px; width:<?php echo $slide_width ?>px">
You see at the end it says: width:<?php echo $slide_width ?>px"

So it is set to calculate the width in PX not percentages!  First slide has a pixel width of minimum 40px.
BEfore I go ahead and do your job and modify the php of a PAID CLUB EXTENSION please send me the link to the new V2 that assumingly works with percentages.
Thanks


: Re: How do I include the Horizontal Accordion Extension with this template?
: mikenicoll November 25, 2014, 06:45:57 PM
Hello,

Are you sure your referring to the Horizontal Accordion then? I just assumed you were trying to add the extension to your site but on our demo we do not use the Horizontal Accordion. The slider you see at the top is called the S5 Image and Content Fader v3.0 which can be downloaded from our "Free Extensions" section of the site.

http://www.shape5.com/demo/corpway/index.php/extensions/s5-image-and-content-fader-v3

Download Link - S5 Image and Content Fader v3

http://www.shape5.com/component/option,com_docman/Itemid,96/task,doc_download/gid,513/

If you are indeed referring to the Horizontal Accordion, then V2 is an option in the module settings that changes it to be CSS3 powered without the need for javascript.