Forums / Setup & design / Include forum topic in reply
Bjarte Lunde
Wednesday 12 January 2005 2:02:11 am
Hello!
I've been trying to modify my forum templates to look like ez.no's...
But how do i display the original message in the reply.I don't want it included in the form, but only display.
Eivind Marienborg
Wednesday 12 January 2005 4:34:41 am
A possible solution to this could be fetching the forums parents name (=forum topic), adding a "RE: " ahead of it, and displaying that.
Wednesday 12 January 2005 4:41:59 am
I have tried different solutions, but i can't really get the correct code for it.
Wednesday 12 January 2005 4:52:35 am
Hmm, I think I might have misunderstood you.. do you want the original forum topic displayed when replying to something? Or another part of the ez forum?
Wednesday 12 January 2005 5:40:53 am
> Hmm, I think I might have misunderstood you.. do you want the original forum> topic displayed when replying to something? Or another part of the ez forum?
Yep.. I want the original message when i reply. Or the whole thread.
Wednesday 12 January 2005 5:59:32 am
If you want the entire thread, you might get away with copying the fetch code from your forum template, and pasting it in your edit template.
To display the forum topic, you can try this (in your edit template): 1. Fetch the parent of the forum reply2. Display the desired attributes
I don't have the exact template code for it here and now, but there should be examples of it on ez.no, try the search.
Wednesday 12 January 2005 1:01:35 pm
Took some time and testing but found out how to do it now!Thanks for all help!