Page 1 of 1

[solved]if you are using Question module , please help me .

Posted: Fri Aug 24, 2007 10:32 pm
by amin30b
Hi  :)

in Question module help tips there is an issue about 'More' link that when a user click on it he or she could see detailed mode .

I`ve placed {cms_module module=Questions} tag into my page but my page just shows summary of questions without answers
and there is no 'More' link to view detailed questions and answers .
How can I load 'More' link for detailed view and use Question module as a real F.A.Q module ?

Re: I can`t find 'More' link in Question module !

Posted: Sat Aug 25, 2007 7:50 am
by amin30b
Any idea ?
This module really solve my many problems .
I can`t show just ((answers)) of questions ( detailed mode ) to my users . please help me . :-[

Re: if you are using Question module , please help me .

Posted: Sat Aug 25, 2007 2:47 pm
by calguy1000
put a {$entry|print_r} into your template it will dump out the entire contents of the entry and show you what fields are available.

Re: if you are using Question module , please help me .

Posted: Sat Aug 25, 2007 4:15 pm
by amin30b
Hmmm , calguy1000 , I had a try on {$entry|print_r}in my template and result is as below (this is for one of my questions) : :o
stdClass Object ( [id] => 3 [category_id] => 1 [created] => 1187970735 [author] => Madnet [question] => Are you here? [answer] => Yes,I am . [answered_by] => admin [answered_date] => 1187976892 [approved_by] => omiddaemon [approved_date] => 1187976892 [name] => main category [long_name] => main category [morelink] => More [moreurl] => http://localhost:81/cmsms/index.php?mac ... eturnid=61 ) 1
I just need More link with its related url . How can I load only "More" statement with
its related link ?

Re: if you are using Question module , please help me .

Posted: Sat Aug 25, 2007 4:36 pm
by calguy1000
moreurl}">More
]

Re: if you are using Question module , please help me .

Posted: Sat Aug 25, 2007 8:15 pm
by amin30b
excellent  :D
thanks a lot .