Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

FAQ Add-On Rate Topic   - - - - -

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11287 posts

Posted 12 January 2012 - 09:16 PM #21

Kinda hard to parse out what's related to the FAQ page Accordian and what's other stuff from the page source. I.e. the embedded styles and all the link directives for your cdn.borescopeitinc.com site.

Any chance you could create just a 3 element example of your FAQ Jquery stuff and post it as an archive or as source code? Would definitely like to utilize this..

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Tina
  • Junior Member
  • Members
  • Join Date: 23-Feb 11
  • 33 posts

Posted 13 January 2012 - 01:54 AM #22

Here is a faq page i made using HTML and bookmarks. Feel free to look at the source and use it :) I am very proud of how nice an clean it came out.

http://www.emilyandme.com/faqs.html

 
  • clips
  • Aged Resident Loon
  • Members
  • Join Date: 14-Jan 07
  • 1650 posts

Posted 13 January 2012 - 02:47 AM #23

I zipped and uploaded the "Filter Slider" and "Accordion Addon" to my server:
http://cdn.borescope...borescopeit.zip
http://cdn.borescope...borescopeit.zip


I couldn't seem to get either of these to work. I'm not for sure if I'm not understanding what they are or what.
Here are my questions:
1) Where does the "Filter Slider" pull its info from?
2) On the accordion, is this for the FAQ? If so, what are you using to start it? I can't seem to figure it out.
Regards,
Jim

 
  • borescopeit
  • Banned for insults
  • Banned
  • Join Date: 18-Mar 10
  • 68 posts

Posted 13 January 2012 - 03:03 AM #24

I couldn't seem to get either of these to work. I'm not for sure if I'm not understanding what they are or what.
Here are my questions:
1) Where does the "Filter Slider" pull its info from?
2) On the accordion, is this for the FAQ? If so, what are you using to start it? I can't seem to figure it out.


Unzip the archives and copy the addons and var into root directory of your cs-cart installation. Then login into your admin area and go to "Administration > Add-ons" menu. Install the "Accordion Menu" and "Filter Slider" addons.
After that in "Design > Accordion Menu" you may adjust your settings for "Accordion Menu" addon.
In "Design > Blocks" either add new block with with "Block Content: Standard Side Box > Accordion Menu" or edit your existing "Categories" block changing "Block content" from "Categories" into "Standard Side Box > Acccordion Menu".

As to Filter Slider, do the same thing with the new or existing product filters block, where "Block content: Product Filters", "Filling: Dynamic", "Appearance: Filter Slider".

Do not forget to clean templates cache by executing https://YOURDOMAIN/Y...INSCRIPT.php?cc and here you are!
BORESCOPE IT INC. - Optical Devices for NDT Specialists
Running SC-CART 2.2.4 Pro. Trying to figure out how to run 10+
sub-stores and not pay $$$$$$ for Ultimate Licenses. ;)

 
  • borescopeit
  • Banned for insults
  • Banned
  • Join Date: 18-Mar 10
  • 68 posts

Posted 13 January 2012 - 03:27 AM #25

Kinda hard to parse out what's related to the FAQ page Accordian and what's other stuff from the page source. I.e. the embedded styles and all the link directives for your cdn.borescopeitinc.com site.

Any chance you could create just a 3 element example of your FAQ Jquery stuff and post it as an archive or as source code? Would definitely like to utilize this..



<!DOCTYPE html>
<html>
<head>
  <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

  <script>
  $(document).ready(function() {
	$("#accordion").accordion({ autoHeight: false, collapsible: true, active: false, clearStyle: true, fillSpace: true, animated: 'bounceslide' });
  });
  </script>
</head>
<body style="font-size:62.5%;">

<div id="accordion">
<h3><a href="#">Section 1</a></h3>
<div>
<p>
Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
</p>
</div>
<h3><a href="#">Section 2</a></h3>
<div>
<p>
Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
suscipit faucibus urna.
</p>
</div>
<h3><a href="#">Section 3</a></h3>
<div>
<p>
Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
</p>
<ul>
<li>List item one</li>
<li>List item two</li>
<li>List item three</li>
</ul>
</div>
<h3><a href="#">Section 4</a></h3>
<div>
<p>
Cras dictum. Pellentesque habitant morbi tristique senectus et netus
et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in
faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia
mauris vel est.
</p>
<p>
Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus.
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
inceptos himenaeos.
</p>
</div>
</div>

</body>
</html>


The sample code pulls jquery scripts from external resource. You may put these scripts inside your cs-cart directory in order to minimize DNS roundups. Also, you remove the link:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
since the cs-cart uses one already. So no need to declare it twice.
BORESCOPE IT INC. - Optical Devices for NDT Specialists
Running SC-CART 2.2.4 Pro. Trying to figure out how to run 10+
sub-stores and not pay $$$$$$ for Ultimate Licenses. ;)

 
  • 590
  • Junior Member
  • Members
  • Join Date: 12-Jan 10
  • 302 posts

