FAQ Module?

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
1/24/2007 10:43:15 AM
Gravatar
Total Posts 9

FAQ Module?

Any Plans for an FAQ Module?  Or does anyone have tips for using some other module for this purpose?
1/24/2007 12:06:10 PM
Gravatar
Total Posts 18439

Re: FAQ Module?

Someone mentioned a while back that they were going to implement one and contribute it, not sure if/when it will happen.
Whether you can use another module depends on what your feature requirements for a FAQ are.
A simple FAQ page could be just a page with a series of HtmlContent modules or it could be all in one HtmlContent module.
A more complex FAQ system would need to be implemented as its own module.

Joe
1/24/2007 1:46:03 PM
Gravatar
Total Posts 9

Re: FAQ Module?

Thanks for your answer, I guess I'll try a page with HTMLContent Modules for some simpler stuff but I may have to wait for someone to write a Module or me to be bright enough to write one myself

1/27/2011 4:46:19 PM
Gravatar
Total Posts 1

Re: FAQ Module?

Is there an update on this topic? Has FAQ module been created?

3/7/2011 1:49:45 AM
Gravatar
Total Posts 6

Re: FAQ Module?

Is there an update on this topic? Has FAQ module been created?

4/3/2011 3:37:34 PM
Gravatar
Total Posts 251

Re: FAQ Module?

No need to do a module for that

You can do a nice page using the jquery accordion that's loaded by default

You can use the template in the editing ui, or just place an html module and write an html like this:

<p>Paragraph before the accordion</p>
<div class="mojo-accordion">
<h3><a href="#">Question 1</a></h3>
<div>
<p>Long details about question 1......</p>
</div>
<h3><a href="#">Question 2</a></h3>
<div>
<p>... and so on</p>
</div>
<h3><a href="#">Section 3</a></h3>
<div>
<p>Section 3 content</p>
</div>
<h3><a href="#">Section 4</a></h3>
<div>
<p>Section 4 content</p>
</div>
</div>
<p>Paragraph after the accordion</p>

4/4/2011 7:19:49 AM
Gravatar
Total Posts 18439

Re: FAQ Module?

In mojoPortal 2.3.6.4 we also added a Content Template for FAQ, that uses a little jquery (but not accordion). You can see it on our FAQ page.

Best,

Joe

4/8/2011 8:38:14 AM
Gravatar
Total Posts 51

Re: FAQ Module?

Hi Joe,

I use 2.3.6.4 SqlCe.

I see FAQ as Content Template but if I select it nothing changes. Perhaps a bug in CE version?

4/8/2011 8:47:45 AM
Gravatar
Total Posts 18439

Re: FAQ Module?

Hi Erhan,

I just tried to produce this problem using the latest code with SQL CE but it worked fine.

Best,

Joe

4/8/2011 9:11:11 AM
Gravatar
Total Posts 51

Re: FAQ Module?

Hi Joe,

I tried it again. Problem is not SQL CE, it's Content Editor. It works by FCKeditor but not by TinyMCE.

Best

4/8/2011 9:51:35 AM
Gravatar
Total Posts 18439

Re: FAQ Module?

Hi Erhan,

Thanks for the clarification. This is now fixed in the source code repository.

Best,

Joe

4/8/2011 10:33:36 AM
Gravatar
Total Posts 51

Re: FAQ Module?

Thanks Joe,

New FAQ feature is very useful. I have a suggestion:

A button or a link to close all opened FAQ's at a time??

 

4/13/2011 10:58:18 AM
Gravatar
Total Posts 21
Silviuz

Re: FAQ Module?

@Joe says: In mojoPortal 2.3.6.4 we also added a Content Template for FAQ, that uses a little jquery (but not accordion). You can see it on our FAQ page.

Best,

Joe

Hi Joe

Nice solution! Could you please explain how to implement this feature as on your FAQ PAGE? Did you use something like this ?

Do I have to create a folder named (eg) "jquerySimpleFAQ" under ClientScript ....and then??

Thanks

 

 

4/13/2011 11:13:01 AM
Gravatar
Total Posts 251

Re: FAQ Module?

No, you just need to use the "content template" button in the wysiwyg html editor of a page

4/13/2011 11:16:39 AM
Gravatar
Total Posts 18439

Re: FAQ Module?

You also need to make sure you have this in your style.config file

<file cssvpath="/Data/style/common/style.css" imagebasevpath="/Data/style/common/">none</file>

See also the sticky thread in the skinning forums Important Skin Changes

I'm not sure the on you linked to is the exact one we used but it is something very similar.

Hope it helps,

Joe

4/13/2011 11:25:50 AM
Gravatar
Total Posts 21
Silviuz

Re: FAQ Module?

@Magnetic_dud

in the wysiwyg html editor i can see only "accordion-jquery" , "accordion no auto height-jquery"," tabs-jquery"...and then 2-3-4 colums

 

@Joe

ok, I give it a try!

4/13/2011 11:28:06 AM
Gravatar
Total Posts 18439

Re: FAQ Module?

doesn't sound like you are using mojoPortal 2.3.6.4 if the FAQ template is not shown. It does not exist in older versions. You can check your version from Administration > System Information

4/13/2011 11:31:11 AM
Gravatar
Total Posts 21
Silviuz

Re: FAQ Module?

2.3.6.2.... you're right! :-(

Must update!

Thanks

 

12/6/2011 9:05:10 PM
Gravatar
Total Posts 24

Re: FAQ Module?

Anyone know how to change the little 'Q' and 'A' images on the FAQ template?

Or the css for it to change the font , color etc..?

12/6/2011 9:17:43 PM
Gravatar
Total Posts 24

Re: FAQ Module?

Figured it out

The icons are in /Data/style/common as Joe mentions above and you can change the font with the style.css file in the same folder

12/7/2011 1:02:12 PM
Gravatar
Total Posts 2239

Re: FAQ Module?

Hi,

I don't suggest changing the files insideof /Data/style/common. These files will be overwritten by upgrades.

To change the images in the FAQ template you should create your own CSS rules to override the rules from /data/style/common/style.css. For instance, adding this to the style.css file in your skin directory will override the images:

.faqs dt {
  background: url('question.png') no-repeat scroll 0 0 transparent;
}

.faqs dd {
  background: url('answer.png') no-repeat scroll 0 0 transparent;
}

For the above to work, you would need files named question.png and answer.png in your skin directory.

HTH,
Joe D.

12/15/2011 1:31:30 AM
Gravatar
Total Posts 46

Re: FAQ Module?

Hi, joe

I see below code 

/////////////////////////////////////////////////////////////

if (includeSimpleFaq)
{
initAutoScript.Append("$('.faqs dd').hide();"); // Hide all DDs inside .faqs

........................
}

//////////////////////////////////////////////////////////

Above code lead FAQ's DDs default hided when page loads.

But I want DDs default shows when  page loads,

How can I do?

Thanks!

12/15/2011 10:50:10 AM
Gravatar
Total Posts 2239

Re: FAQ Module?

Hi,

Click the "HTML" button in the WYSIWYG editor and then add this to the top:

<script type="text/javascript">
    $(document).ready(function(){
        $('.faqs dd').show();
    });
</script>

HTH,
Joe D.

1/21/2012 2:46:25 AM
Gravatar
Total Posts 46

Re: FAQ Module?

Thanks!, it works very good!

You must sign in to post in the forums. This thread is closed to new posts.