How to remove 'My Default Home Page' from side navigation Moodle2.2.9? - moodle

How can remove or change the menu item 'My Default Home Page' from moodle navigation (Site administration->Appearance).
I changed it from language customisation but it is not reflecting in menu. I also tried changing in moodle/lang/en/my.php but no change.
Does anyone know how to change that? Please help.

This is admin related setting so you need to update in the following file moodle/lang/en/admin.php
Update the string $string['mypage'] = 'Default My Moodle page';
But its not good idea to directly change in the lang file else you can use Site administration > Language > Language customisation

Related

Customization of login screen is not working in Keycloak application?

provide configuration for customization of login page.
https://www.keycloak.org/docs/latest/server_development/index.html#_themes
Tried the above tutorial but its not working.
Do i need any permission for customization?
I wanted to change the logo, so I tried following the official tutorial, but it did not change. After all, I found that we should add few html lines containing the css class (resources/*.css) to display the logo instead of the default text. Steps below:
Select you Realm
Go to Realms Settings
Tab General
Fill the HTML Display Name field (by default it is blank) with the content having class kc-logo-text (login.css related) or your custom class (you can see the Master realm did it) in order to make the logo appeared.
Save
Tab Themes
Select your custom theme
Save
// For example:
HTML Display Name: <div class="kc-logo-text"><span>Keycloak</span></div>
Solution derived after I read https://lists.jboss.org/pipermail/keycloak-user/2019-September/019320.html

How to set up a TypoScript Playground in Typo 3?

How can one play around with TypoScript code shown in documentations about TypoScript?
Tested with a local Typo3 test instance, Typo3 version 9.5.5, Official Introduction Package installed.
In the backend, create a new page in the tree. Rightclick -> enable it (the red overlay should disappear). Make sure it is selected in the tree.
Click on the blue Template button on the left. Usually it will show you the blue No Template message.
Make sure on the top Info/Modify is selected from the drop down.
Click the gray + (New record) button under the drop down.
On the bottom, click Edit the whole template record.
Optionally give it a speaking template and website title, like 'Playaround' and 'Play Around'.
Optionally, under tab Options -> Clear, select Constants and Setup - this will clear everything this Template has inherited from parent templates, but will also disable the debug infos at the bottom of the frontend for this page (if you have installed the Official Introduction Package).
Under the tab General -> text entry Setup, enter the following TypoScript:
page = PAGE
page.10 = TEXT
page.10.value = Hello World
press the Save and then the View button.
A new tab opens, showing you the frontend for your page, printing the text 'Hello World'.
Now you can play around with the code examples given in eg. the TypoScript Reference.
Funnily enough, I just found out that Typoscript is by definition not a programming language, but a configuration description. That's why Typo3 is needed as a substructure for this, I think. There seem to be online demos of Typo3 on the net, but I don't know whether they are up to date and whether you can test TypoScript there. Therefore access local containers / installations as suggested. Or if the possibility exists a dev subdomain.

Breadcrumb doesn't work on a component I created (Joomla!)

I'm learning how to use Joomla! 3.2
I created a new component, then I added it to my main menu,
Here are the only parameters I changed in the main menu:
But now when I go to my new component the breadcrumb doesn't work correctly, there's only the home button and when I click on it I'm redirected to the same page:
Did i missed something very important? How can I fix it? The breadcrumb works on every other pages.
Ok I found the problem, I forgot to add this
$pathway = $app->getPathway();
$breadcrumb = $pathway->setPathway(array());
$pathway->addItem( JText::_( 'COM_PARTISPOLITIQUES' ),JRoute::_('index.php?option=com_partispolitiques&view=partispolitique'));
$pathway->addItem( "Current page name",'');
In the file view.html.php located in my component folder...
I am going to assume you are using the Helix template as it seems to be a common oversight.
Make sure that Enable Page Title is enabled from your menu Helix Page Title tab.
If not, please advise as to what template.

how can we remove that Liferay Logo , Sign In Hyperlinkand Powered BY ?? from the screen

I am using Liferay 6 and Tomcat for development .
I have developed a Custom Login POrtlet for my Application
Now on entering http://localhost:8086 , my Custom Login Page is displayed .
Please see the screen shot .
My question is , could anybody tell me how can we remove that Liferay Logo , Sign In Hyperlink ( Extreme right top ) and Powered BY ?? from the screen .
Actually the Logo can be changed without creating a theme. The other items require a cusotm theme however (where you will want to edit the velocity macros). For the logo look under Control Panel > Portal > Portal Settings and then click "Display Settings" on the right side.
Additionally you can also provide a small amount of css to the basic theme as well, but this should be considered a temporary hack at best. Go to Manage > Page Layout > Public Pages and at the bottom you will see a section labled CSS in there you can do:
#sign-in { display: none }
.powered-by { display:none }
But bear in mind that a user with firebug or similar tools can still expose the old sign-in by changing the CSS in firebug and the Liferay tag line is still in the source so it's only hidden from non-technical folks. A theme is really the right solution.
Yes you can remove all of those by creating your own Liferay Theme, deploying it, and then setting that Theme as the one to use for your Community.
This Liferay Wiki Article on creating Theme's should get you started, if you have any questions after this then ask away! :)
Go to custom.css file inside _diff folder of your theme add the below code:
#sign-in { display: none }

Changing Title of home page in Joomla

I am totally new to Joomla. I am trying to help a friend whose ISP has stopped support (for some internal reasons). We need to change the title of the home page.
1) The first place i made a change was in the 'Front Page Manager'. I changed the 'Title' column. The 'Show Title' parameter on this page is set to 'Global'. Yet the new title does not appear.
2) I then downloaded the entire site , consisting of 10,000 files and searched for the old title in all the files. I found the old title in one file which seemed to be used for SEO pruposes , since it had a whole lot of companies and their titles. I uploaded this file. No effect.
3) I then browsed through the database (MySQL) and changed old titles found in MetaKey and MetaDescription columns to new title. I think i checked all tables (almost 100 odd tables). No effect.
4) I found the old title in the 'Top Menu' item and changed it too.
I know this is a bit ambiguous but how could i troubleshoot the source of this title which does not get changed ?
Thanks,
Chak
Titles in Joomla come from several places. As Legycsapo said, the first place you should look is the default menu item. In the Parameters (System) the Page Title should override any other setting unless you have an extension that sets the page title. The Show Page Title option determines if the title shows up in the content, it does not affect the page title.
Try to change it in the menu options. In the mainmenu, click on the "Home" link, or whatever you write for Frontpage, and there are options in the right. The last one is the parameters, system, there is a "Website title" input box. Try there !
You need to change the home page title in the Control Panel Configuration.
In the Site tab you have the Site Name which is what will be written in the page title.
Another solution is, if you have SEF urls enabled, joomla has a native plugin called SEOsimple. Look under Plugin Manager, click on it and change the title to either disable so that it takes the title by default from global configuration or your custom one.