I am trying to make a module with some settings I can change via system configuration
they explained me here: How to make some parameters editable via admin
However I am having the following problem
Fatal error: Class 'Mage_Affiliate_Helper_Data' not found in /home/theprint/public_html/preprod/app/Mage.php on line 547
The structure is as follows:
Should I create a data.php empty?
http://screencast.com/t/mOnMlNKun
Update 1:
this is my config.xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Luisvalencia_Affiliate>
<version>0.0.1</version>
</Luisvalencia_Affiliate>
</modules>
<global>
<models>
<luisvalencia_affiliate>
<class>Luisvalencia_Affiliate_Model</class>
</luisvalencia_affiliate>
</models>
<helpers>
<luisvalencia_affiliate>
<class>Luisvalencia_Affiliate_Helper</class>
</luisvalencia_affiliate>
</helpers>
</global>
<frontend>
<events>
<controller_action_predispatch>
<observers>
<luisvalencia_affiliate>
<class>luisvalencia_affiliate/observer</class>
<method>captureReferral</method>
<type>singleton</type>
</luisvalencia_affiliate>
</observers>
</controller_action_predispatch>
</events>
</frontend>
</config>