News: October, 2020 - TP Docs is now running on the newest version of TinyPortal Version 2.0.0.!

Search Articles


Search in titles
Search in article texts

Docs Navigation





Author Topic: How Do I Create An HTML & Javascript code Block?  (Read 1012 times)

Offline Ken.

  • Administrator
  • Full Member
  • *****
  • Posts: 151
How Do I Create An HTML & Javascript code Block?
« on: November 11, 2015, 10:05:12 PM »
To create a block, go to "TinyPortal > Panels & Blocks > SELECT PANEL TYPE > Add Block". Next, select "HTML & Javascript code" 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 Updated 11/22/2015 By: Ken.
« Last Edit: November 22, 2015, 12:21:11 PM by Ken »