Coder Social home page Coder Social logo

Page slug about comfortable-mexican-sofa HOT 8 CLOSED

comfy avatar comfy commented on August 24, 2024
Page slug

from comfortable-mexican-sofa.

Comments (8)

glebm avatar glebm commented on August 24, 2024

It only shows label/slug options on the children pages

from comfortable-mexican-sofa.

GBH avatar GBH commented on August 24, 2024

Root page doesn't have a slug. Even if it's set somehow, it doesn't do anything. Root page always has full_path of /. Child pages do have slugs. So page with slug help will have full_path /help and is a child of the root page.

from comfortable-mexican-sofa.

glebm avatar glebm commented on August 24, 2024

Why?

from comfortable-mexican-sofa.

GBH avatar GBH commented on August 24, 2024

Can you tell me why you want to set it?

from comfortable-mexican-sofa.

glebm avatar glebm commented on August 24, 2024

I am only using CMS for static content on our new website.
The static content will be edited by interns (who have very little clue), so having a stub root page could cause confusion

from comfortable-mexican-sofa.

GBH avatar GBH commented on August 24, 2024

Ah, so your index page is managed by the application. Basically you don't want to show the root page in the admin view. Due to how things are structured that page has to be present, but I see why you'd want to hide it.

from comfortable-mexican-sofa.

glebm avatar glebm commented on August 24, 2024

Yeah. I looked at the source, and seems like the "CmsPage#assign_full_path" method is the culprit. You reckon the best solution would be adding a config var?

from comfortable-mexican-sofa.

GBH avatar GBH commented on August 24, 2024

I'm closing this ticket as it seems like a lot of work just to hide a root page. I'd welcome a patch if it can be done cleanly.

from comfortable-mexican-sofa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.