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

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

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

Re: ezPortal 5.1.4 Update by EzPortal
October 04, 2021, 11:07:05 am

ezPortal 5.1.4 Update by EzPortal
October 02, 2021, 08:18:20 pm

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

Re: Illegal string offset 'num_days_shown' (Upcoming Events Block) by Shades
August 21, 2021, 09:35:57 pm

Re: Illegal string offset 'num_days_shown' (Upcoming Events Block) by EzPortal
August 21, 2021, 08:59:50 pm

Illegal string offset 'num_days_shown' (Upcoming Events Block) by Shades
August 21, 2021, 07:10:51 pm

+- HTML Menu


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

Recent Topics ezBlock

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

Error when guest tries to access a forum that does not have permission by EzPortal
April 11, 2021, 09:30:39 am

ezPortal 5.0 Released by EzPortal
January 29, 2021, 12:34:42 pm

How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 11:02:52 pm

Author Topic: HTML block vs PHP Block  (Read 4916 times)

0 Members and 1 Guest are viewing this topic.

Offline fobnicat

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
HTML block vs PHP Block
« on: September 30, 2014, 10:05:17 pm »
I am attempting to write a block that will allow me to display simple information and images.  I can get the basic information input through < parameter > blocks to display through echo commands but I am having trouble with the images.  Am I missing something really easy? Every time I mix in a bit of HTML to handle the images, I receive "ezBlock unable to run PHP syntax error!"

I apologize for being new at this...

Offline fobnicat

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: HTML block vs PHP Block
« Reply #1 on: September 30, 2014, 10:23:42 pm »
I figured it out.

Forgot the ; and a '

simple stuff...

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1244
  • Karma: 67
Re: HTML block vs PHP Block
« Reply #2 on: September 30, 2014, 10:24:54 pm »
Good to know. Always keep html code in an echo for blocks think it works best that way.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
6637 Views
Last post April 28, 2010, 12:37:29 pm
by Nickhead
12 Replies
8031 Views
Last post July 27, 2010, 02:54:11 pm
by Maxx
0 Replies
4008 Views
Last post November 09, 2010, 10:06:17 pm
by sluggo2u
1 Replies
6395 Views
Last post December 11, 2010, 07:21:34 am
by Guardian
4 Replies
5427 Views
Last post February 06, 2012, 06:30:36 pm
by negative_energy

+-SMF Gallery

Quick Menu



Members Online

13 Guests, 0 Users
Powered by EzPortal