Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yan Xuekai 12 posts 42 karma points
    Apr 12, 2013 @ 05:25
    Yan Xuekai
    0

    how to use template dynamic by changing the url

    hi, I create a node, and his docment type allows two templates, how can I change the templates just by changing the url?

    Thanks & Regards!

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Apr 12, 2013 @ 10:19
    Dave Woestenborghs
    0

    There are 2 ways of doing this :

    Calling your page with the querystring parameter altTemplate : http://yourdomain/yourpage/?altTemplate=yourTemplateAlias

    Or like this : http://yourdomain/yourpage/yourTemplateAlias

    Dave

  • Yan Xuekai 12 posts 42 karma points
    Apr 15, 2013 @ 04:41
    Yan Xuekai
    0

    hi, dawoe, got it! Thank you very much!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies