Magento PayPal Express not showing - magento

I have a pretty standard Magento installation (Magento ver. 1.7.0.2) and I have enabled PayPal Express settings (Including API username. password & Signature all filled in). I have set the default theme to blank so that it doesn't use any of my template files but the button is not showing on any pages (product, basket or checkout - These options are set to show in the admin).
So even with the default Magento theme non of the paypal buttons show up.
Anyone seen this before? Can anyone shed any light on this?
Thanks
edit p.s. Mage_Paypal & Mage_PaypalUk both enabled in Advanced.

its seems like you have enabled paypal with another configuration scope ..Not in Default configuration scope or may be you have disabled paypal exp in your current configuration scope. It will override Default configuration scope even you enabled in Default configuration scope. Make sure about this..
Just go to your database. open core_config_data table enable to view all datas with one page. Here you can see all your paypal configs. If you see any paypal configs with websites or something not like default in scope field then you have configured paypal for your current configuration scope.
Update :
consider your current config scope is website. In your core_config_data table set value to "1" for this payment/paypal_express/active for only the other config scopes (website) not the default. Just have a look at the following image. Then check again..It should be work now..!

Related

Magento 1.9: frontend pages are blank (only header is visible)

I am new to Magento, We have one Magento 1.9 version website. Actually I want to change the host, for this, I took all files backup from the server and also exported the database and then I have uploaded all files into another host(Godaddy) and imported the database. Everything working fine at the admin panel or backend pages, but front end pages not loading properly, just its loading header part of the page.
I didn't change anything in the files, I just transferred the files from one host into another hosting, but I don't know why frontend pages are not loading.
Please anyone give me a solution to fix that issue. Please see the below screenshot for reference. Thank you in advance.
This behavior could be due to a PHP error that is not being printed to the screen because of the PHP configuration. Try enabling print error on PHP and see if anything shows up. Contact your provider (Godaddy) for guidance.
Also, ensure that all configuration on admin panel is set. When you upload database and make a new installation, even when uploading the old database, if you do not specify the same old encryption key, some configuration will be missing, for example payment provider tokens and so on.
Check also if your home page CMS still exists and is configured to show on home page. Check this on CMS pages and maybe on your theme configuration.
system -> configuration -> general -> web -> homepage CMS
For any further guidance, would need more details.

set a theme for a user in Moodle

Within a Moodle, I've set up, I receive new users via a single sign on, these users should get a specific theme set for them. This theme is not the default theme, other users can sign up for the site (they are not coming in via the SSO) and should not get this theme, so I can't set it as the default theme.
How can I set a theme as the prefered or default theme for a user when he logs in via the SSO?
I would think that this setting is stored in the database but I can't find it there.
I found a column theme in the user table but setting the theme there does nothing.
I've also looked in the table user_preferences but didn't find any record about the theme after I changed it for a specific user.
Does anybody know where in the database this is stored or how I can set a default theme for a specific user?
UPDATE:
Users can change their own theme.
I store the themename in the column in the database (clean, NOT theme_clean).
You probably need to enable user themes - allowuserthemes
Go to site admin -> appearance -> themes -> theme settings
or direct to /admin/settings.php?section=themesettings
UPDATE:
How are you storing the name in the theme column? It should be mytheme rather than theme_mytheme.
If that's correct, then try changing the theme order : in config.php add
$CFG->themeorder = array('user', 'course', 'category', 'session', 'site');
You'll need to log out and log in for the themeorder to be updated.
If none of the above works, then I would either do a var_dump($USER) after a login to see if theme is updated correctly. Or start a debugger and step through function resolve_theme() in /lib/pagelib.php

Filter courses on Moodle 2.7

I am wondering if there is any plugin available for Moodle 2.7 which allows admin to add some attributes to courses and create a widget to filter the courses by thoses attributes.
For example, we would like to allow users to filter courses by their price, content, dates etc.
Thanks in advance
The block gnuwings provided will actually solve your issue when configured within Moodle correctly.
What you should do afterwards, is enable the 'My Moodle' page for every user. To find this setting, you should use the search function for the site admin.
My Moodle allows you to place blocks in the center of the screen, so you can edit the default My Moodle page to show this block. I would personally recommend turning the feature that allows students to edit their own My Moodle page off, as this will make it harder for you to manage this page in the future (without modifications to the database).
To edit the default 'My' page, in Moodle 2.7, go to site administration, appearance, default my page.
To enable this view by default, go to site administration -> appearance -> navigation, and update the value of 'Default home page for users'.

Magento multistore default settings

I have a problem (suddenly) with the defaults settings for a product. We have a multistore setup with several languages. When we create a new product, we put in alle relevant data for the product.
When we switch to another store view, all the "Use Default Value" checkboxes are unchecked.
Normally they should be checked by default, now it is unchecked by default?
We only need to change some things to another language, most things should keep the default setting.
This started a few days ago, the only thing we changed on the setup during that time is adding some extra modules or emptyd some log tables in the database?
Does anyone have any clue where I can correct this behaviour and have all the "Use Default Value" checkboxes checked by default again?
be sure that in file app/design/adminhtml/default/default/template/catalog/form/renderer/fieldset/element.phtml or (find the same file in your custom admin theme if You use it) in line 55 input has attribute checked="checked".
Also check in Mage_Adminhtml_Block_Catalog_Form_Renderer_Fieldset_Element method usedDefault() and see you error logs.

Enable Magento Varien_Profiler in admin area

How do I enable Magento Profiler in the admin area?
I've set the admin option, added Varien_Profiler::enable(); before Mage::run($mageRunCode, $mageRunType); and cleared cache, but the profiler results only show in frontend?
Am I missing something else?
Check that profiler is enabled as well in the default configuration scope in System > Configuration > Developer and that Developer IP Restrictions are empty or configured correctly.
Edit: Based on this being the accepted answer, it's worth nothing that the "default scope" in the system configuration will store values against the store scope ID of 0, which is the store scope which the admin areas uses.

Resources