-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localshop Frontpage Text Personalization #65
Comments
Then I may have: Localshop DSV
|
Hey, since i'm really short on time currently i've added you as committer. So go ahead and help me make it better! :-) |
Sure I will. Best
|
It will be nice also to FRONTPAGE_SHOW_MESSAGE = True/False to enable and disable the whole message. The suggested setting key (FRONTPAGE_SHOW_MESSAGE) it is only a idea, you might find a better key name to define the functionality. This leads to me that some TEMPLATE_CONTEXT_PROCESSOR will need to be added to make settings visible from templates. |
Yes, you are correct. Will take a deep look on my localshop instalation to see any other possible personalisation. Tks. |
You're welcome. it will be good to expose the whole settings to the templating system, then any template will be able to render based on any setting. |
Suggestion:
add 2 new variables to conf.py (and mantain defaults with the strings currently available hardcoded inside the template):
And use those on frontpage.html, here:
Localshop
We have 2 localshop instalations, and its a good idea to identify which one is targeted for testing, and which one is production.
The text was updated successfully, but these errors were encountered: