I suggest to implement ...

Shorter method names in templates

Add very shorrt shrotcuts for often used smarty methods. E.g a modifier called "t" instead of "oxmultilangassign" or "c" as an alias for oxcontent. This makes writing templates much more convinient

11 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Mathias FiedlerMathias Fiedler shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • Mathias FiedlerMathias Fiedler commented  ·   ·  Flag as inappropriate

        @Tibor: @Martin is right, I was talking about smarty functions and only about a few (3 or 4) I know that short names are hard to read but in case of "oxmultilang" it would be ok to use "t" I think.....

      • TiborTibor commented  ·   ·  Flag as inappropriate

        Using short words ins contraproductive. You save a few seconds in writing the code will be thankfull if there are longer function names then "c" "f" and "z".

        e.g. $b->z("ab")->f($x);

        Proper variables are $oProduct, $sProductName (hints the type and describes the content)

      Knowledge Base and Helpdesk