Specify the author in a mediawiki page - wiki

I downloaded mediawiki wiki to develop my project and I want to include the ability to add the author of an article within the mediawiki page : The only extension I've found is this : www.mediawiki.org/wiki/Extension:AuthorInfo ,it adds that users have contributed according to edits, where you have to add this text to the page where you want to show the list of authors :
<AuthorInfo limit="4"></AuthorInfo>
but if I wanted to let the user who writes an article to add your name to in article, example;
Name Article
.
.
.
.
written by XXX
Thanks you!!!

Take a look at the built-in configuration option $wgMaxCredits and extensions like http://www.mediawiki.org/wiki/Extension:ContributionCredits, which both use the article history to build and display a list of contributors automatically.

Related

How to add meta description/title to contact page in opencart

The contact page of my site is https://example.com/contact_us . On google, it shows like
which is not very good.
It seems there is no way to edit from admin panel the meta title and meta description of this page. neither on theme panel.
So, how to edit this from core files?
catalog/view/theme/default/template/information/contact.tpl
seems not having any related, and don't see a way to edit loading header just for this one page
can you have any idea ?
I hope it's 100% working for you.
Find the controller Path of Page. you wish to edit and then do the below,
PATH : catalog\controller\information\contact.php
Find:
$this->document->setTitle($this->language->get('heading_title'));
Add After:
$this->document->setDescription('My description, this is where i type my text after i remove this text.');
$this->document->setKeywords('my, keyword, this, is, the place, holder, for, my, keywords');

How to create content section in xcart?

How we can create content section in xcart like we create in wordpress via widget ? is there any option like this ? i want to make home page with 4 section with image content and link them to particular page .
This differs depending on X-Cart version. There are two major versions now: X-Cart 4 and X-Cart 5. They are very different and in order to give you any advice it is better to now what X-Cart version you are using.
Alex Mulin is right, it's kinda difficult to answer your question without such specific info as your X-Cart version. Yet I'll try to. In both cases the webmaster mode can help you do the trick. See video tutorials below.
Webmaster mode in X-Cart 4 :
https://www.youtube.com/watch?v=9QrpH4cQGpE
Webmaster mode in X-Cart 5:
http://devs.x-cart.com/en/webinars_and_video_tutorials/using_webmaster_mode_in_x-cart_5.html
If they don't work for you for some reason, try to ask the same question but be a bit more specific, or at least provide the store URL and I will be able to check the version.
What you are trying to do is skin-dependent and each skin has its own sections.
In order to find the files that you need to edit, go to Admin Panel>Settings>General Settings>Enable debugging console and check its box.
When checked, if you open your store, it opens a popup that that shows you the smarty templates loaded (make sure your browser does not block popups).
You can then change the smarty template files in order to add whatever you want. If you are not familiar with them, they are basically extended HTML files with some basic commands (if/for/etc.) and you can get stuff from PHP files in them as well. You can use xcart webmaster mode to edit those files too as mentioned by other answers.
This video can also be useful for you: https://www.youtube.com/watch?v=vN__DZrNrRM (X-Cart - Storefront Design and Layout)
And here's some XCart documentation on how to customize store front and skins:
http://help.x-cart.com/index.php?title=X-Cart:Customizing_storefront
http://help.x-cart.com/index.php?title=X-Cart:Editing_Skin_Files

New articles are not showing on Joomla home page

I am using JSN ESCAPE PRO template (LINK HERE) . I installed sample data but for some reson when I create new article it is not showing on home page. Does someone knows where is the problem ?
When you're editing the article, is Featured set to yes?
If it is, is your default menu item set to the type Articles ยป Featured Articles
That's the easiest way to have articles show up on the homepage, if you need more than one there.
In Joomla 2.5 the sample data home page depends on which sample data you chose. It could be the Joomla category blog view, so in that case you will want to either add your new article in that category or you will want to change the home page to another category view or maybe to featured like #Doyle-Lewis said.

How to create a static About us page in opencart

I am a beginner in using opencart.I need to create an About us page from admin and have to link it to my main menu navigation.How to get this?
Step 1 : Goto information link in catalog tab
Step 2 : click to insert a page or information page like about us
Step 3 : if you have enabled seo then you can write keyword for you aboutus page or information page then your url will be easy to use e.g below if seo is disbaled then your url will be little boring e.g(index.php?route=information/information&information_id=4)or simpler to it which will not be good to share or use
NOTE: for seo you should use .htaccess file
It very simple go to admin panel
catalog -> Information
here you can see all the static pages such as About us,Delivery Information etc
edit them and changes will appear on front page .
to insert new page
catalog -> Information -> Insert
most complex opencart themes have a module like menu that you almost always can edit in the backend, if you wish to you can add it manually, to do so locate header.tpl in catalog->view->theme->common and see if menu is called directly there probably in a section or in an external file, probably located in the same folder, if you wish to you can send me a message with further info and i would be glad to further assist you, its really simple, if you find your way around.

How do I force new users to fill out their User: page when they create a new account on a MediaWiki wiki?

The unnecessary new user mistakes I'm having to revert on the wiki are getting annoying.. Is there any way for me to preload their User:Username with instructions on finding any help they may need and links to places to ask questions, further-more, is there any way to require new users to make three User:Username / User_talk:Username / User_talk:SomeAdmin page edits before editing other pages?
I don't know how to force it, but here is a trick I use:
Download and install the MyVariables extension.
Create a template to use it called {{User name}} - code below.
Include this template in a welcome message on your main page. The user will then see either Welcome <their name> if they have filled it in or Welcome enter your user name if they have not.
Two points on this template:
if they have not entered their name, the text links to a page explaining how to do that (you will need to create this),
if they have entered their name, the text links to MY PREFERENCES where they can update their user data.
Of course, you can change this if that is overkill.
The code:
{{#if:{{CURRENTUSERREALNAME}}|[[MY PREFERENCES|{{CURRENTUSERREALNAME}}]]|[[How to create your user profile on this wiki|enter your user name]]}}<noinclude>
<Add text here explaining the template, or just link to this stackoverflow page!>
[[Category:Template]]
</noinclude>
Another "trick" I've used is using the NewUserMessage extension to ask users to add this information.
Since I have no power to install/remove extensions on this wiki, I had to go with what I have. The wiki has Extension:InputBox installed.. So, I set up Template:Welcome, created a preload, and set up MediaWiki:Welcomecreation with a simple button that does most of the heavy lifting so to speak... It does not actually force anything, but gives all of the needed information and has a similar final output to what I was looking for.