Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

hughbris Veteran

Regular

Grav Forum Moderators

@hughbris · Joined 9 years ago · 580 posts · 13 topics · 127 reputation

Badges

ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Reference asset in theme configuration file/options · 9 years ago

    I feel like I am doing too many guessed replies lately, but it should be helpful to know that these are called PHP streams. I don't have a strong grasp on them yet, but I see examples in the docs that

  • Newbie: found theme variables · 9 years ago

    Ah, there must be other places where options are drawn from. This is outside my expertise, so I can probably not help you more, sorry 😊

  • Newbie: found theme variables · 9 years ago

    If I understand your question, you could see the possible theme options in two places I can think of: in the Admin front end by consulting the theme's blueprint, which is essentially what drives the

  • Use the taxonomy value as classname for styling · 9 years ago

    Great idea, you just have the Twig expression slightly wrong. I had to check in the docs for the correct expression, so don't feel bad 🙂 page.taxonomy.tag would work, but it's an array because you can

  • Very newb starting out issues · 9 years ago

    The first attempt should work as long as your site homepage is reachable at localhost/grav-skeleton-onepage-site. Looking at that skeleton, it doesn't include the admin plugin, so I think you need to

  • Add a default param for an archive page · 9 years ago

    I was about to tell you all about Twig defaults fallbacks and testing for defined values, but I don't think that is your question! So assuming your two code snippets are form the same file, it looks l

  • Very newb starting out issues · 9 years ago

    Most plugins and themes come with a (mostly boilerplate) set of options for installing in their README files. All of them can be done locally without requiring you make your site "live". From memory,

  • Looking for a simple theme · 9 years ago

    Content negotiation, specifically for language preference, is what you want and there are more standard ways (should be safer) than Javascript to do that, though you could. Grav has good support for m

  • Grav and adding XMLRPC · 9 years ago

    Hi, yes I'm quite interested in getting involved though my time is limited for hobby projects right now. After investigating briefly when I originally answered your question, I suspected you may need

  • Looking for a simple theme · 9 years ago

    I've used antimatter for some holding pages. I think many themes will be easily adapted. I'm curious why you need javascript redirects? They are the worst kind in my opinion.