Make Laravel Application able to show in different designs. Exchange logo / Header / Footer
Budget: $10 – $50 USD
We have the following situation.
Laravel page that has a fixed layout as of now.
There is a content part of the Page and a Header and Footer.
see Image.
1 is a Logo, 2 is a String both in the Header section
3 is a Footer
We need to be able to hand over a parameter with the URL the page is called
that Url currently is
https://www.xxx.ch/login
https://www.xxx.ch/login/123456789/AABBCC
xxx will be the page. Anonymized here.
123456789 and AABBCC are used to directly login on to the page over a QR
once logged in there are several subpages
https://www.xxx.ch/violation/home
https://www.xxx.ch/violation/transfer-fine
https://www.xxx.ch/violation/transfer-fine/process
https://www.xxx.ch/violation/file-appeal
https://www.xxx.ch/violation/file-appeal/process
https://www.xxx.ch/violation/online-pay
one page is also possible to access without login.
https://www.parkcheck.ch/faq
now we want to hand over additional parameters on calling the page.
e.g. ly=12 for Layout=12
https://www.xxx.ch/login?ly=12
https://www.xxx.ch/login/123456789/AABBCC?ly=12
based on that we want to change Logo, String and Footer.
all the "subpages" will then use the called layout.
so that means when I login on the page with
https://www.xxx.ch/login/123456789/AABBCC?ly=12
and then move to page
https://www.xxx.ch/violation/transfer-fine it must stay within ly=12
i don't care if this is displayed as https://www.xxx.ch/violation/transfer-fine?ly=12 in the browser or not.
https://www.xxx.ch/login/123456789/AABBCC?ly=13 would therefore show a different logo and so on.
We will provide those Logo, String and footer content each in a dedicated folder under the path we use it.
$ly=xx is just an example. Probably works also with /ly=xx or /ly/xx
In case nothing is found for ly= then it will fallback to current template
Laravel page that has a fixed layout as of now.
There is a content part of the Page and a Header and Footer.
see Image.
1 is a Logo, 2 is a String both in the Header section
3 is a Footer
We need to be able to hand over a parameter with the URL the page is called
that Url currently is
https://www.xxx.ch/login
https://www.xxx.ch/login/123456789/AABBCC
xxx will be the page. Anonymized here.
123456789 and AABBCC are used to directly login on to the page over a QR
once logged in there are several subpages
https://www.xxx.ch/violation/home
https://www.xxx.ch/violation/transfer-fine
https://www.xxx.ch/violation/transfer-fine/process
https://www.xxx.ch/violation/file-appeal
https://www.xxx.ch/violation/file-appeal/process
https://www.xxx.ch/violation/online-pay
one page is also possible to access without login.
https://www.parkcheck.ch/faq
now we want to hand over additional parameters on calling the page.
e.g. ly=12 for Layout=12
https://www.xxx.ch/login?ly=12
https://www.xxx.ch/login/123456789/AABBCC?ly=12
based on that we want to change Logo, String and Footer.
all the "subpages" will then use the called layout.
so that means when I login on the page with
https://www.xxx.ch/login/123456789/AABBCC?ly=12
and then move to page
https://www.xxx.ch/violation/transfer-fine it must stay within ly=12
i don't care if this is displayed as https://www.xxx.ch/violation/transfer-fine?ly=12 in the browser or not.
https://www.xxx.ch/login/123456789/AABBCC?ly=13 would therefore show a different logo and so on.
We will provide those Logo, String and footer content each in a dedicated folder under the path we use it.
$ly=xx is just an example. Probably works also with /ly=xx or /ly/xx
In case nothing is found for ly= then it will fallback to current template