Comments (4)
In themes/default/base.html
you have {{cms_head}}
and {{cms_foot}}
that is replaced by the HTML code you fill in that option
from cmlyst.
This should not be closed; its an Issue: to duplicate this issue; put code in both header and footer;
I used this for my test:
CMS Header
CMS Footer
<style> body { background-color: white; } </style>I would expect to see a white background and not a lightblue one; since the Footer in the footer will change it; but I see the same body css as is in the header, its duplicated the two.
I did find the references to {{cms_head}} and {{cms_foot}} in the base.html template; and adminsettings.cpp and root.cpp
where on line 98 I see this:
const QString cms_foot = settings.value(QStringLiteral("cms_head")); if (!cms_foot.isEmpty()) { const Grantlee::SafeString safe(cms_foot, true); c->setStash(QStringLiteral("cms_foot"), QVariant::fromValue(safe)); }
which should be this:
const QString cms_foot = settings.value(QStringLiteral("cms_foot"));
and at line 283
const QString cms_foot = settings.value(QStringLiteral("cms_head"));
same thing:
const QString cms_foot = settings.value(QStringLiteral("cms_foot"));
I need to learn how to do pushes; I will work on getting this into my github.
from cmlyst.
Sorry I didn't understand you had an issue, I thought you didn't understand how that worked.
from cmlyst.
My bad; I was looking at the code and did not find an issue the first time; I had to debug it to find it; I knew it was an error or my misunderstanding about how the code should work; I learned how to do a pull request.
from cmlyst.
Related Issues (20)
- Please write some tutorial
- Cannot create a user HOT 1
- Blank page if using theme default-dark HOT 3
- Static front page not working
- Admin Menu app crashes when you add a new menu item HOT 3
- Admin adding Post or Page, the Path does not allow access HOT 1
- Admin General: Front page displays, A static page: Posts page: shows only Pages HOT 1
- Admin: Users: Add New User gives 404 Page not found HOT 1
- Unable to bind to designated IPv6 address HOT 2
- Menu should have option to set order HOT 2
- Documentation HOT 2
- Run-time warning about translations HOT 2
- Feature request: Plugin
- Feature request: Header and Footer
- Feature request: Version Manager for JavaScript and CSS
- If export SETUP i got segfail
- grantlee sintax error HOT 4
- Feature Request: Comment System HOT 1
- CMlyst exit immediately HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmlyst.