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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 589
  • Total: 589

[Block] Custom Page

Started by Thurnok, August 09, 2006, 08:13:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thurnok

Ok, but I'm still trying to isolate your problem, regardless of what is causing it.  When you stated you got the error when going to the Custom Page, I'm assuming it happens only when the Custom Page block is visible.  Is this or is this not the case?

If you simply disable the Custom Page block, and then in turn, other blocks that display on the same page, you can narrow down where the issue is originating from.

keith021773

Ok..   The custom page is an article that displays on it's own page..   There are no left, right, or center blocks there..  Just the custom page article. 

The error only displays when you go to the custom page.    Here is a pic.


Thurnok

Well, as the error in question is typical of the things I mentioned previously, you should be looking for a missed semi-colon or curly brace.  If you want, you can set up a temporary admin ID/Password and PM them to me and I can take a look at the block for you.

keith021773

that would be great Thurnok.   I will PM you now.

Thurnok

Apparently an issue with PHP 5 - with backslash denoting literals.  Original post has fix in it.  For anyone else who had problems with this block and PHP 5.x, try the new code to see if it resolves your issue.

whatever

Many thanks for this! It works perfectly for me.

A suggestion:
It is possible to set an iframe to adjust size automatically. I use this for my coppermine gallery in TP:
IFrame SSI script II- Ã,© Dynamic Drive DHTML code library (http://www.dynamicdrive.com)

MinasC

great code man !!! i used it in a phpblock and looks perfect !!! could it be that the selected page would be shown whole as a thumbnail or a preview ?? it could be clickable i guess , set to open in a new window when clicked !!! how about that idea ??

Thurnok

Didn't want you to think I disregarded you "whatever" and "MinasC".  I'll look into both these things when I have time.  I've been pretty tied up lately with work, and house maintenance things.

MinasC

ok man , i'm looking forward to your answer , cause i could really use this for a number of things !!! thnx

MinasC

Quote from: MinasC on February 27, 2007, 11:23:37 AM
great code man !!! i used it in a phpblock and looks perfect !!! could it be that the selected page would be shown whole as a thumbnail or a preview ?? it could be clickable i guess , set to open in a new window when clicked !!! how about that idea ??

hey there again !

Thurnok i don't mean to press you , just remind you . is there anything new about that ?

thnx again .

This website is proudly hosted on Crocweb Cloud Website Hosting.