Wordpress [Elementor pro + ocean WP theme + plugin Asgaros forum] - wordpress

I made a website 1 year ago with a private access to a forum (plugin : Asgaros Forum). Everything was ok. But 2 weeks ago, my client made updates (Asgaros, Elementor...) : all the website is ok now but all the content of the forum has been deleted (structure, categories, posts...).
I check into the data base and all the content is still in it. But how can i remove the forum structures and import all the data from the database ?
Of course my client disabled all the backup, and left no comments.

Try this method,
Start by creating a new app.
Add a Screen to your app. Go to Interface > UI Flows, right-click MainFlow and select Add Screen. In the New Screen window select Empty, enter Home as the Screen name, then click CREATE SCREEN. Service Studio adds an empty Screen to your app.
Add data sources to your app by referencing some Entities in the Manage Dependencies window (Ctrl+Q). This example app references OutSystems sample data. Once you reference Entities, they're available in Service Studio under Data > Entities > Database.
Publish the app by clicking the 1-Click Publish button. This step is optional, but it lets the app show the data preview later.
It's time to load some data to the Screen. Go to Interface > UI Flows > Main Flow, and then right-click your Home Screen. Select Fetch Data from Database. A new Aggregate edit screen opens, and there's a notice that you need some data.
With the Aggregate still open, navigate to Data > Entities > Database > OutSystemsSampleDataDB. Drag the Sample_Employee Entity to the Aggregate window. If you're using your data instead of OutSystems sample data, then drag some other Entity. Service Studio shows the data preview in columns and uses the Entity name to name the Aggregate.
Go back to Interface > UI Flows > Main Flow > Home and notice the GetEmployees Aggregate in the Screen. Expand the Aggregate to see the Entities, and then expand the Entities to list the Attributes. There's also a warning that you're not using the data anywhere.
Show data in a widget
Once you fetch data from the database, use one of many OutSystems widgets to show the data to the users. Continuing from the previous section, in this example you create a list with the employee last names.
Open your Home Screen for editing. To do that, double-click Home in Interface > UI Flows > Main Flow.
In the search bar, search for the List widget and drag the widget to the Screen. Service Studio now shows an empty List widget.
Click the List widget to select it, and go to the properties. In the Source field select GetEmployees.List. With this you're telling the app which data source to use with this widget.
With your List widget connected to a data source, add some Attributes to show data in the List. Expand the Entity to see the Attributes, under Interface > UI Flows > Main Flow > Home > GetEmployees > Sample_Employee. Drag an Attribute, for example, LastName to the List widget. This tells the widget to list all last names that are in the database.

Related

Implement CRUD within Tab of dashboard Shiny App R will not render to page SQlite local DB query

I am attempting to adopt a similar set up using CRUD from Tychobras shiny_crud app
https://github.com/Tychobra/shiny_crud/. Instead of rendering the data table as the main page, I am trying to place it within a tab which will have a surrounding box.
It seems the call to the function which would render the data table to the screen is working correctly because I am able to see the "Add" button but fails to display the data table. I am assuming it is because it cannot reach the database.
This is what it currently looks like
Here is the attached code.
Here is the tab I am working in
R version 4.1.2
Current libraries (all updated most recent)
Here is a snip of how the data frame looks correctly but not inside of the tab

Is it possible to persist Drive Picker widget settings across pages?

I have 2 pages in my app. Page 1 allows the user to select a pupil and then the app shows Page 2.
On Page 2 I have a Drive Picker widget that allows the user to choose images that will be copied to a specific folder (depends on what was selected on Page 1).
If the user closes the picker on Page 2 after picking files and then opens it again without visiting Page 1 first, the Drive Picker remembers which specific folder they had navigated to and allows them to continue.
If the user visits Page 1 again first to select a different pupil and then comes back to Page 2 and uses the Picker, it seems as if the Picker gets reset and shows the user the root of their Drive again. I want to avoid this behaviour so that the user can continue to select files from their last visit (in the same session) to Page 2.
Is there anyway to access the last visited folder of the picker and store that say in a page property and then make the picker use that property the next time it is opened?
I have become a little confused as well with the options that are available to the widget and the options that are surfaced through the result object. I confess that I've tried to search stack overflow for more information on how to use result object, but cannot surface much so all of my scripts use the widget.selectedDocuments way.
You can use sessionStorage() to keep variables between pages.
It is a client side function and does not support "custom action" as far as i know, but the following functions can fix that.
function get_ss(name){return sessionStoreage.getItem(name);}
function set_ss(name, val){sessionStorage.setItem(name, val);}
when navigating from page 1 you can use a custom action to get pupil and set it in sessionStorage then navigate to page2
"Custom Action=" set_ss("pupil", app.pages.Page1.decendents.PupilName.value); app.showPage(app.pages.Page2); //going from memory on the navigation code
You can add "var pupil = get_ss("pupil");" where ever you need it from there.

