Skip to content
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

Need for Global Elements #51

Closed
richarddeanjohnson opened this issue Jan 12, 2015 · 1 comment
Closed

Need for Global Elements #51

richarddeanjohnson opened this issue Jan 12, 2015 · 1 comment
Assignees

Comments

@richarddeanjohnson
Copy link

Denny,
I am working with Will Braswell at Auto-Parallel Technologies and we are making some very cool websites with ShinyCMS. Our latest effort required me to modify the search.tt to show our search results in our site wrapper theme. The search results work well and show in our template, but the header and footer have would-be-global elements that we have been able to include (and duplicate) on each page that we create. For example, editable phone numbers, emails and company by-lines appear in the header and footer and we duplicate the elements on each page. The problem is that there is no way to add the phone numbers, emails and by-lines to the themed search page. If we had a place to enter elements globally I would not have to add them to each page and they would show up in our site wrapper header and footer. Is there a way to add global elements currently?
Richard Johnson

@denny
Copy link
Owner

denny commented Jan 18, 2015

Hi Richard,

Sorry for the delayed reply; busy as ever here! I hope you're getting along okay with ShinyCMS so far.

There are global elements, you can create and edit them in the admin area under Other -> Edit Shared Content, and use them in your templates as [% shared_content.element_name %].

Regards,
Denny

@denny denny closed this as completed Jan 18, 2015
@denny denny self-assigned this Jan 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants