olevik / grav-plugin-fullpage Goto Github PK
View Code? Open in Web Editor NEWFullscreen navigational slideshows through fullPage.js
Home Page: https://olevik.me/plugins/fullpage/
License: MIT License
Fullscreen navigational slideshows through fullPage.js
Home Page: https://olevik.me/plugins/fullpage/
License: MIT License
Just starting to have a play, so far so good, just wondering why it is no longer on GRAV plugins — is there a compatibility issue...?
Hi there
Testing out full page with a plain / new install of full page plugin with GRAV 1.4.0-rc.1...
Not sure why, but if I take this 'plain' install and add the full page plugin, I can build a successful full page page — EXCEPT when I refresh the page I lose the fullpage.js and the full page.css and the page loses most of the full page styling...
Seems to be something to do with the caching... any tips on how to set this up correctly?
thanks
Hello Ole,
just updated to newest version. All other plugins are also installed with latest available version. Config file for fullpage seems also to be okay:
---------------- user/config/plugins/fullpage.yaml: ------------------------
{% set theme_config = attribute(config.themes, config.system.pages.theme) %}
<!DOCTYPE html>
<html lang="{{ grav.language.getLanguage ?: 'en' }}">
{% block head %}
<head>
{% block meta %}
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
{% include 'partials/metadata.html.twig' %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
{% endblock meta %}
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
<link rel="canonical" href="{{ page.url(true, true) }}" />
{% block stylesheets %}
{% if config.plugins['fullpage'].transition %}
{% do assets.addCss('plugin://fullpage/css/transition.css', {'group': 'critical'}) %}
{% endif %}
{% if config.plugins['fullpage'].builtin_css == true %}
{% do assets.addCss('plugin://fullpage/css/jquery.fullpage.min.css') %}
{% do assets.addCss('plugin://fullpage/css/fullpage.css') %}
{% endif %}
{% if config.plugins['fullpage'].theme_css %}
{% do assets.addCss('theme://css/custom.css') %}
{% endif %}
{% endblock %}
{{ assets.css('critical')|raw }}
{{ assets.css()|raw }}
</head>
{% endblock head %}
<body id="top" class="{{ page.header.body_classes }}">
{% if config.plugins['fullpage'].transition %}
<div id="page_transition">
<div class="la-line-scale la-dark la-3x">
<div style="color: #0B110D;"></div>
<div style="color: #2C4D56;"></div>
<div style="color: #C3AA72;"></div>
<div style="color: #DC7612;"></div>
<div style="color: #BD3200;"></div>
</div>
</div>
{% endif %}
{% block content %}
<div id="fullpage">
{{ page.content|raw }}
</div>
{% endblock content %}
{% block scripts %}
{% if config.plugins['fullpage'].builtin_js %}
{% do assets.addJs('system://assets/jquery/jquery-3.x.min.js') %}
{% do assets.addJs('plugin://fullpage/js/jquery.fullpage..min.js') %}
{% endif %}
{% endblock %}
{{ assets.js()|raw }}
{% block init_fullpage %}
{% if config.plugins['fullpage'].builtin_js %}
<script type="text/javascript">
{{ fullpage_init }}
</script>
{% endif %}
{% endblock %}
</body>
</html>
---------------- user/config/plugins/fullpage.yaml: ------------------------
> enabled: true
> order:
> by: default
> dir: asc
> theme_css: true
> builtin_css: true
> builtin_js: true
> color_function: '50'
> header_font: 'Verdana,Geneva,sans-serif'
> block_font: 'Verdana,Geneva,sans-serif'
> change_titles: true
> shortcodes: true
> transition: true
> styles:
> -
> background: '#222222'
> options:
> navigation: true
> navigationPosition: right
> showActiveTooltip: true
> slidesNavigation: true
> slidesNavPosition: bottom
> css3: true
> autoScrolling: true
> fitToSection: true
> scrollBar: false
> loopTop: false
> loopBottom: false
> loopHorizontal: false
> touchSensitivity: 15
> keyboardScrolling: true
> animateAnchor: true
> recordHistory: false
> controlArrows: false
> verticalCentered: true
> sectionSelector: .section
> slideSelector: .slide
> lazyLoading: true
> menu: true
Best regards
Reinhard
I just installed a new clean Grav 1.5.6 and also the Fullpage Plugin via the administration-panel->plugins. After installation I followed the guideines given here. There is no possibility to select a fullpage template while creating a new page. Are there any further installation steps not documented?
Usually Grav uses the Quark theme now as standard theme.
Can You please advise how to solve? Thank You very much.
Kind regards
Reinhard
I installed @paulhibbitts's ready-to-go skeleton and it was working fine, but after I updated everything the site was broken. I hope you can replicate the problem.
The links to demo and contents in your README are broken.
Hello,
the plugin does not seem to work under grav CMS 1.4.2. I can not select the type "Fullpage" when creating a page because it does not exist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.