Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Mojolicious templates

by darutoko (Initiate)
on May 01, 2013 at 07:11 UTC ( #1031508=note: print w/ replies, xml ) Need Help??


in reply to Re: Mojolicious templates
in thread Mojolicious templates

Well, it wasn't answered even in 2 hours on #mojo channel.
But I've already solved it yesterday.
Thanks for another useless comment, Dave.


Comment on Re^2: Mojolicious templates
Re^3: Mojolicious templates
by choroba (Abbot) on May 01, 2013 at 08:50 UTC
    It would be nice if you posted your solution here for future reference. There might be others in the same situation.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      The obvious solution is to use '..' in path like:
      $self->stash(layout => '../path/to/layout');
      But IMHO better way is to use $self->stash(extends => 'path/to/layout');
Re^3: Mojolicious templates
by davido (Archbishop) on May 01, 2013 at 14:33 UTC

    I honestly didn't intend for my suggestion to be useless, and I'm sorry you viewed it as such. I've found the #mojo channel to be the "where to go for Mojolicious answers" place, and since I saw that you hadn't received an answer here, suggested it in a hope that you would get your answer somewhere. Another option is the Mojolicious email list, which also tends to get answers pretty quickly. Both of those places are frequented by the Mojolicious development team. I don't recall seeing the Mojolicious development team replying to questions here at the Monastery. Wouldn't you agree that it's helpful to know where the core developers are providing authoritative answers?

    If you prefer not to receive such help I'll try to remember in the future, though I tend to forget rudeness pretty quickly -- those sorts of people come and go too frequently, and rarely contribute anything interesting or positively memorable.


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031508]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-09-19 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (149 votes), past polls