migcontrol / django-migcontrol

A Wagtail-based Django website for Migration Control
GNU General Public License v3.0
0 stars 5 forks source link

wrong link on landing page "Read more" in the Monthly Review box #258

Open hansixyz opened 8 months ago

hansixyz commented 8 months ago

landing page > Black Box Monthly Review > "Read more" > if you click Read more, you are currently directed to the blog (same on French, English and German landing page, the box does not yet exist on the Arabic landing page). It would be great to link the "Read more" read box to "https://migration-control.info/de/blog/category/monthly_review/" (got the link from the landing page, very bottom, "Subscribe to our Monthly Review, and then click "Show all issues >"). I tried to change it by myself, but unfortunately one can not just insert the link but has to chose the actual page and I was not able to find the blog page which is already filtered by "Monthly Reviews".

I would love to be able to correct such small things by myself in the future. is it possible to implement that one can also just include the link instead of choosing the right site? here a picture to better show what i mean.

grafik

hansixyz commented 8 months ago

ah, it is Hanne who wrote that :) will I reveice a notification if you comment the issue? if not, I hope I remember to check it again every now and then, but you can of course also reach out via mail :)

benjaoming commented 8 months ago

I would love to be able to correct such small things by myself in the future. is it possible to implement that one can also just include the link instead of choosing the right site? here a picture to better show what i mean.

Yes, I agree.

You are referring to a page that's not strictly speaking a wagtail page. Displaying the blog category index needs to have the direct URL which you mentioned. So we have to update our element type to be able to include direct URLs, rather than pages.

The idea about using pages rather than URLs is to ensure that the site doesn't break when pages are moved around, so we should always prefer using Page references. Just not in this case :)