Goblue Registration Page Download 6.1dev2

German Michael Zülsdorff 8 months ago

Goblue Registration Page

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)

Comments
German Michael Zülsdorff Replied 8 months ago

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

  1. first looping through all the files located in system/plugins/default/.....
  2. next looping through all the files located in 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.

Component

Developer: Michael
License GPL v2
Type: Uncategorized
Requires Ossn Version : 6.1
Latest Version: 6.1dev2
Last Updated 8 months ago
Repository Url View Repository

Versions