A component showcase in response to
Home page: transform registration form into a link which will
1. Create a separate (standalone) registration page as a first step (6.1dev1)
2. Replace the original index.php by a customized copy (6.1dev2)
Now that we have learned in v6.1dev1 how to create a NEW page by means of a component, v6.1dev2 will show how to alter an already existing page - in this case the homepage index.php
The original index.php is located in system/plugins/default/pages/contents/index.php
All we need to do is creating a similar subdirectory structure in our component like
/plugins/default/pages/contents/
and copy the original index.php over there. Thus, in this case the complete path will be
GoblueRegistrationPage/plugins/default/pages/contents/index.php
What Ossn will do is
system/plugins/default/.....
ANY_COMPONENT/plugins/default/.....
and if a matching replacement is found, the replacement will be used instead of the original in the system subdirectory.
So we can leave the original index.php completely untouched, and apply our changes to the copied index.php inside the component instead.