News:

Wondering if this will always be free?  See why free is better.

Main Menu

Moving elements from one file to another.

Started by sqthreer, October 18, 2005, 05:16:10 AM

Previous topic - Next topic

sqthreer

What I'm trying to do is copy some things from Display.template.php to index.template.php.

To be more specific, I'm trying to copy the user's information such as their custom title, number of posts, star images, etc.

An example of what I tried moving over is:

', $txt[26], ': ', $message['member']['posts'], '

to display their posts.

Now I know nothing about php, and what I do know, I learned from tweaking things in these files. I tried changing the $message to $context like I see most other similar looking things in the file, but it does nothing. All that displays on the index.template.php is "Posts:" which is understandable considering the $txt stuff doesn't seem to be file specific.

What must I do to get this to work?

sqthreer

Anyone? It's not really urgent, but it would be good to know.

Advertisement: