Support Forum

  • Page:
  • 1

Show FAQ titles?

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I have an article and using
{ loadposition FAQ }
it shows 2 different modules/faqs without a problem - the faq system works fine (and neatly as well).

However, I'd like to have the title of each faq also displayed. I've turned it on in each of the faq modules but it won't display in the article.

What I'd like is to see is something like this:

FAQ 1 - Buying Property

Q1
Q2
Q3...

FAQ 2 - Selling Property

Q1
Q2
Q3...

Thanks!
  • arathra's Avatar
  • arathra
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Arathra,

Can you please provide a link to the problem?

Thanks,
Tom
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
greekvillas4rent.com/cms/index.php/faqs

Just over half way down the FAQ "What if I have to cancel my reservation?" is actually the first question of a completely seperate module.

I'd like to have the module title above that question and of course above the first question.

thanks.
  • arathra's Avatar
  • arathra
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
I understand that you include the module in an article page, using { loadposition FAQ }. In that case the module title cannot be displayed. This goes for all modules that are included in content. You'll see just the content of the module.

To have what you want, do this:

----begin
THIS IS THE HEADER FOR FAQ 1

{ loadposition FAQ NR 1 }

THIS IS THE HEADER FOR FAQ 2

{ loadposition FAQ NR 2 }

---- end

That's it!

Let me know if this works for you,
Tom
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
I can't get the two mods to display.

The first has an ID of 30 and a Module ID of 1, I put in

{ loadposition FAQ NR 1 }

(without the spaces) but nothing shows.

Is that correct?
  • arathra's Avatar
  • arathra
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
Can you tell me what FAQ module you are using? Moo Faq (SEF), Moo Faq, JB Faq or Bamboo Faq?

I will see what I can do to find the right way.

Thanks,
Tom
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
I see that you have the titles visible now. What I think you did wrong is not use the correct syntax for the faq modules. You should keep them as you had, I just added NR to be clear.

Tom
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
It's the JB FAQ for Joomla 1.5

I had 2 modules, each one displaying a different category of articles.

In the first instance I had just one LOADPOSITION which displayed both the modules.

Originally it was
{ loadposition FAQ }

Then I tried to put in the titles as you suggested and have
Choosing, Booking & Policies

{loadposition FAQ }

Arrival, Departure, the Homes & your Stay

{loadposition FAQ }

But obviously this displays both FAQs twice.

How can I differentiate between the first faq and the second?

Thanks!
  • arathra's Avatar
  • arathra
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
Yes, now you have it right. The second header is still below the second FAQ list. Simply cut and paste it in between:

start

Choosing, Booking & Policies

{ loadposition faqtogglerdiv1 )

Arrival, Departure, the Homes & your Stay

{ loadposition faqtogglerdiv2 )

----end
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
Okay, this is completely correct. BUT!

You haven't really pasted what I suggested. This is what you really did - but didn't realize:
<p>{loadposition 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="ProgId" content="Word.Document" />
<meta name="Generator" content="Microsoft Word 12" />
<meta name="Originator" content="Microsoft Word 12" />

 ABOUT 100 LINES MORE OF THIS

	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->faqtogglerdiv1 }</p>

What you have done is paste from a word-like editor into the content. If you take a look at the HTML behind it, you can do that by pressing the HTML editor button, you'll see what I mean. That's why the faq doesn't work.

Remove the whole content and cut and paste the code I gave you in notepad first. Then copy that and paste it in the content (not the html editor part! ;-) ). Then it should work fine.

Tom
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
Thanks - I realised that but when I cleaned it all up and pasted in bare text this:

Choosing, Booking & Policies

{loadposition faqtogglerdiv1}

Arrival, Departure, the Homes & your Stay

{loadposition faqtogglerdiv2}


It showed neither FAQ!

Then I realised my mistake! Both the FAQs were loaded into position FAQ so I simply changed the first FAQ to FAQ1 and the second into position FAQ2!

Basically I was thinking this was a configuration problem with the FAQ whereas it was actually a configuration issue with loadposition! :S

Anyhow, all is well now and thanks *very* much for your help and patience!
  • arathra's Avatar
  • arathra
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
Well done!

You might add an extra line above the first header for clearity.

Happy it helped you,
Tom
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
Great discussion ... I actually learnt recently that the module title can be output but Joomla 1.5 by default has it set to not display the title. So to enable the module out put when using the {loadposition myposition} syntax you can edit the plugin parameters int he plugin admin.

That might be another way to label your faqs.

Thanks Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi Anthony,

That's interesting, I didn't know - obviously. :-) Thanks!

Tom
  • Tom de Kok's Avatar
  • Tom de Kok
  • 12 Month basic
  • 316 posts
  • Karma: 7
The administrator has disabled public write access.
Hi folks!
So to enable the module out put when using the {loadposition myposition} syntax you can edit the plugin parameters int he plugin admin.

Sorry if I am a little slow ...., but: what plugin are you talking about? I only found a module for JB FAQ and for listing the FAQs in the content it does not seem to make a difference if I select "Show Title" in the module.

Thanks for elaborating on this! ;-)

Ray
  • Raimund Engel's Avatar
  • Raimund Engel
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Ray,

There is a plugin in the Joomla admin called loadposition. You can set the options there.

Hope that helps.

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi Anthony,

thanks for the super-fast reply!

See, this is interesting: I use the { loadposition FAQ } command in my content, and it works, so it must be somewhere. But when I go to the Admin backend / Extensions / Plugin Manager it's not listed. (There is just a <content - load module> plugin which seems unrelated.)

Can you tell me where it's hidden?

Ray
  • Raimund Engel's Avatar
  • Raimund Engel
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Sorry Ray thats the one :)
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Thanks - I tried again and now it works perfectly!
  • Raimund Engel's Avatar
  • Raimund Engel
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks Ray - good luck with the site :)
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers