Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
php-code into more-field?
Posted: 03 February 2005 05:56 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  239
Joined  2004-05-11

hi,

i want to enter some php-code in the more-field (and then to be executed when shown on the page).

in this thread is the question answered, how you can include php-code into a template - but not in an entryfield.

i would appreciate help very much!

 Signature 

Der Lehrerfreund
Der Spamschlucker
Der Schweinische Bote

Profile
 
 
Posted: 03 February 2005 07:02 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

pMachine Fee/Pro does not natively support using PHP in either Template or entries (or pBlocks, for that matter).  If you want that ability you’ll have to hack the system to provide it.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 04 February 2005 03:06 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  239
Joined  2004-05-11

but in the thread i mentioned above there is some hack - would this not be easily be applied to the entry-fields?

 Signature 

Der Lehrerfreund
Der Spamschlucker
Der Schweinische Bote

Profile
 
 
Posted: 04 February 2005 11:23 AM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

That’s up to you.  We can’t officially support a hack like that.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 04 February 2005 11:25 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  239
Joined  2004-05-11

ok thx, i understand this.

but if anybody has done this already, i would be glad if he/she would post it in here, for my php-knowledge is to small.

 Signature 

Der Lehrerfreund
Der Spamschlucker
Der Schweinische Bote

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 64970 Total Logged-in Users: 0
Total Topics: 81990 Total Anonymous Users: 0
Total Replies: 440693 Total Guests: 14
Total Posts: 522683    
Members ( View Memberlist )
Active Members: