Form in mediaWiki - forms

I have a Mediawiki site running. I am a beginner at this. I want two pages: one to display name and has a button, which leads to the another page where we can add names. This page has a textbox and a button to save the name. The display page has to show all the names entered.Please advice on how this can be done. Thanks in advance.

Since you are a beginner, I would not add buttons - just use the features MediaWiki already provides. On page 1, add a link using:
[[name of second page]]
On the second page, people can add names and use default MediaWiki functionality to save them.
To make the names nicely formatted, use a table.

Related

Hide element on blog page

I am really a beginner, trying to improve my wife's Wordpress website. What I am wanting to do is to hide a certain element (of the header, in this case) on mobile only. I already managed to figure out the "name" of this element, which is .vc_custom_xyz. I also managed to hide this element by adding additional CSS to any given page. BUT: This doesn't work for the blog post page - which simply ignores all CSS that I add. Also, when I add CSS into the theme's additional CSS section by referring to the blog page ID. Any ideas to help me achieve this? Thanks...

How to link multiple pages in GWT

I am new to GWT and so my knowledge is restricted.
Right now I have created a simple Login page which will take my user to another page and then based on the choices that the user makes, it will direct it to the next page. I have created 3 individual pages but I have no clue how to link them. Can someone please help.
In GWT typically you do not create separate pages - you create separate "views". They may look like pages to an end user, but in reality the entire app works in a single HTML "host" page.
You may want to look at the Activities and Places design pattern. It takes care of navigation between different "places" within your app.
very simple example with a DeckPanel. It shows only the selected 'page' and hides the other ones
DeckPanel deckPanel = new DeckPanel();
deckPanel.add(page1);
deckPanel.add(page2);
deckPanel.add(page3);
deckPanel.showWidget(0);
//deckPanel.showWidget(1);
//deckPanel.showWidget(2);

How do I proceed with creating a panel which can search a page in wicket and redirect to the same

I am trying to do the following:
I already have a menu with several drop downs in wicket right now. However the number of entries have become very large in the drop downs, one has to remember headers under which a particular page exists. I would like to create a landing page, which would have a search bar in which we can type in the page name and I should be redirected to the desired page.
Can anybody give me any pointers of how to proceed with this one? Thanks!
You can consider to use AutoCompleteTextField to show user the available pages. Then, after user has selected a page, you can redirect him/her to the page.

How to display a single post with wordpress menu?

I have converted a joomla website to wordpress. All categories and joomla articles are converted as wordpress categories and blog post. Now I want to show this posts (articles) with different menus. But I saw I can assign catagories in word press menu. But How can I display a single post with a menu ?
Like I have about us post , for which I want to create a menu. How can I do that ? I can convert those to pages. But I dont want to loose tags and URLs . Can anyone help please ?
Thanks
You can add any post to a menu from the "posts" box in the menu admin screen. If you don't see that box, go to the screen options for the menu screen and check "posts".
There is an option named Custom Links in wordpress menu configuration. Just name label as "About Us", and give your post link in url field.
create separate page template for every single menu. In these page templates write a php code to fetch content from single category. Create pages in admin and assign a page template to each page into admin. This will fetch content from different category on different menu that u want.

Want to share a particular block or div from my entire page into facebook

I have a requirement that in a webpage I have multiple block of content which is wrapped inside individual DIV. Each block needs to have a share to facebook button.
Did many researches but couldn't find a solution. Please can anyone give me a suitable code or idea how I can share particular blocks/content wrapped inside a div into facebook.
For e.g.
I have three DIV in my page and each DIV has share button, when user clicks on any of the share button the respective DIV is shared.
Is there any solution to this requirement or whether is it possible to do. Any kind of suggestions are widely accepted.
Check out this HyperArts tutorial on adding a Share Button to an iFrame tab - you use the exact same code for your webpage. You will be using the Facebook JavaScript SDK.
At the end of the tutorial it explains how to modify it to allow for multiple Share buttons on one page. You just need to add a unique identifier for each one.