| Re: Copy content from a Block to a Template |
| by sunsnapper on 2005/5/1 1:53:40 Has anyone done something like this? If I'm reading the suggestions correctly, I believe that's what I already tried (see first post).
|
| Re: Copy content from a Block to a Template |
| by sunsnapper on 2005/4/28 20:36:17 Am I using the correct terminology? |
| Re: Copy content from a Block to a Template |
| by sunsnapper on 2005/4/27 2:16:51 I may be using the wrong terms... I thought the Theme controls positioning, but, the templates (included with each module) control the module output. I am trying to add the Recent Comments Block (newbb_block_new) to the index template for newbb (newbb_index) (Both are found in the Admin area for newbb templates). So, I'm not trying to put this in theme.html |
| Re: Copy content from a Block to a Template |
| by pod on 2005/4/26 11:48:06 I've tried... its really not that easy. I think ur first step would be to isolate the php file that generates the block & edit the output string - instead of it generating block.variables have it output the data you want directly & save it with a different name, dont overwrite the original. Then... I dunno... I dont think we can have php includes in our theme.html so besides importing the data to flash & displaying it that way, I can't help ya from there. Bet someone here could shed some light... [Edit: yeah, what Mithrandir said ;)] |
| Re: Copy content from a Block to a Template |
| by Mithrandir on 2005/4/26 11:47:17 Perhaps look at the block function, since that is what generates the content. The template just positions it. |