Editing Custom HTML issues

View: New views
9 Messages — Rating Filter:   Alert me  

Editing Custom HTML issues

by Leam Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Trying to put the date in Module User4 of the RHUK template. Not sure
how as my "Custom HTMML" code fails:

  <?php echo date( '(T) dMy  H:i '); ?>

Suggestions?

Also, any ideas why TinyMCS shows the URL link grey'd out?

Thanks!

Leam
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Donna Marie Vincent :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Does your editor allow you to add php code?


From: Leam Hall <leam@...>
To: NYPHP@...; SIG@...
Sent: Sun, November 15, 2009 6:58:57 PM
Subject: [joomla] Editing Custom HTML issues

Trying to put the date in Module User4 of the RHUK template. Not sure how as my "Custom HTMML" code fails:

    <?php echo date( '(T) dMy  H:i '); ?>

Suggestions?

Also, any ideas why TinyMCS shows the URL link grey'd out?

Thanks!

Leam
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Leam Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Using TinyMCE, don't know. Would guess not, though a CMS in Joomla might
understand PHP.  :)

Sounds like I need a new editor. Suggestions?

Thanks!

Leam

Donna Marie Vincent wrote:

> Does your editor allow you to add php code?
>
>
>
>
> ________________________________
> From: Leam Hall <leam@...>
> To: NYPHP@...; SIG@...
> Sent: Sun, November 15, 2009 6:58:57 PM
> Subject: [joomla] Editing Custom HTML issues
>
> Trying to put the date in Module User4 of the RHUK template. Not sure how as my "Custom HTMML" code fails:
>
>     <?php echo date( '(T) dMy  H:i '); ?>
>
> Suggestions?
>
> Also, any ideas why TinyMCS shows the URL link grey'd out?
>
> Thanks!
>
> Leam
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Donna Marie Vincent :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Your post said TinyMCS.  I didn't know if that was some souped up TinyMCE or something.

TinyMCE strips out php.  You need JCE editor.



From: Leam Hall <leam@...>
To: NYPHP@...; SIG@...
Sent: Sun, November 15, 2009 7:20:42 PM
Subject: Re: [joomla] Editing Custom HTML issues

Using TinyMCE, don't know. Would guess not, though a CMS in Joomla might understand PHP.  :)

Sounds like I need a new editor. Suggestions?

Thanks!

Leam

Donna Marie Vincent wrote:

> Does your editor allow you to add php code?
>
>
>
>
> ________________________________
> From: Leam Hall <leam@...>
> To: NYPHP@...; SIG@...
> Sent: Sun, November 15, 2009 6:58:57 PM
> Subject: [joomla] Editing Custom HTML issues
>
> Trying to put the date in Module User4 of the RHUK template. Not sure how as my "Custom HTMML" code fails:
>
>    <?php echo date( '(T) dMy  H:i '); ?>
>
> Suggestions?
>
> Also, any ideas why TinyMCS shows the URL link grey'd out?
>
> Thanks!
>
> Leam
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php

>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Leam Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hehe...my post suggests I need more coffee...

Thanks! Off off install JCE.

Leam

Donna Marie Vincent wrote:

> Your post said TinyMCS.  I didn't know if that was some souped up TinyMCE or something.
>
> TinyMCE strips out php.  You need JCE editor.
>
>
>
>
>
> ________________________________
> From: Leam Hall <leam@...>
> To: NYPHP@...; SIG@...
> Sent: Sun, November 15, 2009 7:20:42 PM
> Subject: Re: [joomla] Editing Custom HTML issues
>
> Using TinyMCE, don't know. Would guess not, though a CMS in Joomla might understand PHP.  :)
>
> Sounds like I need a new editor. Suggestions?
>
> Thanks!
>
> Leam
>
> Donna Marie Vincent wrote:
>> Does your editor allow you to add php code?
>>
>>
>>
>>
>> ________________________________
>> From: Leam Hall <leam@...>
>> To: NYPHP@...; SIG@...
>> Sent: Sun, November 15, 2009 6:58:57 PM
>> Subject: [joomla] Editing Custom HTML issues
>>
>> Trying to put the date in Module User4 of the RHUK template. Not sure how as my "Custom HTMML" code fails:
>>
>>     <?php echo date( '(T) dMy  H:i '); ?>
>>
>> Suggestions?
>>
>> Also, any ideas why TinyMCS shows the URL link grey'd out?
>>
>> Thanks!
>>
>> Leam
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Donna Marie Vincent :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Joomla does not render php code in content items, even though JCE editor will let you put in the code:

http://www.joomlacontenteditor.net/forum/topic?f=30&t=16620&p=26382&hilit=%20php%20code#p26382

You will need to make your own module to render the php code.  It's very easy if you know a little php: http://iteachme.com/list-of-all/all-tutorials-by-title/40-module-development/1074-module-development-intro


From: Leam Hall <leam@...>
To: NYPHP@...; SIG@...
Sent: Sun, November 15, 2009 7:20:42 PM
Subject: Re: [joomla] Editing Custom HTML issues

Using TinyMCE, don't know. Would guess not, though a CMS in Joomla might understand PHP.  :)

Sounds like I need a new editor. Suggestions?

Thanks!

Leam

Donna Marie Vincent wrote:

> Does your editor allow you to add php code?
>
>
>
>
> ________________________________
> From: Leam Hall <leam@...>
> To: NYPHP@...; SIG@...
> Sent: Sun, November 15, 2009 6:58:57 PM
> Subject: [joomla] Editing Custom HTML issues
>
> Trying to put the date in Module User4 of the RHUK template. Not sure how as my "Custom HTMML" code fails:
>
>    <?php echo date( '(T) dMy  H:i '); ?>
>
> Suggestions?
>
> Also, any ideas why TinyMCS shows the URL link grey'd out?
>
> Thanks!
>
> Leam
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php

>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Barrie North-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As Donna said....

Plugins like Jumi let you run php

Barrie North

On Sunday, November 15, 2009, Donna Marie Vincent
<donnamarievincent@...> wrote:

> Joomla does not render php code in content items, even though JCE editor will let you put in the code:
>
> http://www.joomlacontenteditor.net/forum/topic?f=30&t=16620&p=26382&hilit=%20php%20code#p26382
>
> You will need to make your own module to render the php code.  It's very easy if you know a little php: http://iteachme.com/list-of-all/all-tutorials-by-title/40-module-development/1074-module-development-intro
>
> From: Leam Hall <leam@... <javascript:_e({}, 'cvml', 'leam@...');>>
> To: NYPHP@... <javascript:_e({}, 'cvml', 'NYPHP@...');>; SIG@... <javascript:_e({}, 'cvml', 'SIG@...');>
> Sent: Sun, November 15, 2009 7:20:42 PM
> Subject: Re: [joomla] Editing Custom HTML issues
>
> Using TinyMCE, don't know. Would guess not, though a CMS in Joomla might understand PHP.  :)
>
> Sounds like I need a new editor. Suggestions?
>
> Thanks!
>
> Leam
>
> Donna Marie Vincent wrote:
>> Does your editor allow you to add php code?
>>
>>
>>
>>
>> ________________________________
>> From: Leam Hall <leam@... <javascript:_e({}, 'cvml', 'leam@...');>>
>> To: NYPHP@... <javascript:_e({}, 'cvml', 'NYPHP@...');>; SIG@... <javascript:_e({}, 'cvml', 'SIG@...');>
>> Sent: Sun, November 15, 2009 6:58:57 PM
>> Subject: [joomla] Editing Custom HTML issues
>>
>> Trying to put the date in Module User4 of the RHUK template. Not sure how as my "Custom HTMML" code fails:
>>
>>     <?php echo date( '(T) dMy  H:i
>  '); ?>
>>
>> Suggestions?
>>
>> Also, any ideas why TinyMCS shows the URL link grey'd out?
>>
>> Thanks!
>>
>> Leam
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> New York PHP SIG: Joomla!
>  Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>

--
Barrie North
www.joomlashack.com
www.simplweb.com/joomla
www.compassdesigns.net

~Please note, unless we agree otherwise, the contents of this email
are confidential~
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Leam Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Donna, thanks!

With a bit of effort I got DirectPHP to work in an article. Haven't gone
  over the module stuff yet but that'll be next. Have to figure out how
to make the page see the date in the Timezone I want it to, not in the
physical one it's in.  :)

The Global Config is set where I want it but it's still showing a
different timezone. Might have to fake it, but would prefer a simple
solution.

Leam

Donna Marie Vincent wrote:

> Joomla does not render php code in content items, even though JCE editor will let you put in the code:
>
> http://www.joomlacontenteditor.net/forum/topic?f=30&t=16620&p=26382&hilit=%20php%20code#p26382
>
> You will need to make your own module to render the php code.  It's very easy if you know a little php: http://iteachme.com/list-of-all/all-tutorials-by-title/40-module-development/1074-module-development-intro
>
>
>
>
> ________________________________
> From: Leam Hall <leam@...>
> To: NYPHP@...; SIG@...
> Sent: Sun, November 15, 2009 7:20:42 PM
> Subject: Re: [joomla] Editing Custom HTML issues
>
> Using TinyMCE, don't know. Would guess not, though a CMS in Joomla might understand PHP.  :)
>
> Sounds like I need a new editor. Suggestions?
>
> Thanks!
>
> Leam
>
> Donna Marie Vincent wrote:
>> Does your editor allow you to add php code?
>>
>>
>>
>>
>> ________________________________
>> From: Leam Hall <leam@...>
>> To: NYPHP@...; SIG@...
>> Sent: Sun, November 15, 2009 6:58:57 PM
>> Subject: [joomla] Editing Custom HTML issues
>>
>> Trying to put the date in Module User4 of the RHUK template. Not sure how as my "Custom HTMML" code fails:
>>
>>     <?php echo date( '(T) dMy  H:i '); ?>
>>
>> Suggestions?
>>
>> Also, any ideas why TinyMCS shows the URL link grey'd out?
>>
>> Thanks!
>>
>> Leam
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Re: Editing Custom HTML issues

by Helvécio da Silva :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you tried JIncludes?

So far, it works great for small code like that!

--
- - - - - - - - - - - -  - - - -
Helvecio da Silva
Rio de Janeiro - Brasil
helvecio.rj@...

_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php