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: ezPortal 4.1 Released by EzPortal
February 11, 2019, 10:07:05 pm

Re: ezPortal 4.1 Released by EzPortal
February 10, 2019, 09:24:08 pm

Re: ezPortal 4.1 Released by arslun
February 10, 2019, 09:21:20 pm

Re: ezBlock listed as installed by EzPortal
January 30, 2019, 09:49:33 am

Re: ezBlock listed as installed by Trower
January 30, 2019, 06:48:34 am

Re: How to change Forum text for link by Mont
January 14, 2019, 01:06:10 am

Re: How to change Forum text for link by EzPortal
January 13, 2019, 01:46:23 pm

How to change Forum text for link by Mont
January 13, 2019, 11:35:11 am

+- HTML Menu


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

Author Topic: Issue with blockdata  (Read 3901 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: 1196
  • Karma: 66
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
3687 Views
Last post February 15, 2009, 08:16:13 pm
by EzPortal
1 Replies
5048 Views
Last post August 16, 2009, 09:14:09 am
by kinin
7 Replies
4641 Views
Last post August 12, 2010, 06:31:52 am
by EzPortal
0 Replies
4065 Views
Last post June 27, 2013, 09:15:48 am
by saintblue
2 Replies
3562 Views
Last post September 30, 2014, 11:29:24 pm
by fobnicat

+-SMF Gallery

Quick Menu








Members Online

16 Guests, 0 Users
Powered by EzPortal