Giter Site home page Giter Site logo

Comments (7)

artistro08 avatar artistro08 commented on June 10, 2024

Could you go into a bit more detail?

I was not able to reproduce the issue. I did run into some stuff while trying to get things in place. With that being said, I got a few questions:

Is the site enabled on the front-end?
Did you select page links for all the pages in the main menu?
Are the page links showing the URL with the prefix?

If the answer to those questions are yes, I would file a bug with the October CMS Team. Head here to get in contact with them

from tailor-starter.

haralake avatar haralake commented on June 10, 2024

The problem is in 2 lines:
First problem with logo link this code:
{{ '/'|app ~ '/' ~ locale }}
always gives http://mysite.com/en , even if locale prefix is not activated in language settings.

Second problem with this code:
{{ settings.homepage.fullslug in item.page|link ? '/' : item.page|link }}
even if prefix is enabled you still get http://mysite.com on home page link.

The other links works ok

from tailor-starter.

artistro08 avatar artistro08 commented on June 10, 2024

That helps alot. I can figure out a fix for these two in the meantime.

from tailor-starter.

artistro08 avatar artistro08 commented on June 10, 2024

Try and use v6.3.18 and see if that helps.

from tailor-starter.

haralake avatar haralake commented on June 10, 2024

I proceeded with the changes but unfortunately the result is exactly the same.

Another problem I noticed is that if you change the language the main menu doesn't work at all. Searching I found that the tailor pagefinder field does not adopt the link when we change the language on a multilingual site.
In the admin in the primary language you see this:
Screenshot_5

and in the secondary language this:
Screenshot_6

from tailor-starter.

artistro08 avatar artistro08 commented on June 10, 2024

This may be a bug with October CMS then. I'll keep this open just in case.

from tailor-starter.

artistro08 avatar artistro08 commented on June 10, 2024

So there was some issues with my code, and some bugs with the platform.

In order to fix mine, I had to set the theme to another theme, and update the multisite prefix to be empty. As far as the urls go, they should follow the multisite settings.

Just make sure you clear out the prefix if you want to turn it off. Just a heads up.

Thanks again for reporting!

from tailor-starter.

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.