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: permissions to shoutbox by EzPortal
December 10, 2018, 11:22:34 pm

Re: permissions to shoutbox by zoltar
December 10, 2018, 02:48:47 pm

Re: permissions to shoutbox by EzPortal
December 09, 2018, 08:23:51 pm

Re: permissions to shoutbox by zoltar
December 09, 2018, 03:21:35 am

Re: permissions to shoutbox by EzPortal
December 08, 2018, 09:20:27 am

permissions to shoutbox by zoltar
December 08, 2018, 03:36:08 am

Re: Mobile Only Blocks by rcolaneri
November 20, 2018, 01:53:00 pm

Re: Mobile Only Blocks by EzPortal
November 20, 2018, 09:22:47 am

+- HTML Menu


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

Author Topic: Issue with blockdata  (Read 3810 times)

0 Members and 1 Guest are viewing this topic.

Offline wireplay

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Issue with blockdata
« on: February 08, 2012, 09:46:40 pm »
Guys,

The blockdata tag is appearing on the screen with the other parameters. This is even happening in the sample.

I am trying to create a recent topics ezblock but with filtering by a board. It seems like this has been started in the code, to some extent.

Here is my current code:

<?xml version="1.0"?>
<!DOCTYPE block-info SYSTEM "http://www.ezportal.com/xml/block-info">
<block-info xmlns="http://www.ezportal.com/xml/block-info" xmlns:ezportal="http://www.ezportal.com/">
<id>TBL:RecentTopicsWithFilter</id>
<title>Recent Topics With Filter</title>
<version>1.1</version>
<blocktype>php</blocktype>
<forumversion>SMF 2.0.x</forumversion>
<author>TBL</author>
<website>http://www.trueblueliberty.com</website>
<editable>1</editable>
<can_cache>1</can_cache>
<parameter1>
   <type>int</type>
   <required>1</required>
   <title>Number of Topics to show</title>
   <order>1</order>
</parameter1>
<parameter2>
   <type>boardselect</type>
   <required>1</required>
   <title>Board to select from</title>
   <order>2</order>
</parameter2>
<blockdata><![CDATA[
function EzBlockTBLTop....
]]>
</blockdata>
</block-info>

I saw that it was alluded to in another post but will you support a recent topics by board soon?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1190
  • Karma: 65
Re: Issue with blockdata
« Reply #1 on: February 08, 2012, 09:52:21 pm »
I would change
<editable>1</editable>
To
<editable>0</editable>

That should stop the editable portion if you see all the block code.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline wireplay

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Issue with blockdata
« Reply #2 on: February 08, 2012, 09:52:43 pm »
Wait, wait, wait. That was a STUPID question. Of course it will be in there for editing.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3617 Views
Last post February 15, 2009, 08:16:13 pm
by EzPortal
1 Replies
4979 Views
Last post August 16, 2009, 09:14:09 am
by kinin
7 Replies
4559 Views
Last post August 12, 2010, 06:31:52 am
by EzPortal
0 Replies
4005 Views
Last post June 27, 2013, 09:15:48 am
by saintblue
2 Replies
3440 Views
Last post September 30, 2014, 11:29:24 pm
by fobnicat

+-SMF Gallery

Quick Menu








Members Online

15 Guests, 0 Users
Powered by EzPortal