Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Display content of sidebox to a mainpage?

    How would this be done?

    More specifically I am running a contest for my launch and want to drive people directly to a page that contains my Newsletter Subscription form. I would like to have it in a page contained within zen rather then only on the sidebox where its hard to find.
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Display content of sidebox to a mainpage?

    PHP Code:
    <?php include(DIR_WS_MODULES zen_get_module_directory(FILENAME_THE_MODULE_YOU_WANT)); ?>
    Should work :)

  3. #3
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: Display content of sidebox to a mainpage?

    I pasted this into an ez-page with no result

    <?php include(DIR_WS_MODULES . zen_get_module_directory(subscribe)); ?>


    subscribe.php is located in includes/modules/sideboxes/NightFall/subscribe.php (1.3.2)

    Thanks for helping me Again, and again, and again.......
    Your like the Energizer bunny :)
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Display content of sidebox to a mainpage?

    Ah... forgot you can not use php in ez-pages. Are you using all of your define pages? also may need to use subscribe.php

  5. #5
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: Display content of sidebox to a mainpage?

    Here is the error(s) I get using define page

    Warning: main(includes/modules/subscribephp.php): failed to open stream: No such file or directory in /usr/home/teamfast/public_html/includes/languages/english/html_includes/define_page_2.php on line 1

    Warning: main(includes/modules/subscribephp.php): failed to open stream: No such file or directory in /usr/home/teamfast/public_html/includes/languages/english/html_includes/define_page_2.php on line 1

    Warning: main(): Failed opening 'includes/modules/subscribephp.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/teamfast/public_html/includes/languages/english/html_includes/define_page_2.php on line 1
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Display content of sidebox to a mainpage?

    subscribephp.php Is this the correct filename?

  7. #7
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: Display content of sidebox to a mainpage?

    Quote Originally Posted by Kim
    subscribephp.php Is this the correct filename?
    Sorry I messed around and tryed to use subscribe.php rather then just subscribe and didnt change it back before posting the error.

    The result was the same jusr a different name.

    here is the proper error using subscribe.

    Warning: main(includes/modules/subscribe.php): failed to open stream: No such file or directory in /usr/home/teamfast/public_html/includes/languages/english/html_includes/define_page_2.php on line 1

    Warning: main(includes/modules/subscribe.php): failed to open stream: No such file or directory in /usr/home/teamfast/public_html/includes/languages/english/html_includes/define_page_2.php on line 1

    Warning: main(): Failed opening 'includes/modules/subscribe.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/teamfast/public_html/includes/languages/english/html_includes/define_page_2.php on line 1
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  8. #8
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: Display content of sidebox to a mainpage?

    Working it from the other side of the bridge, I got it.
    Used Dr. Bytes Show sidebox contribution inside define pages and removed the first line of code.

    require('includes/application_top.php');

    Thank both of you for your great work on this Cart.
    Your dedication shows itself 10 fold.
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

 

 

Similar Threads

  1. v150 Display Ez-Page Content in Sidebox
    By PrymlUrg in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 29 Oct 2014, 07:11 PM
  2. Replies: 2
    Last Post: 7 Nov 2013, 02:31 PM
  3. putting ezpage content in sidebox or editing sidebox from admin
    By nilsen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Jan 2010, 09:30 PM
  4. changing sidebox name and content for that sidebox
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Aug 2006, 06:13 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