Re: ZCA Bootstrap Template
I realize this is an older post but I have a question regarding the discussion. Are you speaking of viewing the search bar in desktop mode? I am trying to get the search bar to display on the front page of responsive/portrait mobile without having to click on the toggler menu bar. Can you tell me if you know of a solution for this request? Thanks!
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
chuckrey
I realize this is an older post but I have a question regarding the discussion. Are you speaking of viewing the search bar in desktop mode? I am trying to get the search bar to display on the front page of responsive/portrait mobile without having to click on the toggler menu bar. Can you tell me if you know of a solution for this request? Thanks!
Responding to my own request after trying a couple of options one worked for me, right or wrong, it works.
In case anyone else wants to do the same, here is what I did...
file: tpl_header
Grabbed the below bit of code from around line# 72 and relocated it to just below "tagline" tag around #112.
Since it was placed below the tagline, it is using the TaglineWrapper css, so it fit perfect for my purpose. The only css I needed to add was in stylesheet.css
Code:
@media only screen and (orientation:portrait)
#taglineWrapper {padding-top:10px;}}
*** I do not use the tagline so not sure how it would interact, I assume a bit of css to get it worked out if needed. It also moved the search bar from the navmain to the tagline area across from the logo on desktop which I prefer. Keep in mind this also removes it from the toggle in Responsive which I don't mind since it is displayed in the header.
Code Moved from around #72 to #112:
Code:
<?php
require DIR_WS_MODULES . zen_get_module_sidebox_directory('search_header.php');
?>
There is probably a bunch of different ways to make it work, but I am not a coder and this worked for me.
Re: ZCA Bootstrap Template
I am having the hardest time understanding this template system. I downloaded it from GitHub and after copying all relevant files to the site, it throws PHP error on the front end:
PHP Code:
--> PHP Fatal error: Uncaught Error: Undefined constant "ZCA_BUTTON_COLOR" in /site/public_html/includes/templates/bootstrap/css/stylesheet_zca_colors.php:73
In addition, there is no Admin > Tools > ZCA Bootstrap Colors as the FAQ claims.
Can someone point me to the installation instructions and how to use this template as the download contains no readme, no instructions.
Thanks!
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
Techiant
I am having the hardest time understanding this template system. I downloaded it from GitHub and after copying all relevant files to the site, it throws PHP error on the front end:
PHP Code:
--> PHP Fatal error: Uncaught Error: Undefined constant "ZCA_BUTTON_COLOR" in /site/public_html/includes/templates/bootstrap/css/stylesheet_zca_colors.php:73
In addition, there is no Admin > Tools > ZCA Bootstrap Colors as the FAQ claims.
Can someone point me to the installation instructions and how to use this template as the download contains no readme, no instructions.
Thanks!
It was an issue with the source not fully extracted from zip archive for some reason
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
Techiant
I am having the hardest time understanding this template system. I downloaded it from GitHub and after copying all relevant files to the site, it throws PHP error on the front end:
PHP Code:
--> PHP Fatal error: Uncaught Error: Undefined constant "ZCA_BUTTON_COLOR" in /site/public_html/includes/templates/bootstrap/css/stylesheet_zca_colors.php:73
In addition, there is no Admin > Tools > ZCA Bootstrap Colors as the FAQ claims.
Can someone point me to the installation instructions and how to use this template as the download contains no readme, no instructions.
Thanks!
The zip-file includes a /docs/bootstrap directory; that's where you'll find the installation instructions as well as a pointer to the template's wiki articles: https://github.com/lat9/ZCA-Bootstrap-Template/wiki