Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:30:25 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155550 Posts in 21714 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: disable wysiwyg compleatly, no code cleaning  (Read 275 times)
PcPostar

Offline Offline

Posts: 17



« on: August 03, 2011, 03:03:10 PM »

Hello.

I disabled WYSIWYG, because i wanted to have a better control of placement of elements on my page. (in combination with css).

1. But as it appears, when I now save my html code, it is a bit reformated. Some \n and \r are not saved exactly like i saved it.

2. the secound thing is that i can't use php code direclty in the edit page wizard?
When I put some php code there, save it, then reload the front end page.. there is in the html code <?php...
Was the code saved as the string?

How can I change that or disable this feature? Can that be even done?
Logged

If you don't go, you don't have a story.
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #1 on: August 09, 2011, 10:26:05 AM »

Hello.

I disabled WYSIWYG, because i wanted to have a better control of placement of elements on my page. (in combination with css).

1. But as it appears, when I now save my html code, it is a bit reformated. Some \n and \r are not saved exactly like i saved it.

You must not put those codes in the input field. Just use Enter.

Quote
2. the secound thing is that i can't use php code direclty in the edit page wizard?
When I put some php code there, save it, then reload the front end page.. there is in the html code <?php...
Was the code saved as the string?

You must not put php code in the input field either. Although you disabled the editor, the input still only accepts html code, not php. Use a php code section for that.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!