Jump to content

TXT & PHP Widget


Pete T

Recommended Posts

On 7/1/2021 at 11:27 PM, iacas said:

Is it definitively broken on 4.6?

It's actually working fine on my end.

I would like for this to have an option to display the widget on a specific URL!

Link to comment
Share on other sites

8 hours ago, Adriano Faria said:

They do. In Pages app.

I have pages.

I can build a block that can contain this information on each page?

<div align="center">
<script type="text/javascript">
    <!--
        document.write('<s'+'cript type="text/javascript" src="https://am.MySite.com/ads/show.cfm?adid=9"></s'+'cript>'); 
    // -->
</script>
</div>

Link to comment
Share on other sites

5 hours ago, Adriano Faria said:

It seems a simple HTML block. I don’t see why it wouldn’t work. Have you tested?

I tried a Custom Block with Manual HTML.

Guess I'll need to wait until I upgrade to get help from support.

INSERT INTO `IPS_cms_blocks` ( `block_position`, `block_active` ) VALUES ( 9, 1 )
IPS\Db\Exception: Field 'block_key' doesn't have a default value (1364)
#0 /home/pathlabt/public_html/forum/system/Db/Db.php(948): IPS\_Db->preparedQuery('/*pathlabt_pltd...', Array)
#1 /home/pathlabt/public_html/forum/system/Patterns/ActiveRecord.php(487): IPS\_Db->insert('cms_blocks', Array)
#2 /home/pathlabt/public_html/forum/system/Node/Model.php(2389): IPS\Patterns\_ActiveRecord->save()
#3 /home/pathlabt/public_html/forum/applications/cms/sources/Blocks/Block.php(1010): IPS\Node\_Model->save()
#4 /home/pathlabt/public_html/forum/applications/cms/sources/Blocks/Block.php(734): IPS\cms\Blocks\_Block->save()
#5 /home/pathlabt/public_html/forum/system/Node/Controller.php(413): IPS\cms\Blocks\_Block->formatFormValues(Array)
#6 /home/pathlabt/public_html/forum/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form()
#7 /home/pathlabt/public_html/forum/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#8 /home/pathlabt/public_html/forum/applications/cms/modules/admin/pages/blocks.php(44): IPS\Node\_Controller->execute()
#9 /home/pathlabt/public_html/forum/system/Dispatcher/Dispatcher.php(152): IPS\cms\modules\admin\pages\_blocks->execute()
#10 /home/pathlabt/public_html/forum/admin/index.php(14): IPS\_Dispatcher->run()
#11 {main}

Link to comment
Share on other sites

I was using this plugin and determined that I apparently don't even use it, and the Pages blocks are just fine for me, so I've disabled it. Nothing has changed about my site so far.

Link to comment
Share on other sites

17 hours ago, Adriano Faria said:

They do. In Pages app.

That's not native to the forum though, which it should be.

Why would one need to purchase a pages app in order to have the ability to add a custom block on a forum?

Link to comment
Share on other sites

12 minutes ago, jackflash said:

Why would one need to purchase a pages app in order to have the ability to add a custom block on a forum?

Because that’s how IPS did it. Feel free to post as a feedback. They did it before when they removed the Menu Manager from Pages and added to the Core. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...