Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Aug 2012, 03:19
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
Question Displaying HTML file in widget and Forum Block

Currently I am updating a forum block & a widget as two separate instances even though both reflect identical information.

Both are made of plain HTML.

I would like it if could simply edit a *.htm file and have the widget and forum-block both update automatically according to the contents of the *.htm file.

Is this possible and if so, could you give me rough direction on how to achieve this?
Reply With Quote
  #2  
Old 21 Aug 2012, 00:47
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
Wow, who'd have thought a request like this was so complicated or out of people's abilities... I figured it would be a lot easier.
Reply With Quote
  #3  
Old 21 Aug 2012, 13:37
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You might be able to make your block/widget an iframe that loads your htm file. Another way would be to use a php type widget/block and include an external file, like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Remember that widgets and forum block content is cached so when you change your htm file you won't see the changes until the cache expires (unless you set cache time to 0. But it's probably good to leave it set to at least 1 minute if possible).
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases Follow Us Widget/Forum Block crazyace vBulletin 4.x Add-ons 54 03 Mar 2013 06:47



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:31.

Layout Options | Width: Wide Color: