yeah, that was new to me as well. basically what those are is placeholders
for text in your site. If you look in the 'lang' folder, you will find a
series of xml files for various languages. If you want to change the text,
or add new labels in, find the marker in the language file you want to work
with, and change it.

what this does is allows a person to localize their site for one or more
languages.

also, regarding haml, check out the haml home page here to get a good
understanding of how it works: http://haml.hamptoncatlin.com/

if you're still having problems converting your normal erb syntax to haml,
you can always use the 'html2haml' command that comes packaged along with
haml. to use it, i created a html.in and haml.out file and then ran this
command:

html2haml -rx html.in haml.out

that will take any html/erb you have in the html.in file, parse it into
haml, and drop it in the haml.out file.

Hope this helps!

Levi Rosol
Twitter: @LeviRosol

On Wed, Nov 26, 2008 at 7:51 PM, Bharat <[EMAIL PROTECTED]> wrote:

>
> In CommunityEngine code base the ".l" method seems to be all over the
> place especially in the Haml view templates, e.g.,
>
> link_to :cancel_and_go_back_to_my_photos.l
>
> What is it?  and where is it defined?
>
> Thanks.
>
> Bharat
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to