Hey all, I woke up today and felt like giving away a small plugin.
I’m not sure how long the download link will be up, so get it while it’s hot.
Enjoy!
😊 WOW! I’m first?! Thank you! I wanna thank my insomnia, and my cable internet provider (Time Warner) for allowing me the opportunity to accept this pristine honor! And my Wife for standing beside me!
I’m sure I’ll put this to good use. 😊 And Happy Birthday! 29 aint so bad, I’m 32 but still act 18 … bah! 😊
Andy, I don’t want to be a Debby Downer here, but the following is not quite true:
Below is the standard approach when fetching data for members vs non-members. It will parse both templates at once and then the advanced conditionals parser will decide which template to use. {if member_id == 0} {embed="globals/details"} {if:else} {embed="globals/.details"} {/if}
Embeds are not parsed until after advanced conditionals are parsed in the parent template, so there’s not really any overhead here except for the conditional parsing itself. And one can of course do the following which would be the speediest:
{if logged_out}{embed="globals/details"}{/if}
{if logged_in}{embed="globals/.details"}{/if}
Now enjoy the parade, I’ll stop raining! 😛
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.