|
|
Problem with Blocks in 3.0
Posted by Jim Murray |
Topic: General Saturday July 22 2000 @ 02:27AM EDT |
|
For some reason the 3.0 when I try to use just the include feature and enter in a path when it goes back to the Block Manager, it shows the template name in the "Type" column instead of the words HTML or TEMPLATE like it should.
The include I enter does not work either.
Any ideas?
|
tonyo writes on Saturday July 22 2000 @ 04:02AM EDT: [ reply | parent ]
hiyas,
what worked for me is to include the full path to the file you want to include. no quotation marks, parentheses, or semicolon.
for example, if the file i want to include is "/testing.html" located in a directory "dev" and my $DOCUMENT_ROOT is /home/tonyo/www, the ONLY thing in the textbox for an include in the blocks form would be:
/home/tonyo/www/dev/testing.php
my only problem with includes is that i'm having problems with form submissions from a pages include. whenever i try to submit information from a form that i setup with includes in pages.php, i get a page not found error or something like that... :(
|
Jim Murray writes on Saturday July 22 2000 @ 11:28PM EDT: [ reply | parent ]
I entered the full path before and I still had this problem. Maybe it was an install problem I am not sure.
Any one have ideas? Jason?
|
jason writes on Saturday July 22 2000 @ 11:50PM EDT: [ reply | parent ]
Why the block manager is screwing up, putting data in the wrong columns, is probably due to an HTML tag be cut off in the list. The content field should've been wrapped with strip_tags() which it wasn't. I'm sort of confused about exactly what it is doing. You mentioned that it showed the 'TEMPLATE' name?
|
|