I have downloaded a theme for moodle and i tried to add it to the existing themes using method B in the following link(using plugin).
https://www.vidyamantra.com/sales/index.php?/Knowledgebase/Article/View/242/0/how-to-install-new-theme-in-moodle
as per the steps the theme got updated in the plugin list but it is not visible in the themes(no change in available theme) so that i could not change my moodle theme.
so,please help me to resole this..
This is a common issue. Certain servers (depending on how they're configured and what version of PHP is installed) will not parse the theme's PHP files correctly.
If you find that you're uploading themes via the front-end and they're not coming up, you will need to upload via FTP/cPanel (Method A).
Try Using FTP, I use WinSCP (windows) then locate the "theme" folder.
"/var/www/html/yourMoodle/theme"
upload "yourTheme.zip" to this folder.
the using ssh unzip the file. (ubuntu)
usr$ sudo unzip /var/www/html/yourMoodle/theme/yourTheme.zip && sudo rm yourTheme.zip
then go to your moodle and change the theme
Unzip the downloaded theme and put it under theme/ directory. Run the upgrade from cli
cd admin/cli/
php upgrade.php
You should see it under theme when you login as administrator.
Related
I want to edit the css and attached some js file in the header.Can i edit it through login to the ftp account using in Dreamweaver.Or i need edit it in Eclipse?
You will need eclipse & DW extension for eclipse and source code set up of your DW site.
Then you need to set up DW server connection and after that whatever changes you will do, automatically be deployed on the associated server.
I don't think there is any FTP option for changing files in DW.
Thanks,
Manish Kumar
There are 4 ways to upload some code on Demandware aka salesforce commerce cloud :
VSCode extension Prophet Debugger
Eclipse with the UX Studio (help > install new software Work with : http://updates.demandware.com/uxstudio/4.5 (press add than install)
WebDav client as WinSCP, CyberDuck, CarrotDav and uploading directly in the active version directory in Cartridges. You'll find the path in your back office in Administration > Site Development > Development Setup > Cartridges.
dwupload a very simple node tool. You have to configure a dw.json file directly in your cartridges directory and launch it from here (a little tips you can use the parameter --config [configuration file] if you have serval sandboxes).
You can do that with a WebDAV client. Just install any WebDAV client, for instance CyberDuck, and connect to your server with your credentials.
After that you can use it in a way similar to FTP clients and update your files without Eclipse.
I am unable to install the following question types with my moodle
1. Drag and drop into text (qtype_ddwtos)
2. Drag and drop matching (qtype_ddmatch)
I am using I am using Moodle 2.5.4 (Build: 20140113), php 5.4.7, MySQL 5.5.27, Apache 2.4.3, XAMPP server version 1.8.1
I have downloaded the plugins and unzip it then placed in the moodle->question->type. After that if I click the notifications link it is showing only blank page. Please advise me how to go further and how to resolve this issue and make use of those plugins.
the idea is to give the 755 permission to the "ddmatch" and "ddwtos" folders.
1- copy the two folder to moodle->question->type (as you did)
2- cd to this this directory:
cd /opt/lampp/htdocs/moodle/question/type
3- and change the permission of the two folder:
sudo chmod -R 755 ddwtos ddmatch
it worked for me !
I just checked out 2.5.4 and downloaded the plugins you mentioned - making sure they were both 2.5 versions - and extracted them into /question/type
https://moodle.org/plugins/view.php?plugin=qtype_ddmatch
https://moodle.org/plugins/view.php?plugin=qtype_ddwtos
Then went to notifications, they both require other plugins
qtype_match doesn't exist unfortunately
https://moodle.org/plugins/view.php?plugin=qtype_match
However gapselect does, so I downloaded that one too
https://moodle.org/plugins/view.php?plugin=qtype_gapselect
Then ran the upgrade and no errors were shown.
Is this on linux? Its possible that the extracted files haven't got the correct permissions - check the ownership of the folders : http://docs.moodle.org/25/en/Security_recommendations#Running_Moodle_on_a_dedicated_server
I would also double check that the files have been unzipped into the correct folder - so you should have /question/type/ddmatch, /question/type/ddwtos and /question/type/gapselect
If all that is okay then, like davosmith says, if you can switch on debugging and paste the error here. If you can't get into the system then edit /config.php and add these 2 lines after $CFG = new stdClass();
$CFG->debug = 32767;
$CFG->debugdisplay = 1;
Then try going to notifications again and see what the error is /admin/index.php
I have installed more than two extension in magento 1.7 and they are successfully installed but when proceed on next step they are not visible like one extension is tonbo color picker it's not visible in design tab and other one is module creator after installing it on local i got one more menu in System tab that is module creator but not on live please suggest what to do here to make them visible on live too.
this issue was related to permission,and now it's solved after doing chmod -R 777 on the root of my magento installation folder.
i got this solution from Magento extensions not loaded
thanks!
I installed Phabricator for working with Python projects. Everything is ok, but files view present them, as plain text. I want to some highlighting provided by Pygmentize utility.
I have installed Pygments
sudo pip install Pygments
Checked from all users, pygmentize script is available, and located at /usr/local/bin.
I changed
'pygments.enabled' => true,
settings in myconfig.conf.php file of phabricator.
But it's not working ?! I can't find any log crashes, or something else. Have you any ideas why it can happen?
I received answer from Github-Issues service. The reason was that httpd user can't call this function, here is sample which extends own $PATH enviroment. I added this to myconfig.conf.php file:
'environment.append-paths' => array('/usr/local/bin'),
It is strongly recommended to add path with pygmentize to your path.
config file located at:
phabricator/conf/local/local.json
I have add in my config
"environment.append-paths": ["\/bin","\/usr\/bin","\/usr\/local\/bin","\/usr\/local\/sbin","\/usr\/local\/bin","\/opt\/local\/sbin","\/opt\/local\/bin","\/usr\/sbin","\/usr\/bin","\/sbin"],
I am using SmartOS ($PATH locates in /usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin)
I am currently using Magento community edition, version 1.7.0.0, and as recommended by Magento due to a major security loophole fix, I want to upgrade my application to use latest version, 1.7.0.2.
What is the best way to upgrade magento version?
I know there are ways like command-line upgrade and using Magento Connect Manager, but not sure which and how to use.
thanks
The easiest way is to go to the Magento Connect Manager and press the Check for Upgrades Button.
Then you can see updates for all versions.
If you want to Update all packages then take Mage_All_Latest
I think when you are in the same Major release the update should work without any problems.
If you get some trouble with dependencies. You can do an upgrade with your console:
./mage upgrade-all --force
After using force you should check all your functions.
Follow the below steps:
Download the latest magento version(say 1.9) from http://www.magentocommerce.com/download
Backup every thing
Now remove all files and folder from your site code(mine say 1.7) and put in a new folder say ‘x’ folder.Put maintenance flag and place all magento files from latest magento download folder.
Now from magento 1.7( ‘x’ folder) merge the following custom folders into 1.9
app/code/local
app/code/community
Media
Your theme or package (app/design/frontend/default/<your theme> or app/design/frontend/<your package>)
Folders from Skin (both for adminhtml and frontend).
Copy app/etc/modules/ to current app/etc/modules/ from ‘x’ folder
Custom admin theme folder from adminhtml/default/yourtheme.
copy your custom folders from adminhtml/default/default/ (‘x’ folder) to adminhtml/default/default/ (1.9).
Custom js files from app/js/. from ‘x’ folder
Now go to app/etc/local.xml of 1.9 and put your database and password details
Remove maintenance.flag file and run your site on browser, and you are done