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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,242
  • Total Topics: 21,353
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 485
  • Total: 485

Adding blocks in action pages?

Started by Cartis, October 15, 2009, 08:34:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cartis

Link to my site: http://www.goldenhillspelaren.se
SMF version: SMF ver. 1.1.8
TP version: TP ver. 1.0.6 beta 2
Theme name and version: mesh114
Mods installed: Treasury and SMF Gallery Lite
Related Error messages: There is something wrong in my code that shows an error in Internet Explorer, but that is not the main reason for this post. If you find it - let me know.


I want to add some of the TP blocks from the front page to action pages like /index.php?action=foretag
And I really don't have a clue how to do this.

There must be an answer to this on the site, but I just can't find it.

Zetan

Hi Cartis. Each block does have the option of where to display it throughout your site.

  • Block > Edit > Choose where the block should appear. [Show] [Hide] > [SHOW] > Many options here, including Custom actions ( format: action1,action2)

    Hope this helps.. and, thanks for reading the posting guide, it helps us :)


Cartis

#2
No. There is no such option. This is what I have in that area:
QuoteChoose where the block should appear.
Actions:
Display on all pages and sections

Frontpage
All Forum related sections
Board Index
Recent
Show unread
Unread replies
Profile
My Messages
Calendar
Admin
Login
Logout
Register
Post
Stats
Search
Memberlist

Boards:
Display on all boards

AIK Hockey
Allt möjligt
Silly season
Insamling
Golden Hill-spelaren
Christopher Heino-Lindberg
För ledningen
   
Articles:
AIK - Bofors 4 - 0 25/1 länkar
.....

Article categories:
Gammalt stöd
Stöd AIK
   
Languages:
english
swedish
I cannot find any custom actions.

Edit: Even if I mark "Display on all pages and sections" there are no blocks on the custom pages.

Renegd98

Custom actions ( format: action1,action2)

Should be an area at the bottom of the Choose where the block should appear. [Show] [Hide]

G6Cad

He is using the old beta2 TP,

You need to update to beta4 to have these options

Cartis

OK. Thanks, G6.
Unfortunatly the update seems to be difficult as it shows that almost all files in the automatic installation failed. :(

Zetan

Ah.. sorry about that, I forgot that this was a more recent feature.

If you are getting many errors when trying to upgrade, you will need to manually upgrade the installation. There are Doc's on how to do this at the TP Doc's site:
http://docs.tinyportal.co.uk/index.php?action=forum

It may seem daunting at first, but if you take your time and follow the steps carefully, you shouldn't have any problems.

Make sure you are using the SMF default theme when upgrading.. also make sure you are following the correct documentation for the versions you have installed/upgrading to.


Cartis

Sorry if this is a totally different question, but which files are changed between:
TinyPortal v.1.0.6 beta 2
and
TinyPortal v.1.0 beta 4

Do I have to uninstall the old one, because there are already changes done to some files that seems to be the same in both versions?
If I uninstall the old one and install the new one, will my blocks disappear?

Renegd98

There are many changes betwene the versions.  You best bet is to uninstall the old version ans attempt to install the new version thru the package manager.  if you are unable to do that then follow the instructiosn for a manual install provided by Zetan.

You will not lsoe the blocks you created as the data is kept in the database.

Cartis

Thanks for all the help. After a lot of work I now have upgraded and have the "Custom actions" field in the block edit pages.
But I still cannot get the blocks in the custom pages.

I want a block in page:
http://www.goldenhillspelaren.se/index.php?action=privatpersoner

so I just wrote: "privatpersoner" in the "custom actions" field in the block. What did I do wrong?

This website is proudly hosted on Crocweb Cloud Website Hosting.