TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 141
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 124
  • Total: 124

Articles coded into a scriptbox?

Started by othersi, January 04, 2007, 07:50:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

othersi

Wondering if this is possible.

We're running the latest TP on the latest SMF.  We use the TP article system for user-submitted reviews.

Our "front page" is has a different look than the forum itself, calling on a different style sheet.

What we're trying to do is put a 'block' on the front page, which shows the existing articles... automatically updating as new articles are approved (with newest on top)... BUT, the kicker is that we want to place this content inside a custom-styled block.

ie.  The built-in functions of TP allow us to put Category Blocks on the front page, but if we place the block on the with Frame/Title enabled, the look of it is the "forum" look, and not what we want, as it doesn't match the front page, and also is pushed to the left edge of the page, not centered.

If we set it with Frame/Title disabled, then it's just plain, unattractive text, pushed onto the left of the page.

What we want to do is place the automatically-updating article "feed" (for lack of a better word) inside a block in which we've set our own style... centered on the page, given it our own background, surrounded it with out own "frame", etc.

eg.  Look here:  www.othersi.com

The center "Headlines" block, is built with a custom table, custom header image, custom "frame" , etc... all inside a "Script Box".

So... the question is... can we somehow place the Article content in our own custom script box?

I hope the question made sense... lol

othersi

More info:

We've done up a "mock-up" block with a few articles listed (again, at www.othersi.com) showing what we're trying to achieve.

Ideally, we'd like to have this updated automatically, showing all... or the last X number of reviews.

(as a side note... perhaps this thread would be better in the Block Snippet board?  if so, could it be moved?)


othersi

I think that's pointing me in the right direction, thank you. :)

This website is proudly hosted on Crocweb Cloud Website Hosting.