Jump to content
You're invited! Join our 4.6 Live Event on ZOOM 6/24 ×

Community

Error with furl changes


Spanner

Recommended Posts

Bumping this.

I have 2 apps where I have changed furl.json, which I'm fine with editing and rebuilding cache via the support tool.

But it starts to get tiring having to do this manually again whenever I have to update the apps.

Link to comment
Share on other sites

  • 4 months later...
  • 5 months later...
On 10/13/2017 at 10:21 PM, forumdev99 said:

I am able to change a couple of them, actually, so let's focus on one in particular that won't change:

I need this URL /forums/topic/{#id}-{?}

..to look like this: /topic/{#id}-{?}

But when I change it and save, it reverts back to: /forums/topic/{#id}-{?}

In /applications/forums/data/furl.json it looks like this:


    "forums_topic": {
            "friendly": "topic/{#id}-{?}",
            "real": "app=forums&module=forums&controller=topic",
            "verify": "\\IPS\\forums\\Topic"
        },

..are you able to change this specific URL in your board?

BTW I am running IPSv4.2.5

Same problem here...

If I set "topLevel": "", it works but discover isn't the home page anymore, even with :

        "forums": {
            "friendly": "categories",
            "real": "app=forums&module=forums&controller=index"
        },

 

Link to comment
Share on other sites

  • 3 months later...

@AlexWright thank you so much for this post! It helped me make the IDENTICAL fURLs I had customized back in the day on 3.4.x to be the same in 4.4!

BTW my default app will be Pages.

What you did not mention that you have to translate is

"topLevel": "forums",

to your language. Thus I was able to translate this toplevel fURL and translated the rest in ACP and in the end I got results such as:

http://website.com/forum/f1/forum-category-name/
http://website.com/forum/t46405/topic-name/

Basically you have to do this for every app you want to translate, go to its folder, find furl.json file and edit it.

Today IPS support told me this can't be done, but there it is. 🙂

Edited by Maxxius
Link to comment
Share on other sites

2 hours ago, Maxxius said:

@AlexWright thank you so much for this post! It helped me make the IDENTICAL fURLs I had customized back in the day on 3.4.x to be the same in 4.4!

BTW my default app will be Pages.

What you did not mention that you have to translate is


"topLevel": "forums",

to your language. Thus I was able to translate this toplevel fURL and translated the rest in ACP and in the end I got results such as:

http://website.com/forum/f1/forum-category-name/
http://website.com/forum/t46405/topic-name/

Basically you have to do this for every app you want to translate, go to its folder, find furl.json file and edit it.

Today IPS support told me this can't be done, but there it is. 🙂

We do not support nor should you ever edit a core file.  So it cannot be done following the rules in stock form as noted in your ticket.  

 

 

Link to comment
Share on other sites

3 hours ago, Maxxius said:

@AlexWright thank you so much for this post! It helped me make the IDENTICAL fURLs I had customized back in the day on 3.4.x to be the same in 4.4!

BTW my default app will be Pages.

What you did not mention that you have to translate is


"topLevel": "forums",

to your language. Thus I was able to translate this toplevel fURL and translated the rest in ACP and in the end I got results such as:

http://website.com/forum/f1/forum-category-name/
http://website.com/forum/t46405/topic-name/

Basically you have to do this for every app you want to translate, go to its folder, find furl.json file and edit it.

Today IPS support told me this can't be done, but there it is. 🙂

Yeah, sadly this work around only works on self-hosted licenses, as @Rhett mentioned. Until there's a fix for this ^^;

Link to comment
Share on other sites

  • 10 months later...
  • 6 months later...
On 9/10/2020 at 12:30 PM, Adriano Faria said:

I wouldn’t expect that before IPS5 as they already said it would require a rewrite of the FURL stuff. But Lindy said (here in this topic or elsewhere, couldn’t find it) that wasn’t the goal to work like that so it may be removed at some point. 

Removed? What removed exactly? Ability to change furls thru json file? What would be one BAD decision if they don't make a fully cuztomizable furl customizing thru ACP. And like how it is now - its not fully customizable. Nice but not full and we need full.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy