Forums / Cotonti / Support / Urgently need help on the use of structures IF PHP

papuas
#1 2010-09-09 13:39
Hello,

Maybe someone knows how to do that the code (HEADER_COMPOPUP) display and operates on the page

page.php? m = add

page.php? m = edit

and not the other code

<div class="bg-left">
<ul>
<li> <a href="list.php?c=about"> Company </ a> </ li>
<li> <a href="list.php?c=production"> Production </ a> </ li>
<li> <a href="list.php?c=dealers"> Dealers </ a> </ li>
<li> <a href="plug.php?e=shopsystem"> Prices </ a> </ li>
<li> <a href="list.php?c=issue_technology"> issue of technology </ a> </ li>
<li> <a href="list.php?c=support"> Requirements </ a> </ li>
<li> <a href="list.php?c=articles"> Articles </ a> </ li>
<li> <a href="list.php?c=contacts"> Contacts </ a> </ li>
</ Ul>
</ Div>

and on page page.php? id = or page.php? al =

code (HEADER_COMPOPUP) is not visible

and displayed

<div class="bg-left">
<ul>
<li> <a href="list.php?c=about"> Company </ a> </ li>
<li> <a href="list.php?c=production"> Production </ a> </ li>
<li> <a href="list.php?c=dealers"> Dealers </ a> </ li>
<li> <a href="plug.php?e=shopsystem"> Prices </ a> </ li>
<li> <a href="list.php?c=issue_technology"> issue of technology </ a> </ li>
<li> <a href="list.php?c=support"> Requirements </ a> </ li>
<li> <a href="list.php?c=articles"> Articles </ a> </ li>
<li> <a href="list.php?c=contacts"> Contacts </ a> </ li>
</ Ul>
</ Div>
Kort
#2 2010-09-09 14:45
<!-- IF {PHP.z} == page AND {PHP.m} == add OR {PHP.z} == page AND {PHP.m} == edit -->...<!-- ENDIF -->
Are you sure you do not need HEADER_COMPOPUP ?
SED.by - создание сайтов, разработка плагинов и тем для Котонти
ez
#3 2010-09-09 14:47
Kort is right.... looks like a menu to me..

see: http://yoursite.xxx/admin.php?m=config&n=edit&o=core&p=menus
==- I say: Keep it EZ -==