Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

How to customize default theme of 2.1b1?

13»

Comments

  • peregrineperegrine MVP
    edited June 2013

    here's a list of config values if you want to annotate and clean up @vrijvlinder or @adriansonline

    vanilla version 2.2

    e.g.
    if (Gdn::Request()->Scheme() != 'https' && !C('Garden.Cdns.Disable', FALSE)) {

    would convert to

    $Configuration['Garden']['Cdns']['Disable'] =

    e.g.
    $Configuration['Garden']['Cdns']['Disable'] = TRUE;
    or
    $Configuration['Garden']['Cdns']['Disable'] = FALSE;

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • peregrineperegrine MVP
    edited June 2013

    here's a list of events and where they are used in vanilla 2.2

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • hgtonighthgtonight ∞ · New Moderator

    This sounds like something perfect to put on the wiki.

    Just saying. :D

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

    aery
  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited June 2013

    @hgtonight you took the words !! wiki those puppies for sure and put that it is only for instructional purposes not to be used at home (disclaimer) ;)

    @peregrine let the cat out of the bag and it wants to stay out

  • UnderDogUnderDog Moderator

    I think I know what he means, if someone can split the topic please. @donbilet therr is no actual smarty tag for 'site description' but if you tell us where you filled it there might be a solution for you

  • @UnderDog said:
    I think I know what he means, if someone can split the topic please. donbilet therr is no actual smarty tag for 'site description' but if you tell us where you filled it there might be a solution for you

    Yes, there is in 2.1

    {$_Description}

    it refers to the site description in the banner dashboard that was meant to be used with the meta content.

    when you enter the description in the dashboard it creates the config element in config.php

    $Configuration['Garden']['Description']

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    MasterOnedonbiletUnderDog
  • @UnderDog said:
    I think I know what he means, if someone can split the topic please. donbilet therr is no actual smarty tag for 'site description' but if you tell us where you filled it there might be a solution for you

    Maybe there is no "actual" smarty tag for it. but @peregrine just created it base on configuration and it works perfectly. I put it under my logo.

    vrijvlinderUnderDog
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Yes he is an amazing code prestidigitator !!

    donbiletUnderDog
Sign In or Register to comment.