tamtam
16-04-2016, 18:24
Cześć.
Jak można wyłączyć wyświetlanie danego elementu HTML w podglądzie dla artykułu. Próbowałem dodać kod w index.php żeby tylko tutaj wyświetlało dany element:
<?php if ($home) : ?>
<section id="contact"> <jdoc:include type="modules" name="contact" /> <div class="block"> <div class="container"> <div class="form"> <jdoc:include type="modules" name="form-contact" /> </div> <div class="details-contact"> <jdoc:include type="modules" name="details-contact" /> </div> </div> </div> </section> <? endif; ?>
Nie działa... Ta funkcja w ogóle wyłącza wyświetlanie tego bloku HTML na wszystkich stronach. Pomóżcie.
Jak można wyłączyć wyświetlanie danego elementu HTML w podglądzie dla artykułu. Próbowałem dodać kod w index.php żeby tylko tutaj wyświetlało dany element:
<?php if ($home) : ?>
<section id="contact"> <jdoc:include type="modules" name="contact" /> <div class="block"> <div class="container"> <div class="form"> <jdoc:include type="modules" name="form-contact" /> </div> <div class="details-contact"> <jdoc:include type="modules" name="details-contact" /> </div> </div> </div> </section> <? endif; ?>
Nie działa... Ta funkcja w ogóle wyłącza wyświetlanie tego bloku HTML na wszystkich stronach. Pomóżcie.