Parallax theme

Post Reply
User avatar
StephanStanisic
Posts: 37
Joined: Fri Jul 05, 2019 8:51 pm

Parallax theme

Post by StephanStanisic »

Hey all!

Just made this theme as a exercise. Works best with a floating summernote editor. CC-0, do what you want.

Image

Demo: https://www.wonder.stanisic.nl/

Github repo: https://github.com/StephanStanisic/theme-parallax
Github repo for v3.0.0: https://github.com/StephanStanisic/them ... /dev-3.0.0

Install url: https://github.com/StephanStanisic/them ... rallax.zip
Install url for v3.0.0: https://github.com/StephanStanisic/them ... v3.0.0.zip

If you have feedback, please send me this via this form! Thank you!
Last edited by StephanStanisic on Thu Jul 11, 2019 4:55 pm, edited 4 times in total.
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Parallax theme

Post by wiz »

Beautiful theme Stephan! Thanks for contributing, much appreciated.

I'll prepare this theme for the upcoming WonderCMS 3.0.0 and add it to our themes page once we publish WonderCMS 3.0.0.

In the mean time, you've been added to our list of contributors, along with a link to your website here: https://www.wondercms.com/special-contributors

Let me know if you want to link to somewhere else instead of your website.

Really impressed by your theme, one of the most beautiful ones I've seen yet.
Thanks again!
User avatar
StephanStanisic
Posts: 37
Joined: Fri Jul 05, 2019 8:51 pm

Re: Parallax theme

Post by StephanStanisic »

Hey Wiz,

Wasn't expecting to being added to the list of contributors, but thanks! Could you link to the website https://stst.ga? Thanks!
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Parallax theme

Post by wiz »

Link updated.

Why would you be surprised, you did an absolutely excellent job.
We even have a system for rewarding active contributors with minor donations. :)

Keep up the great work!
User avatar
StephanStanisic
Posts: 37
Joined: Fri Jul 05, 2019 8:51 pm

Re: Parallax theme

Post by StephanStanisic »

If I'm right, the 3.0.0 update changes from global static with wCMS:: to $Wcms-> inside the theme.php?
If that's all, I am happy to add a additional check in the theme and make it both 2.x.x and 3.0.0 compatible.
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Parallax theme

Post by wiz »

You're correct. Also calling the global $Wcms is also required.

An example of the default theme ported to 3.0.0

Code: Select all

<?php global $Wcms ?>

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title><?= $Wcms->get('config', 'siteTitle') ?> - <?= $Wcms->page('title') ?></title>
        <meta name="description" content="<?= $Wcms->page('description') ?>">
        <meta name="keywords" content="<?= $Wcms->page('keywords') ?>">

        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
        <link rel="stylesheet" href="<?= $Wcms->asset('css/style.css') ?>">
        <?= $Wcms->css() ?>

    </head>

    <body>
        <?= $Wcms->alerts() ?>
        <?= $Wcms->settings() ?>

        <nav class="navbar navbar-expand-lg navbar-light navbar-default">
            <div class="container">
                  <a class="navbar-brand" href="<?= $Wcms->url() ?>">
                    <?= $Wcms->get('config', 'siteTitle') ?>

                </a>
                <div class="navbar-header">
                    <button type="button" class="navbar-toggler navbar-toggle" data-toggle="collapse" data-target="#menu-collapse">
                            <span class="navbar-toggler-icon">
                                <span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                            </span>
                    </button>
                </div>

                <div class="collapse navbar-collapse" id="menu-collapse">
                    <ul class="nav navbar-nav navbar-right ml-auto">
                        <?= $Wcms->menu() ?>

                    </ul>
                </div>
            </div>
        </nav>

        <div class="container">
            <div class="row">
                <div class="col-lg-12 text-center padding40">
                    <?= $Wcms->page('content') ?>

                </div>
            </div>
        </div>

        <div class="container-fluid blueBackground whiteFont">
            <div class="row">
                <div class="col-lg-12 text-center padding40">
                    <?= $Wcms->block('subside') ?>

                </div>
            </div>
        </div>

        <footer class="container-fluid">
            <div class="text-right padding20">
                <?= $Wcms->footer() ?>

            </div>
        </footer>

        <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
	    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous" type="text/javascript"></script>        
 
        <?= $Wcms->js() ?>

    </body>
</html>
Really impressed by how quickly you've figured out Wcms altogether. Kudos Stephan.

Cheers and thanks for making my life easier! You definitely deserve a reward. Mind sending over your PayPal? (you can also send it on private if you wish - minor reward incoming).
User avatar
StephanStanisic
Posts: 37
Joined: Fri Jul 05, 2019 8:51 pm

Re: Parallax theme

Post by StephanStanisic »

No, I don't think that will be necessary. I'm just an 18 year old with way too much free time on hand.
You are the one that has to pay for hosting etc of this project. Use it to (partially) pay your next bill.

When I'll get home I will see how much I can do for porting to 3.0.0.
Keep up the good work!
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Parallax theme

Post by wiz »

It's not really about not being necessary, it's simply about giving credit and rewards when they are due.
You age is not relevant, however your time spent contributing is (and also much appreciated).

If you don't have a PayPal account, I can send you some crypto coins, which will probably give you more value in a couple of years time (this way if you don't have a bank account, you can still accept it without having a bank account).

Please, drop me a message with those details over a PM.

If you really don't have a PayPal account, here's a free service called MyEtherWallet, which enables you to receive any ERC20 token (such as Ethereum): https://www.myetherwallet.com/
Post Reply