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.

dynamically generate nav menu ( nested UL ) using php and EE tags

February 01, 2011 2:30pm

Subscribe [2]
  • #1 / Feb 01, 2011 2:30pm

    mobilizedesign

    8 posts

    http://pastie.org/1518915

    I want to create a nav menu using nested UL’s but do it dynamcially by weblog -> entry

    i tried nesting EE query loops to retrieve weblog entries but that didn’t work. 

    next i tried adding some php (NOTE: PHP is activated for this template group and set to process as INPUT)
    see -> http://pastie.org/1518915

    now i’m getting an error ....

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /EEPATH/core/core.functions.php(634) : eval()‘d code on line 16

    any help would be greatly appreciated

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

ExpressionEngine News!

#eecms, #events, #releases