Is it possible to customize the export file in moodle - moodle

I am using moodle 3.2 version with boost theme. I have to customize the export items. Is it possible?
For example : I have to export only First name , Last name of user details. Is it possible?
Please suggest your solution.

I got solution . If you want to customize the export fields means you have to change in . php file. for example : To customize user details you have to change in rootfolder/admin/user/user_bulk_download.php file field array.
Thanks

Related

Remove personal template from Visio (plan2)?

Does anyone know how to remove previously added personal template form Visio (plan2)? It seems this is not as straightforward as I would expect...
Many thanks.
Please check in File location window field Templates. You can call this window with these steps
Select tab File at ribbon
Select Options in bottom of list
Select Advanced
Select File locations in bottom of list
Please check: Is your unwanted document located in folder which you can find in Templates field in File locations window ?
I did some additional research to find out that while adding .vtpx template, visio converts it to .vstx and stores it (in my case) in Custom Office Templates folder.
All I had to do is remove the corresponding .vstx from that folder and the template disappeared form Personal Templates tab.
Not sure if Custom Office Templates is the default location in all cases, so better search for your [templatename].vstx on your drive.
Credit for idea goes to #Surrogate who hinted that you could define folder for templates. Thanks!

How to open custom wikidata RDF dumps

I have created a custom wikidata dump from https://wdumps.toolforge.org/ . Can anyone please tell me how to open and read that dump file ? File comes in .nt format
You can find recent dump files here: https://wdumps.toolforge.org/dumps
Depends how you want to read it. With visual studio code you can just open the file and see inside it. Other text editors should also work I think. Or do you want to have a more specific app for it?
Also its handy to mention if you'r on windows or not.
update:
You first need to unzip it, you can do this with winzip on a command line or a library in any language that does this.
https://support.winzip.com/hc/en-us/articles/115011594767-How-to-extract-gzip-and-tar-files-on-the-command-line
then you will get a file with lines like this:
<http://wikiba.se/ontology#Property> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
from there you can parse it with regex to get the pages out of it, dunno what you want? property, type or class?

Howto to configure TCA settings and save them globaly

I'm configuring a new website with TYPO3 v. 9.5.
I would like to configure TCA settings to make it possible to force editors to fill fields in content elements like media or news.
In former times I was able to put this settings into a file typo3conf/extTables.php.
In my investigations I found, that I have to put configurations into a directory Configuration/TCA/Overrides of an extension.
I tested it with the extension tx_news like this:
I put this code in a file called test.php as a test and example.
This code forces the editor to always enter an archive date.
This works for me, but after an extension update, this code might be lost and I cannot configure the fields of core extensions for example to force an editor to always enter a title of a content element.
My question is, how can I store this configurations update save within the configuration environment?
Thank you in advance,
Ralf
Depending on your modifications you need to consider some aspects:
always use a filename according to the table your modifications belong.
so for the news records it should be: Configuration/TCA/Overrides/tx_news_domain_model_news.php
make sure your modifications are loaded after the first initial configuration: make a dependency to the original extension.

wordpress - advance custom fields export content

Is it possible export the data of advance custom fields saved in the pages of another wordpress installation?
basically, I would like to import this data into my new wp installation, since they have the same contents.
I found the option to export from acf, but it seems to export only the structure of custom fields but not the content.
is it possible? any suggestion?
thanks
The data can be exported from the wp_postmeta table in your database. If you're using multisite, the adjust your export for the corresponding table prefix, e.g. wp_2_postmeta.

Finding theme files of Magento

I want to do some changes in magento theme actually product detail page, but I am unable to find that what theme it is. There are 4 directories where files can be.
In app/design there are 2 directories, default and base and then further more
And same is hierarchy in skin folder
So is there some place where I can see that which files are being used or is there some variables or functions in magento that I can use to check that from where it is getting file. I don't know much about magento and zend framework. I tried to echo some content in product_controller but it seems that I am not printing output in write file. So what can be the way for me to know that where is the file of product detail page view where I can add a form and some link, is there any sort of custom HTML in magento that I can add in product detail page? I actually want to have a form in it that will take it to anohter page that I will create in magento and that page will use some data from form. Or if there is some extension for it?
Please tell if you know any thing about it , that is really appreciated.
thanks
You can find out where your themes set from
System > Configuration > Design
System > Design
turn on template hints from System > Configuration > Developer
or you can add print_r(get_included_files()); to the end of index.php to see what files are actually used in current php page
You can find out which is set from following place
System > Configuration > Design
System > Design
here you can see the name of theme who layout,templates and skin is used
then u can explore the folder having the same name as files from that folder are in use.