Page 1 of 1

Glossary/Faq problem

Posted: Sat Mar 11, 2006 6:28 am
by ryde
Hi,

I have a small problem concerning the use of a Faq using the Glossary module and I can't figure out how to solve it.. Here is the problem:

I have I Menu item through which I have access to the Faq (I use the Glossary module). The content of this page is as follows:
------Start content page-----------
Some Text

{cms_module module = 'Glossary'}
------End content page-------------

Now, everything works fine when I access this Faq through the menu. I get an overview of the questions of a part of the alphabet and when I click on a question, everything works fine. BUT when I click on the "previous" or "next" links "Some text" (that was added as a kind of header to this content page) is disappearing. Is there an easy way to avoid this? (The same problem shows up when using PiFaq).

Another small issue I have: is there any way I can have control over the order in which the questions appear? Ok, I understand that everything is ordered alphabetically in this module but if I for instance would built a website about racing cars, I would like the question "What is a racing car?" to show up first, not at the end.

Any help is appreciated!

Ryde

Re: Glossary/Faq problem

Posted: Sun Mar 12, 2006 6:01 am
by ryde
I tried to solve the problem by using a special template for this one page:


  {content}



Now, everything works fine (again) accessing the page through the menu. Clicking the previous and next links in the Faq to select a part of the alphabet in the Glossary/Faq removes the text in the 'content' and shows the Faq TWICE.

I'm lost......

Ryde

Re: Glossary/Faq problem

Posted: Sun Sep 09, 2007 3:31 pm
by afri-can
To get rid of the previous and next I commented the follwing code out
{$navprev}  {section name=numloop loop=$navarray}{$navarray[numloop].name}{if ! $smarty.section.numloop.last} : {/if}{/section}  {$navnext}
-->
you can also delete the code between the comments
I always comment things out so that if I need to use the code that I commented out I can always un comment it

About the order I also need help, if anyone knows a solution ???
I tried numbering the questions (1., 2., 3., etc...) but when I get to 10. it appears as the second item second

Re: Glossary/Faq problem

Posted: Mon Sep 10, 2007 12:07 pm
by chilsta
One work-around may be to start your numbering at 001 rather than 01? That'll hopefully give you 999 questions to play with :)

C*

Re: Glossary/Faq problem

Posted: Mon Sep 10, 2007 12:18 pm
by afri-can
I found another module called questions, with a bit of CSS and Javascript I got it to do what I need

Thanks

Steven