How to print content?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
haapati
Forum Members
Forum Members
Posts: 20
Joined: Sun Sep 10, 2006 4:14 pm

How to print content?

Post by haapati »

Well, i made a module and it have a contenttype.modulename.php. How do i print the content to the {content} tag? And can anyone tell me more about Show() function? I have a couple of my own params called "tekniset" and "esittely". I dont have the content_en param.
Last edited by haapati on Wed Nov 07, 2007 6:57 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: How to print content?

Post by calguy1000 »

just echo the information out, it'll automatically replace content.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
haapati
Forum Members
Forum Members
Posts: 20
Joined: Sun Sep 10, 2006 4:14 pm

Re: How to print content?

Post by haapati »

Will i do it under some function?

function Show() {

echo 'hello';

}

?
Post Reply

Return to “Modules/Add-Ons”