Jump to content
php.lv forumi

Silver Stripe


eT`

Recommended Posts

Kāds ir ņēmies ar Silver Stripe?

Es gribu visās lapās izdrukāt 2lvl un 3lvl lapas ( kā menu )

Bet viņš man negrib izdrukāt.

 


<ul>
<% control Menu(2) %>
<li><a href="$Link">$Title</a></li>
<li>
<ul>
<% control Menu(3) %>
<li><a href="$Link">$Title</a></li>
<% end_control %>
</ul>
</li>
<% end_control %>
</ul>

Link to comment
Share on other sites

pārlasīju un it kā šādi vajadzētu būt pareizi, bet nestrādā.

 


<% if Menu(1) %>
<% control Menu(1) %>
<% if Children %>
<% control Children %>
<li><a href="$Link">$Title</a></li>
<% if Children %>
<li>
<ul>
<% control Children %>
<li><a href="$Link">$Title</a></li>
<% end_control %>
</ul
</li>
<% end_if %>
<% end_control %>
<% end_if %>
<% end_control %>
<% end_if %>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...