go41

Re: Help with PHP syntax error :: Reply by Joern

von Joern am 31. Mai. 2010 | Keine Kommentare

still do not get the problem.

do you insert a php code in the page editor to let exec-php execute it?
I would create a page template for this page, assign in the editor this file as template and put any custom code there.
Create a template by using a copy of page.php with any new name, ie mylogintemplate.php
the content of this file is at first exactly your page.php. You just add on top of all:
<?php
/*
Template Name: my login template
*/
?>
as soon you have this mylogintemplate.php with the part given above in your theme folder, you can select it as template for any page you have.
Having done this, you can add any custom code in this file, maybe under the title or the_content
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 3 weitere Ergebnisse dieses Threads:

Help with PHP syntax error

28. Mai. 2010 (von: kinyofu)

Does anyone out there know what this error means?syntax error, unexpected ‘?’ in /home/kinyofu/public_html/empoweringwomenslives.com/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code(found on this page: http://empoweringwomenslives.com/?page_id=748 ) Weiterlesen →

Re: Help with PHP syntax error :: Reply by Joern

30. Mai. 2010 (von: Joern)

I guess your exec-php plugin can't execute the code you give it in this entry...On your given link there is no content to see in this page.What do you actually want to get executed in the front-end?____________________you find me on…

Re: Help with PHP syntax error :: Reply by kinyofu

30. Mai. 2010 (von: kinyofu)

Hi Joern,I have been going through some changes mainly around establishing a membership site. That page is the login.php page. The URL works fine, but when I copy the code into my WP page, it gets altered. I turned off…

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: