MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
help with virtual pages
AuthorText
carllawl
Just arrived
Avatar

Posts: 8
Contributes: 8

Gender: _NEUTRAL_
Online: No
Date: 07/10/2008 20:40
help with virtual pages
#post13209
How do i get these working?

I titled it, gave it a name, wrote in my content and i get this error

Parse error: syntax error, unexpected $end in /home/rotandro/public_html/index.php(252) : eval()'d code on line 1

http://rotandroll.net/index.php?page=test
Delete Edit Quote
 
paulo89
Moderator
Developer

Avatar

Posts: 1091
Contributes: 290

Gender: _MALE_
Online: No

Version: 3.8.1
Country: Portugal
Languages: Portuguese, Portuguese and little english ^^
Date: 07/10/2008 20:47
Re: help with virtual pages
#post13213
Maybe u don´t close some loop, show me u code.
Image
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 07/10/2008 20:47
Re: help with virtual pages
#post13214
Virtual addons feature supports PHP code only, so the content of the addon must be a working PHP script
Delete Edit Quote
 
carllawl
Just arrived
Avatar

Posts: 8
Contributes: 8

Gender: _NEUTRAL_
Online: No
Date: 07/10/2008 20:56
Re: help with virtual pages
#post13215
So how do I go about making a page with my own content on?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 07/10/2008 21:11
Re: help with virtual pages
#post13218
Use PHP code...

or if you want pure HTML, use MyPages
Delete Edit Quote
 
carllawl
Just arrived
Avatar

Posts: 8
Contributes: 8

Gender: _NEUTRAL_
Online: No
Date: 07/10/2008 21:23
Re: help with virtual pages
#post13220
But you cant add seperate mypages to the navigator :s

so instead of typing out all my content i have to type echo or print inorder to get something displayed :s

wouldnt it just be easier to have it so you can make html pages but also use php if needed?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 07/10/2008 21:46
Re: help with virtual pages
#post13224
It's impossible. PHP code is executed server side, html code in the client side... you cannot do whatever you want. Virtual pages uses eval() that supports php only. If you want to print html code use echo "<table width='100%'..."; very simple. With mypages you can use the html wysiwyg editor, but html only. There is no way to mix pure php and html
Delete Edit Quote
 
carllawl
Just arrived
Avatar

Posts: 8
Contributes: 8

Gender: _NEUTRAL_
Online: No
Date: 07/10/2008 22:07
Re: help with virtual pages
#post13227
ill have to echo it then because you cant have different mypages on the navigator Smile
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 07/10/2008 22:14
Re: help with virtual pages
#post13230
Ehm, you can create even 1000000000000000000000000 mypage entries. Just add links manually, not as "page" but as "link"
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo