Today I made my first Joomla module but I'm having a problem with parameters.
part of the xml file looks like this:
<config>
<fields name="params">
<fieldset name="basic">
<field name="jomsocialFieldId" type="text" default="0" label="ID" description="id of the streams list" filter="integer" />
</fieldset>
</fields>
</config>
and part of my tmpl/default.php looks like this:
echo $params->get('jomsocialFieldId');
When I go to the module in the backend i see the field ID. I can also enter a number there, save it and when I manually search it in the database it is existing.
But the default.php can't get the field data. the echo just shows nothing. Someone knows what I'm doing wrong?
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/NoxtPpoua7kJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
2012/10/11 Atlantes <ravanb...@gmail.com>
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/2xZzmXJBSSwJ.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
NULL
Op donderdag 11 oktober 2012 22:30:07 UTC+2 schreef Rob Poort het volgende:
2012/10/11 Atlantes <ravanb...@gmail.com>
2012/10/11 Atlantes <ravanb...@gmail.com>
To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.
--To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/2xZzmXJBSSwJ.
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/6H7-BXh0GyoJ.
2012/10/11 Atlantes <ravanb...@gmail.com>
2012/10/11 Atlantes <ravanb...@gmail.com>
To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/MCqsXDfQzqQJ.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
2012/10/11 Atlantes <ravanb...@gmail.com>
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/MCqsXDfQzqQJ.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/f-axim-pYHUJ.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
2012/10/11 Atlantes <ravanb...@gmail.com>
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/f-axim-pYHUJ.
It uses a table created by the component JomSocial. When I don't use the parameters but just use 19 in the query it also works fine.
I did loaded the module using {loadmodule streams} inside an article. Can that cause problems?
Op donderdag 11 oktober 2012 22:59:03 UTC+2 schreef Rob Poort het volgende:
2012/10/11 Atlantes <ravanb...@gmail.com>
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/f-axim-pYHUJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/EsU5DrIrb5wJ.
2012/10/11 Atlantes <ravanb...@gmail.com>
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/EsU5DrIrb5wJ.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/yEBA2XYs_kkJ.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.