Discussion:
[Mayan EDMS: 2594] PROJECT_TITLE setting in 3.0.1?
LeVon Smoker
2018-07-24 14:15:35 UTC
Permalink
Is there no longer a way to set the title of the site in 3.0.1? In 2.7.3 I
could set the PROJECT_TITLE setting to something that included my agency
name.

(I'd rather not hack the source...)

LeVon Smoker
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Prasanjit Biswas
2018-07-25 08:23:29 UTC
Permalink
Yes this is exactly what I was asking in here -
https://groups.google.com/forum/#!topic/mayan-edms/0QFVje4BRrI
I do remember being able to change Site title in earlier version easily. I
don't mean to change code for such small thing. It is just request to
change site header with company name without changing any copyright notice.
Pls suggest.
Post by LeVon Smoker
Is there no longer a way to set the title of the site in 3.0.1? In 2.7.3 I
could set the PROJECT_TITLE setting to something that included my agency
name.
(I'd rather not hack the source...)
LeVon Smoker
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
v***@gmail.com
2018-07-25 08:54:52 UTC
Permalink
check the script in base.html
Post by LeVon Smoker
Is there no longer a way to set the title of the site in 3.0.1? In 2.7.3 I
could set the PROJECT_TITLE setting to something that included my agency
name.
(I'd rather not hack the source...)
LeVon Smoker
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
LeVon Smoker
2018-07-25 13:07:37 UTC
Permalink
I see where I can make a hard-coded change in the templates, but I don't
want to touch the original source. Is there a way for base.html to be
overridden?
Post by v***@gmail.com
check the script in base.html
Post by LeVon Smoker
Is there no longer a way to set the title of the site in 3.0.1? In 2.7.3
I could set the PROJECT_TITLE setting to something that included my agency
name.
(I'd rather not hack the source...)
LeVon Smoker
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
LeVon Smoker
2018-07-25 16:54:13 UTC
Permalink
Figured this out...

I have a custom app for my Mayan overrides. In the 'ready' function in my
apps.py, I added a line:
mayan.__title__ = 'My Fancy Title'

Of course at the top of apps.py, you'll need:
import mayan
Post by LeVon Smoker
I see where I can make a hard-coded change in the templates, but I don't
want to touch the original source. Is there a way for base.html to be
overridden?
Post by v***@gmail.com
check the script in base.html
Post by LeVon Smoker
Is there no longer a way to set the title of the site in 3.0.1? In 2.7.3
I could set the PROJECT_TITLE setting to something that included my agency
name.
(I'd rather not hack the source...)
LeVon Smoker
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Roberto Rosario
2018-08-20 04:41:55 UTC
Permalink
We added a new configuration option to make this easier for users. Starting
from the next version you can change is via the COMMON_PROJECT_TITLE
setting option
(https://gitlab.com/mayan-edms/mayan-edms/blob/versions/next/mayan/apps/common/settings.py#L68)

We are also working on an setting UI update to allow changing these
settings from the UI. Users will still need to restart their Mayan install
but no console editing will be needed (this feature about 80% done).
Post by LeVon Smoker
Figured this out...
I have a custom app for my Mayan overrides. In the 'ready' function in my
mayan.__title__ = 'My Fancy Title'
import mayan
Post by LeVon Smoker
I see where I can make a hard-coded change in the templates, but I don't
want to touch the original source. Is there a way for base.html to be
overridden?
Post by v***@gmail.com
check the script in base.html
Post by LeVon Smoker
Is there no longer a way to set the title of the site in 3.0.1? In
2.7.3 I could set the PROJECT_TITLE setting to something that included my
agency name.
(I'd rather not hack the source...)
LeVon Smoker
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...