www.webdeveloper.com
Results 1 to 9 of 9

Thread: How to update a widget on all pages..?

  1. #1
    Join Date
    Jul 2013
    Posts
    15

    How to update a widget on all pages..?

    hello,

    i've a website of four pages. i want to add a widget on all of them.. i can do it manually .. but i want that is there a way when i update a widget on a single page it auto-update on all others??
    i'm very new!

    Example.. "A Note"

    thankyou.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,138
    You need to give us more information. Exactly what is the 'widget' you're using? Is your site plain HTML or PHP-based? Show us the code that you're using now that includes the widget.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Jul 2013
    Posts
    15
    Ok i dont know much.. its a default Widget by Weebly... i dont know how get its Code..!! i attached pic..
    Attached Images Attached Images

  4. #4
    Join Date
    Mar 2011
    Posts
    1,138
    Sorry, but a picture of your site is no help. If you can't post the code, post a link to your site.
    Rick Trethewey
    Rainbo Design

  5. #5
    Join Date
    Jul 2013
    Posts
    7
    Quote Originally Posted by imDCStar View Post
    hello,

    i've a website of four pages. i want to add a widget on all of them.. i can do it manually .. but i want that is there a way when i update a widget on a single page it auto-update on all others??
    i'm very new!

    Example.. "A Note"

    thankyou.
    i've a website of four pages. i want to add a widget on all of them.. i can do it manually .. but i want that is there a way when i update a widget on a single page it auto-update on all others??

  6. #6
    Join Date
    Jul 2013
    Posts
    15
    Quote Originally Posted by rtrethewey View Post
    Sorry, but a picture of your site is no help. If you can't post the code, post a link to your site.
    http://imdcstar.weebly.com here it is...

  7. #7
    Join Date
    Jul 2013
    Posts
    7

  8. #8
    Join Date
    Jul 2013
    Posts
    15
    Quote Originally Posted by esmaeilhamdy View Post
    i've a website of four pages. i want to add a widget on all of them.. i can do it manually .. but i want that is there a way when i update a widget on a single page it auto-update on all others??
    it means when i write a note on that widget "text" thn it should write it automatically on all other pages?

  9. #9
    Join Date
    Mar 2012
    Posts
    1,405
    You do not need a widget to put text on a web page. That is what HTML does. And to put the same text on multiple pages you can use a PHP include file. But I would suggest that is overkill. In this case, I'd use an IFrame on each page to pull in an html sub-page. Edit the sub-page once and it updates all the pages.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles