Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 263895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:38:25+00:00 2026-05-11T22:38:25+00:00

I will be using jQuery’s functionality to create portlet widgets for my web application

  • 0

I will be using jQuery’s functionality to create portlet widgets for my web application suit. I haven’t started as of yet, but will do soon, so this is the planning

Now, currently, the page loads, and the widgets load into their default positions. A user can move them around, change their settings, whatever.

Now, my problem is that I want it such that the widget placement is saved for the user, not just per session, but as an account variable.

I am using PHP and MySQL for the level-base coding and I really have no clue where to start.

Please help me 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:38:25+00:00Added an answer on May 11, 2026 at 10:38 pm

    The general plan would be to do something like this

    in jQuery

    on widget drop
    ajax POST to /widget.php with position info(maybe container name + item index) (‘leftBar’,3),
    maybe account # that is specific to user, as well as the identifier for the module

    $.post("widget.php", { module: "myInfoModule", container: 'leftBar', ...},
      function(data){
        // maybe update UI telling them it's saved? probably not
      }, "json");
    

    in PHP /widget.php

    read data and save information to mySQL in some schema like this

    [user_id] [module_id]    [container]  [position]
    1         'myInfoModule' 'leftBar'    3
    

    Then, when you reload the dockable page you would read these values and put them in the order specified by the database.

    Hope this gets you started

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 220k
  • Answers 220k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I position DIVs in <table> elements and then I hide… May 13, 2026 at 12:04 am
  • Editorial Team
    Editorial Team added an answer You can use a self join just like you join… May 13, 2026 at 12:04 am
  • Editorial Team
    Editorial Team added an answer The most significant use of DOCTYPE is to switch a… May 13, 2026 at 12:04 am

Related Questions

I will be using jQuery's functionality to create portlet widgets for my web application
I'm having some difficulties creating a javascript appointment style calendar. While it does render,
I have before created a quick Ajax Framework for one of my projects. It
JQuery is a hot topic these days. Today, on Stack Overflow, there are currently
I am setting up a web server for a client. They will be using

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.