The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Removing <p> Tags - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: Removing <p> Tags (/showthread.php?tid=825)



Removing <p> Tags - an8dres26h - 2010-06-24

The editor automatically adds in <p></p> tags to the content. Is there any way to disable that?


Removing <p> Tags - Zegnåt - 2010-06-24

No there is not, because there is no valid reason to disable the usage of the P-element. If you get empty P-elements it’s because you’re creating empty rows the wrong way. The only “correct” way would be to space text through CSS.

If you give an example of when you want this to be disabled someone might be able to solve it some other way.


Removing <p> Tags - an8dres26h - 2010-06-24

Well I'm making a redirect template where it just pulls the URL to redirect to from the content area, where you can paste in the URL. PHP wasn't stripping the <p> tags effectively so I though it would be easier to keep the editor from automatically adding in the <P>


Removing <p> Tags - Zegnåt - 2010-06-24

I’m afraid there is no smart way to do that. But you could use a regular expression to use PHP to easily get the URL from the content variable I think.


Removing <p> Tags - sal - 2010-06-25

Maybe you could just use CustomFields instead of the content area, and use something like this at the top of your template.
Code:
<?php
    $tplRedirect = returnCustomField('redirect');
    if ($tplRedirect != '') { header("Location: " . $tplRedirect); }
?>



Removing <p> Tags - yojoe - 2010-07-03

Adding <p> tag when hitting [enter] in editor window is a CKeditor's feature.
You can change [enter] behaviour to add <br /> instead of <p>.
Just add this line to ckeditor's config.js
Code:
config.enterMode = CKEDITOR.ENTER_BR;



Removing <p> Tags - SamWM - 2010-07-06

If you want to enter a line break instead of a paragraph, just press `[shift] + [enter]` like you would in most Word Processor's.