Posted 13 January 2012 - 04:07 AM #26

it works :!: . I only have changed for mine css.
Thanks!
CS Cart - 2.2.4

 
  • 590
  • Junior Member
  • Members
  • Join Date: 12-Jan 10
  • 302 posts

Posted 13 January 2012 - 06:05 AM #27

and here you are!


... your site when the mouse above and Menus then open.
My site: It is necessary to click
What i must change?
thaks

...ooopppssss....I have found options :mrgreen:

Edited by 590, 13 January 2012 - 07:10 AM.

CS Cart - 2.2.4

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11287 posts

Posted 14 January 2012 - 12:34 AM #28

Hmm, must be missing something....
I added this code to my styles.post.tpl file:
{if $page.seo_name == "faq"}
	<!-- FAQ page only inclusions -->
	<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
	<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
	<script>
		{literal}
		$(document).ready(function() {
			$("#accordion").accordion({ autoHeight: false, collapsible: true, active: false, clearStyle: true, fillSpace: true, animated: 'bounceslide' });
		});
		{/literal}
	</script>
	<!-- End FAQ page only inclusions -->
{/if}

Which shows on the page source as:
	<!-- FAQ page only inclusions -->
	<link href="[url="view-source:http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"]http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css[/url]" rel="stylesheet" type="text/css"/>

	<script src="[url="view-source:http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"]http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js[/url]"></script>
	<script>
		
		$(document).ready(function() {
			$("#accordion").accordion({ autoHeight: false, collapsible: true, active: false, clearStyle: true, fillSpace: true, animated: 'bounceslide' });
		});
		
	</script>
	<!-- End FAQ page only inclusions -->


I have the Description for the 'faq' page as:
		<div id="accordion">
<h3><a href="[url="view-source:http://www.ez-ms.com/#"]#[/url]">Refund policy</a></h3>
<div>
<p>If within a reasonable amount of time following your purchase (I.e. 30 days) you are not completely satisfied, we will be happy to refund your purchase price upon you removing the software from your system.</p>
</div>
<h3><a href="[url="view-source:http://www.ez-ms.com/#"]#[/url]">Licensing</a></h3>
<div>
<p>Our addon products are licensed for a single domain only.  Additional licenses can be purchased for additional domains.  When an admin logs into your cs-cart, a check of the license key against the hostname of the system is performed.  If the check fails, the addon will be automatically disabled.</p>
<p>It is a violation of our licensing agreement to disable the license checking capability.  We do NOT encrypt or encode any source so we rely upon your honesty to ensure the license checking capability is maintained.  It takes about 200 milliseconds (2/10th's of a second) to check the license so the penalty for admin login is very low.</p>

</div>
</div>
		</div>
But there is no accorion effect.

Any thoughts on why the accoridon effect is not working? All the queries are successful according to firebug NET view.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11287 posts

Posted 14 January 2012 - 12:39 AM #29

Ignore the url= stuff in the above code blocks. It is injected by the forum.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11287 posts

Posted 14 January 2012 - 12:54 AM #30

Okay, I got it working. Had to do a bit of juggling as to where and when things were included.
I have this in my styles.post.tpl file:
{if $page.seo_name == "faq"}
	<!-- FAQ page only inclusions -->
	<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
	<!-- End FAQ page only inclusions -->
{/if}

And then I have all the script stuff in the scripts.post.tpl file as:
{if $page.seo_name == "faq"}
	<!-- FAQ page include only -->
	<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
	<script>
		{literal}
		$(document).ready(function() {
			$("#accordion").accordion({ autoHeight: false, collapsible: true, active: false, clearStyle: true, fillSpace: true, animated: 'bounceslide' });
		});
		{/literal}
	</script>
	<!-- End FAQ page only include -->
{/if}

Now seems to be working fine. All have to do now is find the time to document the FAQ.

Thanks so much for this nice and clean plug-in.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • borescopeit
  • Banned for insults
  • Banned
  • Join Date: 18-Mar 10
  • 68 posts

Posted 14 January 2012 - 01:20 AM #31

Ignore the url= stuff in the above code blocks. It is injected by the forum.


You are doing good, man! I just checked it - http://www.ez-ms.com/faq.html
BORESCOPE IT INC. - Optical Devices for NDT Specialists
Running SC-CART 2.2.4 Pro. Trying to figure out how to run 10+
sub-stores and not pay $$$$$$ for Ultimate Licenses. ;)

 
  • sok777
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 378 posts

Posted 04 September 2012 - 01:10 PM #32

Does it work for CS3 ?

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11287 posts

Posted 06 September 2012 - 06:27 AM #33

No reason it shouldn't

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.