EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

Re: Random Polls by Shades
January 18, 2022, 05:42:42 pm

Re: Random Polls by EzPortal
January 18, 2022, 05:20:36 pm

Re: Random Polls by Shades
January 18, 2022, 04:50:34 pm

Re: Random Polls by EzPortal
January 18, 2022, 02:57:05 pm

Random Polls by Shades
January 18, 2022, 02:51:00 pm

Re: Forumview in Portal deactivate? by EzPortal
January 01, 2022, 11:47:18 am

Re: Forumview in Portal deactivate? by Maggan22
January 01, 2022, 11:39:21 am

Forumview in Portal deactivate? by Maggan22
January 01, 2022, 10:44:34 am

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

Random Polls by Shades
January 18, 2022, 05:42:42 pm

Forumview in Portal deactivate? by EzPortal
January 01, 2022, 11:47:18 am

News and Newsletters ezblock? by EzPortal
December 03, 2021, 12:09:15 pm

ezPortal 5.3 Update by EzPortal
October 30, 2021, 01:31:50 pm

ezPortal 5.1.4 Update by EzPortal
October 08, 2021, 10:09:25 pm

Illegal string offset 'num_days_shown' (Upcoming Events Block) by EzPortal
August 21, 2021, 11:06:47 pm

Windows 11 or Windows 10??? by jiana
August 05, 2021, 07:34:11 am

Showing centre blocks before left ones on mobile devices by EzPortal
July 08, 2021, 05:46:41 pm

ezPortal 5.1 by EzPortal
May 19, 2021, 09:35:58 am

Average block headers by EzPortal
May 17, 2021, 01:05:41 pm

Author Topic: using ezportal outside smf... possible?  (Read 6435 times)

0 Members and 1 Guest are viewing this topic.

Offline thellie

  • Posts: 8
  • Karma: 0
using ezportal outside smf... possible?
« on: August 02, 2010, 03:41:18 am »
i can create pages outside of smf, using the SSI.php file etc... what i'm hoping though is that i can add ezblocks into these pages too.

a quick no, or a well-explained yes would be great :)

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1250
  • Karma: 67
Re: using ezportal outside smf... possible?
« Reply #1 on: August 02, 2010, 03:30:17 pm »
After you do your ssi.php include
Do this
Code: [Select]
// Setup EzPortal
require_once($sourcedir . '/EzPortal.php');
SetupEzPortal();
If using SMF 2.0 change EzPortal.php to EzPortal2.php
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline thellie

  • Posts: 8
  • Karma: 0
Re: using ezportal outside smf... possible?
« Reply #2 on: August 02, 2010, 05:20:03 pm »
thanks  :)

and then to get a block onto the external, i need have another column type in the admin area?

ie, left, right, top, bottom, external...?

then add blocks as normal...

that's an educated(?) guess...

Offline thellie

  • Posts: 8
  • Karma: 0
Re: using ezportal outside smf... possible?
« Reply #3 on: August 03, 2010, 01:58:59 pm »
i think maybe i didn't explain fully enough initially...

i would like to use ezblocks on external pages, but these pages are NOT created through page manager. in which case they don't appear in the ezblock's 'visible pages' section...

i can, and have, created via the page manager, but would prefer to continue building the pages in dreamweaver, as the rest of the site sits there... it would be too problematic to have these pages sitting as code in a cached area, like the blocks do.

if i create a page independently, but add in the ssi.php, and the setup exportal code below, how do i get the block onto the page?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1250
  • Karma: 67
Re: using ezportal outside smf... possible?
« Reply #4 on: August 03, 2010, 02:29:50 pm »
I see what you are saying. I think you would need to define a custom action maybe ssi
so have action=ssi

Then before you loadezportal define $action = 'ssi';

And when you add blocks just on ssi have them defined

Hmm myabe you can skip the above parts and just call template_ezportal_above() and template_ezportal_below(); around your php code
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline thellie

  • Posts: 8
  • Karma: 0
Re: using ezportal outside smf... possible?
« Reply #5 on: August 03, 2010, 05:17:28 pm »
thanks, i'll give it a go and let you know... i've already called the main smf menu above and below in with no problem :)

Offline thellie

  • Posts: 8
  • Karma: 0
Re: using ezportal outside smf... possible?
« Reply #6 on: August 03, 2010, 05:51:51 pm »
a quick go hasn't worked, but i don't have time to try further for a while...

i called the template in a number of places on the page (following 'setup ezportal', above the body, inside the body) and none seemed to work.

i loked inside the ezportal php pages to see if i could strip code out and place it directly on the external page... then backed away slowly, so's not to wake up fate.

i'm quite logical with this stuff, but i think is a bit too far for me at the moment  :-\

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
16115 Views
Last post October 12, 2008, 07:30:25 pm
by EzPortal
6 Replies
16008 Views
Last post December 05, 2008, 09:15:33 pm
by EzPortal
2 Replies
7057 Views
Last post February 27, 2009, 05:01:43 am
by Anders
1 Replies
4260 Views
Last post August 14, 2010, 09:42:20 pm
by EzPortal
0 Replies
2964 Views
Last post September 25, 2010, 08:17:30 pm
by Feldpost

+-SMF Gallery

Quick Menu



Members Online

12 Guests, 0 Users
Powered by EzPortal