News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

January 24, 2020, 07:39:54 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189422
  • Total Topics: 20795
  • Online Today: 238
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 50
Total: 50

Author Topic: Custom Actions and Tp Blocks  (Read 9764 times)

0 Members and 1 Guest are viewing this topic.

brianjw

  • Guest
Re: Custom Actions and Tp Blocks
« Reply #10 on: January 02, 2007, 09:34:16 AM »
No Problem :)

Tommy

  • Guest
Re: Custom Actions and Tp Blocks
« Reply #11 on: March 22, 2007, 11:27:48 AM »
Since any custom action is assumed to be the "forum" part, the setting for hiding panels when in forum, will set in whenever your custom action is run.

I rather suggest you set them on in the forum to be able to see them. Or - use the extended visiblity options for each block and make that block show when in your custom action. Choose "custom" and type in the action name in the filed next to it. it should then display in your custom action even if blocks are set to be hidden in forum.

Well...is there no option to display the right panel on the custom action page even if it's deactivated in the forum? I only want to display the right panel on the forums index - and on my custom action (action=hpnews).

Yep, i could use the "extended visibility option" but for that I need two (but the same) blocks.
One for the index and one for my custom action page...
« Last Edit: March 22, 2007, 11:31:48 AM by Dubidu »

Offline Thurnok

  • Friends
  • *
  • Posts: 784
Re: Custom Actions and Tp Blocks
« Reply #12 on: March 22, 2007, 09:45:37 PM »
hehe... this is the first time I came across this topic, but I'm assuming that OuK^- fixed the error in the code that is in his first post since he later posts he got it... LOL

FYI, if you are wondering...
Code: [Select]
<?php
.
.

$context[&#39;page_title&#39;] = &#39;Just Testing;

.
.
?>


should be:
Code: [Select]
<?php
.
.

$context[&#39;page_title&#39;] = &#39;Just Testing&#39;;

.
.
?>


Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: Custom Actions and Tp Blocks
« Reply #13 on: March 23, 2007, 07:29:59 AM »
Since any custom action is assumed to be the "forum" part, the setting for hiding panels when in forum, will set in whenever your custom action is run.

I rather suggest you set them on in the forum to be able to see them. Or - use the extended visiblity options for each block and make that block show when in your custom action. Choose "custom" and type in the action name in the filed next to it. it should then display in your custom action even if blocks are set to be hidden in forum.

Well...is there no option to display the right panel on the custom action page even if it's deactivated in the forum? I only want to display the right panel on the forums index - and on my custom action (action=hpnews).

Yep, i could use the "extended visibility option" but for that I need two (but the same) blocks.
One for the index and one for my custom action page...
No, not currently..because the blocks are fetched quite early and aslo consider the "hide in forum" setting, its hard to do this.

In TP 0.9.5 and earlier it WAS possible - because the hide-in-forum setting was applied  after the blocks were loaded. But since the introduction of dynamic blocks, I had to add that setting into the fetching routine itself. Its more resource friendly this way, only loading what you need. 

sc2forums

  • Guest
Re: Custom Actions and Tp Blocks
« Reply #14 on: June 10, 2007, 12:34:18 AM »
Since any custom action is assumed to be the "forum" part, the setting for hiding panels when in forum, will set in whenever your custom action is run.

I rather suggest you set them on in the forum to be able to see them. Or - use the extended visiblity options for each block and make that block show when in your custom action. Choose "custom" and type in the action name in the filed next to it. it should then display in your custom action even if blocks are set to be hidden in forum.

I've been trying to do the same thing, but I don't have the option "custom" in the dropdown menu... there is the field for entering the custom name next to it, but no 'custom"? Any help would be appreciated! Thanks!

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Custom Actions and Tp Blocks
« Reply #15 on: June 10, 2007, 06:05:24 PM »
Thats all you need. You put the name of the custom action in the text box.

Tommy

  • Guest
Re: Custom Actions and Tp Blocks
« Reply #16 on: July 07, 2007, 08:09:10 AM »
Hi,

does anyone know a "theme code" for a custom action site, so I can choose a theme for it - like in smf boards "Board Theme
This allows you to change the look of your forum inside only this board." ?
Would be great - thanks!

/Edit: oops, you guys don't give support for smf questions, right? Then forget it...  :(