#1
|
||||
|
||||
PHP in editor?
When I'm using the editor for my page content, how or can I use php?
|
#2
|
|||
|
|||
You can't.
What are you trying to do anyway? |
#3
|
||||
|
||||
I was trying to show the user's name on the index page. No biggie :)
|
#4
|
|||
|
|||
Well if you're comfortable with editing the source, you can simply edit $article_content in index.php. Just change it to the content you want, just like in any other files.
But of course, this means that you can't use the page editor to edit the index page. |
#5
|
||||
|
||||
Yea I'm quite comfy doing that so that's probably what I'll do :) Thanks!
|
#6
|
||||
|
||||
Well you wanna use PHP code in CKeditor? It is doable but will require lots of editing. Perhaps you can find something here:
http://cksource.com/forums/viewtopic.php?t=17593 But I wouldnt recommend this unless you know what you are doing, take care.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove WYSIWYG Editor | Abronsyth | Questions and Supports | 5 | 12-29-2014 06:11 PM |
Page Editor Glitches | AlexC | Questions and Supports | 11 | 04-28-2012 08:44 AM |
What's New? |
What's Hot? |
What's Popular? |