Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. linked page for WIP project pages

linked page for WIP project pages

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 218 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • StarcS
    StarcS
    Starc
    wrote on last edited by
    #1

    Hi Armin,

    I'm working on and compiling some project pages that I haven't finished yet. I'm fine with having thumbnails of these projects show up in the thumbnail grid view, but I'd like them to link to a sort of maintenance page when clicked.

    It would be great to have something like a maintenance mode option for WIP project pages.

    Is this possible in some way?

    1 Reply Last reply
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by arminunruh
      #2

      hey Starc, I would suggest you leave a project as private or as a draft and then just click preview in the project without publishing it. This way it won't be in the project thumbnail grid.

      Here is where we make a project private:

      grafik.png

      1 Reply Last reply
      0
      • arminunruhA
        arminunruhA
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        but it seems like when layout cache is enabled, setting a project back to private if it was already published may not remove it.
        that will be fixed with the next update.
        you may also set the project to password protected

        1 Reply Last reply
        0
        • StarcS
          StarcS
          Starc
          wrote on last edited by Starc
          #4

          Thank you Armin,

          I solved it (Claude) in this way via custom js

          // DOVREBBE REDICTARE I PROGETTI
          document.addEventListener('click', function(e) {
          var link = e.target.closest('a.thumb[data-id]');
          if (!link) return;

          var wipIds = ['93', '101']; // 93 Ventrice Odontoiatria 101 Psinel
          var wipUrl = '[Custom link for WIP placeholder page]';

          if (wipIds.indexOf(link.getAttribute('data-id')) !== -1) {
          e.preventDefault();
          e.stopImmediatePropagation();
          window.location.href = wipUrl;
          }
          }, true);
          // DOVREBBE REDICTARE I PROGETTI

          When the thumbnail is clicked this autoredirect to a specific work in progress page. When the page is finished i will remove the id number from this

          var wipIds =

          1 Reply Last reply
          0
          • arminunruhA
            arminunruhA
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            ah ok cool! well done

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            R
            robertobarbes
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search