SimplePortal

Customization => Custom Coding => Topic started by: ddabcd277 on February 08, 2014, 10:19:48 AM

Title: Request: Block between the posts
Post by: ddabcd277 on February 08, 2014, 10:19:48 AM
Hello,

Is it possible a block between the posts to be added?

BR,
Title: Re: Request: Block between the posts
Post by: AngelinaBelle on February 11, 2014, 09:34:56 AM
The short answer is -- yes, but, depending on how you plan to do this, it could require considerable customization.
Or not.

What do you want to put in the block?  if you want to put an ad -- there are already mods for adding an ad between posts.

If you simply want to modify one theme to call some simpleportal code to put one simpleportal block before the first reply to a topic, you can do this. You would use the same ideas that are used in blocks-in-blocks to do this, and work with the appropriate template of the theme you want to change.
Title: Re: Request: Block between the posts
Post by: ddabcd277 on February 12, 2014, 03:54:01 AM
Hi,

Thanks. I would use the idea of block-in-block.

Yes, I wanted to put an ad. I know there are other modifications. But thought simple portal would be enough.
Title: Re: Request: Block between the posts
Post by: [SiNaN] on February 17, 2014, 05:26:55 AM
If it's just an ad you can directly add it into Display.template.php. You don't really need to use SimplePortal for that.
SimplePortal 2.3.8 © 2008-2024, SimplePortal