Dynamically adding or deleting widgets in google-app-maker

I am trying to develop an interface that binds to a complex backend model. What I need is a way for scripting to enable me to have a page load different page fragments based on what list row a user clicks on. As an example, on the left side of the page there would be a vertical list displaying different sections in a large assessment 'document' (mental health assessment) (each section would be it's own data model [e.g. presenting problems family history, trauma history, etc...). In the main section of the page to the right, you would have room for a page fragment or some type of container that would contain the actual page or page fragments associated with each section listed in the list on the left. When you click on the section name in the list to the left, scripting would be able to have the correct page fragment or page loaded inside the container.
The data model needs to be this complex because there are multiple types of "documents' and the system needs to be able to dynamically load a list of document sections and allow the user to load the form for each section type.
THIS IS FROM Markus Malessa: The dynamic page content is definitely possible, however since it sounds like a lot of your items are going to be based on hard data, the models really are not dynamic, so you really can't build in dynamic data at run time for example. Rather than visible/invisible properties I might suggest navigating to different pages instead and maybe having many-to-many relations to your list item and if your list item has OldFamilyHistory and NewFamilyHistory data relations incorporate a popup to select which page you may want to navigate to.

DevExpress Reporting : How to achieve below requirement in angular 5, End user reporting?

I have below requirement but not sure how to proceed.
I have a page where I have two sections
Left section: Having list of report templates which user has saved previously by creating the .repx files, on select of this(left) section, right section will update.
Right Section: DevExpress designer to view/edit the repx.
Also I don't want to get individual .repx file from backed on click of each section, instead is it possible that I get all the section list with .repx file at a time and when user select the section then designer will load the selected repx file. ?
Thanks in advance.

Show alert if moving on without saving in Flex?

Functionnaly :
On one of my components of my application, I have an editing/lock system. When a user starts editing, he locks the file so other users cannot edit it.
Problem scenario : When the user activates "edition mode" and leaves screen, I would like to show a alert with two options : save changes, or discard changes.
There are different ways to exit screen :
There is a List on the left side containing other possible editabel data. A click changes the data in my component.
There is a menubar on top leading to other screens.
The edition component is embedded in a Tab navigator. When changing tabs, the alert has to show.
Closing browser.
Do I have to catch all of these events and plug at all those places?
Is there any kind of focusout mecanism?
The answer to the first question is: YES.
You need to watch all possible exit events that could harm the currently edited data.
Well, the problem is now how to manage this properly. Using an MVC framework you would trigger the appropriate commands from your components:
CHANGE_LIST_ITEM (new item)
CHANGE_TAB (new tab)
CHANGE_SCREEN (new screen)
Each command then checks if the currently edited tab has been saved or not. If not, it displays the Alert. Else, if there are no changes, it allows the list, the screen chooser and the tab bar to continue.
So your components (list, screens, tabs) need to implement some kind of rollback or preventDefault mechanism. Generally, changing their state must be allowed by a central validator (in MVC the command).
In the case of the list: I would suggest that the list is not selectable by mouse click but only programmatically. You set a listener on the list item click event. If the command allows setting of a new item it will notify the list. In MVC usually by sending an async message that gets received by the list's mediator. [[And even more correct: The command would set some model properties (e.g. currentListItem) and the model than sends an async message.]]
Edit: For the browser close event, you need to call a JavaScript expert.

Resources