JTEXT not working in Template Custom Module

485 views
Skip to first unread message

Rigó Tamás

unread,
Mar 15, 2011, 6:42:11 PM3/15/11
to joomla-...@googlegroups.com

I working old template (J 1.5.22) rewrite new template version (J 1.6.1). The template include custom mod_login (/template/<name>/html/mod_login), but this module not working the following code:

 

<input type="submit" name="Submit" class="button" value="<?php echo JText::_('LOGIN') ?>" style="float:left;" />

 

Why? Where is the problem?

 

Thanks

 

Tamas

 

Michael Babker

unread,
Mar 15, 2011, 9:11:38 PM3/15/11
to joomla-...@googlegroups.com
What is displayed on output, if anything? Odds are you'd need to get the
right language string to use in it's place.

Try starting with the 1.6 mod_login and editing it to match what you are
trying to do, it may help.

> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! CMS Development" group.
> To post to this group, send an email to joomla-...@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cm...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
>
>


Matt Thomas

unread,
Mar 16, 2011, 9:55:34 AM3/16/11
to joomla-...@googlegroups.com
I just checked modules/mod_login/tmpl/defualt.php and it looks like the equivalent code to what you posted is:

<input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGIN') ?>" />

I'd also suggest starting with the core 1.6 mod_login and customize it to suit your needs. I think you'll find that it doesn't need much, if anything.

Best,

Matt Thomas
betweenbrain | Construct Unified Template Framework for Joomla! 1.5, 1.6, Molajo and Nooku Server



On Tue, Mar 15, 2011 at 9:11 PM, Michael Babker <mba...@flbab.com> wrote:
What is displayed on output, if anything?  Odds are you'd need to get the
right language string to use in it's place.

Try starting with the 1.6 mod_login and editing it to match what you are
trying to do, it may help.

Rigó Tamás

unread,
Mar 16, 2011, 10:52:05 AM3/16/11
to joomla-...@googlegroups.com

Nice, working!

 

Thx

 

Tamas

erol yapıcı

unread,
Mar 19, 2011, 4:38:56 AM3/19/11
to joomla-...@googlegroups.com
You forget "?> "
<input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGIN') ?>" />

Reply all
Reply to author
Forward
0 new messages