Forum Support

Shape 5
March 29, 2024, 03:13:58 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How do I include the Horizontal Accordion Extension with this template?  (Read 696 times)
siona73
Jr. Member
**
Offline Offline

Posts: 31



« on: 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
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: 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.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
siona73
Jr. Member
**
Offline Offline

Posts: 31



« Reply #2 on: 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!
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: 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.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
siona73
Jr. Member
**
Offline Offline

Posts: 31



« Reply #4 on: 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.
Logged
siona73
Jr. Member
**
Offline Offline

Posts: 31



« Reply #5 on: 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.
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #6 on: 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.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
siona73
Jr. Member
**
Offline Offline

Posts: 31



« Reply #7 on: 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!
Logged
siona73
Jr. Member
**
Offline Offline

Posts: 31



« Reply #8 on: 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.
Logged
siona73
Jr. Member
**
Offline Offline

Posts: 31



« Reply #9 on: 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.
Logged
siona73
Jr. Member
**
Offline Offline

Posts: 31



« Reply #10 on: 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
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #11 on: 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.

Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.