EzPortal - Portal Software for Forums

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

Advertise Here +- +-

UserBox

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

+- Recent Posts

ezPortal 6.5 Released! by EzPortal
January 18, 2026, 02:46:30 pm

ezPortal 6.0 released! by EzPortal
July 10, 2025, 10:50:58 pm

Re: TinyMCE Editor disapears by ezxenova
May 06, 2025, 07:38:09 am

Re: TinyMCE Editor disapears by DenDen66
March 02, 2025, 06:59:40 am

Re: TinyMCE Editor disapears by DenDen66
February 28, 2025, 08:09:43 am

Re: TinyMCE Editor disapears by DenDen66
February 28, 2025, 07:31:29 am

Re: TinyMCE Editor disapears by EzPortal
February 27, 2025, 06:57:30 pm

Re: TinyMCE Editor disapears by DenDen66
February 27, 2025, 04:45:52 pm

+- HTML Menu


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

Recent Topics ezBlock

ezPortal 6.5 Released! by EzPortal
January 18, 2026, 02:46:30 pm

ezPortal 6.0 released! by EzPortal
July 10, 2025, 10:50:58 pm

TinyMCE Editor disapears by ezxenova
May 06, 2025, 07:38:09 am

Renaming a page by DenDen66
February 23, 2025, 10:51:22 am

Styling ezBlock by EzPortal
February 19, 2025, 09:15:05 pm

I don't remember how to upgrade by EzPortal
February 05, 2025, 08:44:58 am

ezPortal 5.6 release by EzPortal
January 31, 2025, 11:21:34 am

5.5.4 by EzPortal
January 16, 2025, 08:31:41 pm

Moving a block higher in list by UkuleleMan
December 17, 2024, 07:58:27 am

Mandalorian Mercs Costume Club by UkuleleMan
December 17, 2024, 07:32:20 am

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

0 Members and 1 Guest are viewing this topic.

using ezportal outside smf... possible?
« on: »
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 :)

Re: using ezportal outside smf... possible?
« Reply #1 on: »
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/

Re: using ezportal outside smf... possible?
« Reply #2 on: »
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...

Re: using ezportal outside smf... possible?
« Reply #3 on: »
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?

Re: using ezportal outside smf... possible?
« Reply #4 on: »
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/

Re: using ezportal outside smf... possible?
« Reply #5 on: »
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 :)

Re: using ezportal outside smf... possible?
« Reply #6 on: »
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
28447 Views
Last post October 12, 2008, 07:30:25 pm
by EzPortal
6 Replies
24369 Views
Last post December 05, 2008, 09:15:33 pm
by EzPortal
2 Replies
20218 Views
Last post February 27, 2009, 05:01:43 am
by Anders
1 Replies
14057 Views
Last post August 14, 2010, 09:42:20 pm
by EzPortal
0 Replies
9169 Views
Last post September 25, 2010, 08:17:30 pm
by Feldpost

+-SMF Gallery

Quick Menu


Powered by EzPortal