Hello,
i will like to show something more personal in these places, is it possible?
Dolibarr 3.X.X version in the page tittle, and in the login screen.
Attached a few images for clarify.
Thank you
Hello,
i will like to show something more personal in these places, is it possible?
Dolibarr 3.X.X version in the page tittle, and in the login screen.
Attached a few images for clarify.
Thank you
This will change the login header
edit file
~/core/tpl/login.tpl.php
Edit line 86 to this
to change the title (Page dependent)
In the same file
edit line 33
from
<title>ā.$langs->trans(āLoginā).ā ā.$title.ā</title>ā."\n";
to
<title>ā.$langs->trans(āWhatever You Wantā).ā </title>ā."\n";
The changes above will only change the login page⦠To change the title once in dolibarr I havenāt figured out yet
Thanks a lot Kevin !!
I could been searching and never foud it, now is so easy.
Regards from Madrid
No Worries
Iāll post here when I figure out how to change the title once your logged into Dolibarr
Canāt you make all that without digging in the code ?
Setup/Other setup :
. add the variable MAIN_APPLICATION_TITLE value is up yo what you want
Setup/Display :
. you can modify some parameters up to your needs
Rgds.
Very Awesomeā¦
To be entirely honest Iāve only been messing with Dolibarr for about 3 weeks for a clientā¦
Iām a little more accustomed to editing php directly vs edits within a system and being such you can change things like (āLoginā) to (āWelcome Toā) whereas edits within Dolibarr will only allow you to change system wide variables i.e (.$title.)
However your Other Setup trick for the Dolibarr title was brilliant!!! It saved me tons of time
What else can you do with Other Setup??
The solution provided by Kevin works perfectly, but maybe the code must be changed everytime you update to a new Dolibarr versión.
By the way humphrey, how do you get this variable?, i“ve been searching for all possible variables in the wiki with no success and I“m sure there must be many wich could help to personalize Dolibarr a lot.
Yeah I would imagine the code change would be lost after processing any updateā¦
Donāt get me wrong the variable setup within Dolibarr is definitely the way to go if you plan on keeping up with releases but it limits you to system wide changes
For instance I didnāt like the āConnectionā button on the login page so I changed it to āLoginā
A variable Iām almost certain couldnāt have been changed within Dolibarr
but thats me I guess⦠I like to change little things like that throughout different systems for a more custom feel
The variables list is available at the wiki page http://wiki.dolibarr.org/index.php/Setup_Other
i.dannati : you are only using Dolibarr for 3 weeks ??? I read you other posts and it looks like you already know quite a lot about Dolibarr, you are great ! thatās amazing for me !!
Iām not a developer, just a regular user, sometimes Iād really love being able to understand and modify the PHP code for our needs⦠maybe in another lifeā¦
Anyway youāre right that any modification will be lost after an upgrade, so it is quite difficult to restore the modifications after an upgrade, moreover that there are huge structure changes since 3.2.0
Regards.
Thank you Humphrey!
PHP coding can be very easy given the right toolsā¦
A basic starting point is:
Firefox with firebug extension (This will help with css mainly but provides tools from tracing code down)
Textwrangler if you have a mac
Geany if you use linux
Not sure what for windows but search for alternatives in googleā¦
Those apps will not only seriously help in coding but more importantly they provide easy access to tracing⦠Lets say you want to find a particular code but have no idea what file to search
Simply search the entire document root with either of those applications
They will also allow you to compare one file to the next⦠So if there is a update you can compare the 2 different files to determine if coding changes were made and where
A trick we developers use to keep track of changes is simply create a local folder and call it revisions
When you change any file you duplicate the file structure within revisions so revisions/core/menus/standard/eldy.lib.php (recent one I worked on)
this way you can keep track of every edit as well as tailoring a custom comment out code for yourself like //dannati above all your edits⦠(makes searching for them in the future so much easier)
on a side note anyone who wants to learn in their spare time should visit http://codeacadamy.com its a great website to learn everything from the basics to more advanced programmingā¦
if you ever get stuck with any code no worries! Just send me a email i.dannati@yahoo.com and Iāll do want I can to help!
Cheers!
I want to delete Need help or support ?) from login pageā¦how can i do this ??
I failed to modify the title and login headersā¦
in Other setup Iadded MAIN_APPLICATION_TITLE and gave it value 1.
there is no other place to go to edit or see what to changeā¦
Please help step by step if possible, am completely new to linux and dolibarr
Instead of 1, write what you want to show, āMy erpā, if that field is blank, then dolibarr will show again
Edit main.inc.php and change or comment this line
// Displays title
//$appli=āDolibarrā;
for this line
$appli=āyour titleā;
1 - Edit main.inc.php
2 -Change or comment this line
// Displays title
//$appli='Dolibarr';
Write your title
$appli=āyour titleā;
How To delete text dolybar alpha ⦠etc.
This method really works well. I did for a dolibarr 11.0.4 version
I have just figured it out by adding this value in Setup > Other setups
Name:
MAIN_APPLICATION_TITLE
Value:
add your company name or something to replace Dolibar
This will change the title of the software (that appears on the login page by default).
Warning: changing this may make Dolibarr version detection fail by smartphone applications like [Application Android - DoliDroid]
(Application Android - DoliDroid - Dolibarr ERP CRM Wiki) breaking some features when using Dolibarr from this application.