Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default PHP scripts in ezpages or define pages possible?

    Hi.

    I need to create some ezpages, but I need to insert php functions and scripts. Is this possible in the ezpages section? I can create an external page but then I would need to recreate the template just so it looks like the rest of the site, hence I would rather use the ezpages.

    Please let me know how this can be done.

    Thanks

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: PHP scripts in ezpages or define pages possible?

    define page = yes
    ezpage = not sure, probably not. Give it a try tho.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PHP scripts in ezpages or define pages possible?

    actually, no for both cases, unless you write custom code to parse your PHP code specifically

    You might check out swguy's posts on the topic for suggestions on how he does that with replaceable keywords
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: PHP scripts in ezpages or define pages possible?

    DrByte, I believe I had php code worked pretty fine for define page (version 1.3.8 checked)
    Since it's only a .php file that is included anyway. Just use <?php ?> and put the code in between.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PHP scripts in ezpages or define pages possible?

    Ah, yes, that works, but not if you use a browser-based wysiwyg editor to handle your content. Edit the define_xxxxxx.php files directly and that can work.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: PHP scripts in ezpages or define pages possible?

    Or just use the plain-text editor.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #7
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: PHP scripts in ezpages or define pages possible?

    Check out this thread. I wrote this a while back.
    http://www.zen-cart.com/forum/showth...hlight=ezpages

  8. #8
    Join Date
    Aug 2006
    Posts
    49
    Plugin Contributions
    0

    Default Re: PHP scripts in ezpages or define pages possible?

    Not as elegant, but I have accomplished this by calling the *.php (file) in an Iframe.

    Quick & works in my experience.

    Bob

  9. #9
    Join Date
    May 2008
    Posts
    31
    Plugin Contributions
    0

    Default Re: PHP scripts in ezpages or define pages possible?

    Hey guys,

    I too am trying to add php into an ezpages file:

    http://www.zen-cart.com/forum/showthread.php?t=99102

    Any suggestions? Could this be an issue with permissions?

    Thanks,

    D


    Moderator note: moved discussion to existing thread on same topic

  10. #10
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: PHP scripts in ezpages or define pages possible?


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Blank descriptions on EZpages, products, categories, define pages
    By gillpotsoffun in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 16 Apr 2012, 06:30 PM
  2. v139h EZ Pages - location and php scripts
    By snorkerz in forum General Questions
    Replies: 5
    Last Post: 10 Feb 2012, 03:33 PM
  3. Entering images to EZpages and Define Pages
    By dogjumps in forum Customization from the Admin
    Replies: 2
    Last Post: 8 Oct 2010, 09:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR