Home »
FUDforum »
How To »
adding articles at the top.
|
|
Re: adding articles at the top. [message #15510 is a reply to message #15502] |
Wed, 17 December 2003 16:53   |
 |
hello-world
 Messages: 47 Registered: December 2003
Karma: 0
|
Member |
|
|
Hi,
Sorry, I was a little vague, I guess.
Can I add dynamic content?
Actually a bunch of html files according to the topic.
FOr instance something like this..
<!-- include {VAR: id->topic}.html>
<!-- include {VAR:id->topic}_right.html>
Then _contents_ of these files will be automatically included inside.
In such a case, FUDforum can work as a full fledged content
management system, I mean, if CMF is what I understand it is.
Thanks in advance.
[Updated on: Wed, 17 December 2003 16:55] Report message to a moderator
|
|
|
|
Re: adding articles at the top. [message #15514 is a reply to message #15511] |
Wed, 17 December 2003 17:05  |
 |
hello-world
 Messages: 47 Registered: December 2003
Karma: 0
|
Member |
|
|
Hey,
That's damn cool.
Is there a way to embed "IF" statements inside the template file? If
I use php I wont be able to use the template syntax..
if (forum->id == 1) {
// Means it is the article with feedback..
main_section }
else {
main_section }
If that is not possible, could you just point me to the php files
that handles the templates.
Thanks.
[Updated on: Thu, 18 December 2003 06:22] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Apr 23 12:31:11 GMT 2025
Total time taken to generate the page: 0.10911 seconds