Glossary/Faq problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
ryde
Forum Members
Forum Members
Posts: 20
Joined: Fri Jan 27, 2006 10:41 pm

Glossary/Faq problem

Post 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
ryde
Forum Members
Forum Members
Posts: 20
Joined: Fri Jan 27, 2006 10:41 pm

Re: Glossary/Faq problem

Post 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
afri-can

Re: Glossary/Faq problem

Post 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
User avatar
chilsta
Forum Members
Forum Members
Posts: 52
Joined: Thu Oct 20, 2005 8:22 pm

Re: Glossary/Faq problem

Post 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*
afri-can

Re: Glossary/Faq problem

Post 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
Post Reply

Return to “CMSMS Core”