UserBox

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

Sponsored Links

+- Recent Posts

Re: German Language files by Tony_R
Today at 07:49:36 am

Re: German Language files by Tony_R
May 15, 2012, 02:09:12 pm

Re: German Language files by EzPortal
May 15, 2012, 02:00:02 pm

Re: German Language files by Tony_R
May 15, 2012, 01:55:26 pm

Re: German Language files by EzPortal
May 15, 2012, 01:38:52 pm

Re: German Language files by Tony_R
May 15, 2012, 01:29:19 pm

Re: German Language files by Tony_R
May 15, 2012, 09:44:14 am

Re: German Language files by Tony_R
May 15, 2012, 08:34:06 am

Re: German Language files by EzPortal
May 15, 2012, 07:27:30 am

Cache Error ? by Tony_R
May 15, 2012, 05:01:37 am

Quick Menu

Announcements
Community Guidelines & Rules
How To Section
EzPortal Showcase
Support

Author Topic: empty table on page  (Read 2167 times)

0 Members and 1 Guest are viewing this topic.

Offline JohnR

  • Posts: 10
  • Karma: 0
    • View Profile
empty table on page
« on: January 14, 2011, 10:12:44 am »
Minor layout issue - exportal outputs an empty table just below the navigation div at the top of every page (including forum-only pages.

Function template_ezblock_above() in exportal2_template.php should check for empty top column before outputting table

something like:
Code: [Select]
if ($ezColumn['column_title'] != 'Top' OR count($ezColumn['blocks']) == 0)
continue; // ignore if empty or not top column

Offline EzPortal

  • Administrator
  • *****
  • Posts: 671
  • Karma: 44
    • View Profile
Re: empty table on page
« Reply #1 on: January 14, 2011, 09:01:55 pm »
I looked at that function as of ezportal 0.4.5
It should be doing that already
Code: [Select]
if ($ezColumn['column_title'] == 'Top')
{

if (count($ezColumn['blocks']) == 0)
      continue;

 

Powered by EzPortal