News:

June, 2024 - TP Docs is now running on the newest version of TinyPortal Version 3.0.1.!

Main Menu

Search articles


Search in titles
Search in article texts

Docs Navigation





How Do I Create A Javascript Block?

Started by Xarcell, April 16, 2008, 12:31:20 PM

Previous topic - Next topic

Xarcell

Please Note
This type of block was only available for older versions of TinyPortal and is no longer supported.
This document remains only for informational purposes.


To create a block, go to "Admin > Tiny Portal > Panels & Blocks > SELECT PANEL TYPE > Add New Block". Next, select "scriptbox" block-type then click save. From there just enter in your block title.

Now you will have several standard block options to select.

Block Frame/Looks:

  • Use frame from theme
  • Use frame, but not title
  • Use just the title
  • Do not use title/frame
Block Upshrink:

  • Allow block to collapse
  • Do not allow block to collapse
Who Can View Block:

  • There will be a list of all membergroups to toggle from.
  • If none are chosen, it will only show it to admin.
  • Toggle all membergroups option
Who Can Edit Block:

  • There will be a list of all membergroups to toggle from.
  • Remember, "manage_blocks" and "admin" permission always give this right regardless.
  • Toggle all membergroups option
Block Access:

  • Show for this action(dropdown list of actions, or custom action name) - with toggle "reverse criteria" option.
  • Show when inside this board(dropdown list of boards) - with toggle "reverse criteria" option.
  • Show inside this TP section(dropdown list of module index's)
  • Show when viewing this article(dropdown of written articles) - with toggle "reverse criteria" option.
  • Show when viewing this category listing(dropdown list of categories) - with toggle "reverse criteria" option.
  • Show for this language

Then click save. Be sure to turn your block on afterwards.



Doc Written By: Xarcell

Doc Update; 10/17/2015 By: Ken.