I’m trying to figure out how to place the forum and login templates within my site templates. ie. {embed} syntax. Is there anyone thats done this before or knows of a way to make it work?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 03, 2008 6:28pm
Subscribe [4]#1 / Apr 03, 2008 6:28pm
I’m trying to figure out how to place the forum and login templates within my site templates. ie. {embed} syntax. Is there anyone thats done this before or knows of a way to make it work?
#2 / Apr 03, 2008 8:37pm
Well it depends on how you want to set up your template system. I generally have two template groups, one for the page templates (templates that will show up in the URL) and an Embed template group which contains site sections such as header, main_nav, etc…
What I would do is create a login template in the embed group, then put the login code in that template and embed it in the appropriate page template.
Is this what you’re asking about? If you need further explanation, I’ll be happy to do so. I just want to make sure that’s what you’re talking about.
#3 / Apr 03, 2008 8:42pm
See if this helps:
http://ellislab.com/forums/viewthread/74961/
Look about halfway down the first part of the page for {if logged_in} etc…
#4 / Apr 04, 2008 3:57am
doniphan, can I just chime in with the request to please use sensible subjects? “I need help!!!” or “What’s going on” or, yes, “has anyone done this?” are not so good examples. It makes it much easier for all of us if your subject line lets us see at a glance what your posting is about. Thank you 😊
The link Jared provided should get you started. Let us know if you have any more questions…