No Header wanted

Permalink Browser Info Environment
Hi there
Love the theme so much that I'm combining four sites into one using Modena.
My problem is that one of the sites is an online music station. The music on demand page must have no other scripts working ( although scripts in the footer should be OK ).
I have been trying to get no header on a page by creating a noheader slug page and adapting the block_header_php by inserting a noheader line in front of the globalheader.
However, nothing works.
Could you advise a fix for no header on a page ?
Many thanks if you can.
Terry

Type: Pre-Sale
Status: Resolved
tjbphoto
View Replies:
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Terry,

Thanks a lot for your purchase and glad to hear you are enjoying using Modena.

I can send you a headerless page template with some instructions for installing it if you would like?

Best regards

David
tjbphoto replied on at Permalink Reply
tjbphoto
Hi David
That would be great thanks.
Terry
ps I hope you and your family are keeping safe.
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Terry,

We are keeping well thanks, hope you and your family are all good too?

I will sort this out over the weekend for you.

Best regards

David
tjbphoto replied on at Permalink Reply
tjbphoto
Thank you David.
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Terry,

After having a more detailed look at this, it looks like it won't be possible I'm afraid, Modena does not use any scripts in the header at all, however, Concrete5 does and we don't get a say in that, as they are crucial for Concrete5 to run, without those scripts running in the header the Concrete5 edit bar will not function and you won't be able to add blocks etc, basically, everything runs off of those js files.

If you can give me a few more details about what exactly isn't working, or maybe a link to the page so I can see whats going on, I might be able to suggest a solution or workaround, as it stands I don't think a headless page will work out for you.

Best regards

David
tjbphoto replied on at Permalink Reply 3 Attachments
tjbphoto
Hi David
I've attached 3 screenshots which show the problem where the bottom part of the text is missing and if clicked it always returns to top of page.
I've tried several fonts
I've tried different pagetypes
I've tried layouts, no layouts
I've tried fiddling with source but no joy.
Previously, with a different theme I was able to get this to work if header was plain.
tjbphoto replied on at Permalink Reply 1 Attachment
tjbphoto
Hi David
I dropped the scripts onto another theme ( Triada ) page and everything works perfectly. See screenshot.
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Terry,

Thanks for the screenshots. Would it be possible for you to set me up an admin account on your site? I can log in and take a look, it's difficult for me to properly diagnose without seeing the page, I can then check the console and see what is conflicting with the script.

If that's not possible, could you make the page live?

If that's ok please PM me the login details, please don't post them here as this page is publicly viewable.

Best regards

David
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Terry,

I have had an extensive look at both sites and I can see what is happening now, the widget located athttp://tjbphoto.co.uk/home/about-us/music-demand... is located much closer to the top of the page, so the page does not jump when checking a box and clicking "Play selected music files" as its already at the top of the page. If you scroll the page so that only "soft rock" is under the top of your browser, check that box and click on "Play selected music files" and it does jump in exactly the same way as the Modena based site. This is the default behaviour of an anchor link, if you wish to disable this behaviour you will need to contact the widget producer and get them to add this to their Javascript as its called in from an external source I cannot affect it on your site.

I have corrected the CSS for you so now the links are not cut off at the bottom, I hope this helps a little.

Best regards

David
tjbphoto replied on at Permalink Reply
tjbphoto
Thanks David
You're a star - how did you adjust the css ?
Terry
tjbphoto replied on at Permalink Reply 1 Attachment
tjbphoto
Hi David
I made a compromise which works fine for me.
Terry
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Terry,

I found that the CSS was being overridden by a style in Modena so I just added a new rule in the Custom CSS section in the design options, seems to have done the trick.

I am glad you have found a workaround if you have any further issues/questions please don't hesitate to get in touch.

Best regards

David

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.2
Version Installed - 8.5.2
Database Version - 20190925072210

# Database Information
Version: 10.2.31-MariaDB-log-cll-lve
SQL Mode: NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Background Image Slideshow (1.0.7), Backup Pro (3.4), Comment with Disqus (0.9), HTML+PHP Code Block (1.0.1), International Currency Exchange (1.0.1), Live Chat (1.0.0), Login/Logout Link (1.0), Minify HTML (1.1), Modena Theme (1.0.1), Open Graph Tags Lite (2.1.3), Parallax Area (2.4.0), Portfolio Grid (1.0.0.0), SVG Social Media Icons (0.9.9)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
7.0.33

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, litespeed, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 360
max_input_vars - 8000
memory_limit - 256M
post_max_size - 512M
sql.safe_mode - Off
upload_max_filesize - 512M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 7963
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.