ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Questions on creating menu items with embeds

August 06, 2009 9:00am

Subscribe [3]
  • #1 / Aug 06, 2009 9:00am

    SYMETRIX

    8 posts

    hi there!

    im new to EE and i have looked throu the dokumentation finding out about category urls, segments, and embed variables, and i think im getting about 2% of it..

    but i havnt found any direct information about my specific issue.
    here is what i am tryin to do…

    i have a header template {embed=template_group/head}
    in my information template.
    When a link in the header is pressed (in a menue)to go to same page (information)
    but load a different content( depending on the link pressed) into a specific weblog.

    It would be rather uneffective to have each side its own template within my templategroup, so….

    is this doable without using Categories? Seems to me it should be possible to pickup something from the URL that decides in an {exp:weblog:entries SomeVariable=TheVarFromMenue} or is that exactly what categories is for?
    and if so, how do i make the link itself?

  • #2 / Aug 06, 2009 9:15am

    e-man

    1816 posts

    My advice would be to go through the docs as a lot of what you’re asking is standard EE stuff.

    Head over to Train-ee and work your way to some of the free tutorials: http://www.train-ee.com/courseware/free-tutorials/
    (especially “Building a small business website” will be helpfull 😊 )

  • #3 / Aug 06, 2009 9:28am

    SYMETRIX

    8 posts

    i have gone throu the documentation about a week now 😛 i just dont know what to look for specificly. and i have read the EE tutorial for the small business site as well.
    but im very confused now…been alot to learn these 2 weeks ive been using EE.

    maybe i should post this in techforum as i have access there….

  • #4 / Aug 06, 2009 9:31am

    SYMETRIX

    8 posts

    http://ellislab.com/forums/viewthread/125436/

    i have read the tuturials and dokumentations but its all very confusing..

    i would like a link example and weblog extraction example if possible
    seeing that will answer alot of questions.

  • #5 / Aug 06, 2009 9:49am

    Sue Crocker

    26054 posts

    SYMETRIX, this really is a HowTo issue.

    I merged the two threads together.

    i have a header template {embed=template_group/head}
    in my information template.
    When a link in the header is pressed (in a menue)to go to same page (information)
    but load a different content( depending on the link pressed) into a specific weblog.

    See the example on this page: EEDocs:// Embedding Templates

    You’d do something similar.

    Does that help?

  • #6 / Aug 06, 2009 10:06am

    SYMETRIX

    8 posts

    i might be reading it all wrong or something but it didnt help
    maybe im being confusing with the embed part ...let me rephrase.

    say i have one template…called information.

    on that template i have 2 links.. “hello”, “world”

    further down on the same template (information) i have a weblog getting entries from one weblog

    {exp:weblog:entries Weblog="info" url_title="something"}
    {customfield}
    {/exp:weblog}

    i just put in url_title as example..how do i change what entry it picks. depending on if i click on “hello” or “world”, yet use the same template (information).

    what i am wondering is :
    1: If this is doable without either using categories,
    2: OR without using “segment_X” ? and making link direct to w/ww.site.com/template/information/hello or /template/information/world
    3 :and if so..how or what tag do i use in that case?

  • #7 / Aug 06, 2009 10:31am

    Sue Crocker

    26054 posts

    You don’t need categories if you want to build a link to a particular weblog entry.

    Have you seen the Navigator Module?

    This is an excellent tool to help you build these sorts of things.

    Take a look at this, and see if it will help. Otherwise, we can talk more about building links other ways.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases