Hyperlink using ID doesn't resolve straight away


#1

Matrix version 5.3.4.0

Hi there,

I just updated our website global footer which is a standard page asset located in Configuration folder under Design Helpers folder (I don’t know if that’s common folder structure used by Squiz’s implementers, but that’s how mine is configured. The asset uses Raw HTML content container

This I made 3 different changes:

  1. Updated the link name without changing the href value
  2. Updated href value (basically updating the asset ID in that href) without changing the link name
  3. Added new menu item using ./?a=xxxx format like other menu items

Once I published the changes, I can see #1 is reflected on the front end but #2 and #3 won’t shows correct URL but rather showing ./?a=xxx format in the href. It seems that the ./?a=xxx doesn’t translate properly.

My questions are:

  1. Is there any waiting time before those URLs translate properly?
  2. Is there anything I can do to force it?

Cheers


(Bart Banda) #2

Hey, that is the best practice way of doing it, so you are on the right track.

FYI, you can find our best practice system setups here: https://matrix.squiz.net/resources/templates/system-templates

The URL should be translated on page build, so it should be working straight away.

Are you sure that XXX asset has a web path (browsable) URL applied to it?


#3

Hi Bart, thank you for your response. It’s my bad … i was doing it this way: I go to the URL that I want to link to, eg https://www.mysite.com/page/iwant/_admin and grab the ID on the admin interface. Didn’t realise that I linked to the content container ID, instead of the asset ID itself.

Thanks again. Links are working now.