Results 1 to 1 of 1
  1. #1
    fatronulmo's Avatar
    Join Date
    Mar 2020
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic

    help with php

    it's for this

    Code:
    <h2 class="ed-page-title"><?php echo JText::_('COM_EASYDISCUSS_CATEGORIES'); ?></h2>
     
    <div class="ed-categories">
        <div class="ed-list">
        <?php if ($categories) { ?>
            <?php foreach ($categories as $category) { ?>
                <div class="ed-cat-panel">
                    <div class="ed-cat-panel__hd">
                        <?php echo $this->output('site/categories/default.item', array('category' => $category)); ?>
     
                        <?php if ($category->totalSubcategories && $this->config->get('layout_show_all_subcategories')) { ?>
                        <a data-ed-toggle="collapse" href="#collapse-cat-<?php echo $category->id; ?>" class="ed-cat-panel__toggle">
                            <i class="fa fa-chevron-down"></i>
                        </a>
                        <?php } ?>
                    </div>
     
                    <?php if ($category->totalSubcategories && $this->config->get('layout_show_all_subcategories')) { ?>
                        <div class="ed-cat-panel__bd collapse in" id="collapse-cat-<?php echo $category->id; ?>">
                            <div class="ed-tree">
                                <?php echo $category->printTrees($category->childs, $category->id); ?>
                            </div>
                        </div>
                    <?php } ?>
                </div>
            <?php } ?>
        <?php } ?>
        </div>
    </div>
    update: no longer required //close
    Last edited by fatronulmo; 03-14-2020 at 12:54 PM.

Similar Threads

  1. [Info] For help with user checking
    By Flaka in forum Minecraft Tutorials
    Replies: 0
    Last Post: 09-09-2014, 12:07 AM
  2. [Source Code] vb.net user agent help please
    By hanna21 in forum Visual Basic Programming
    Replies: 0
    Last Post: 11-12-2011, 08:03 PM
  3. Help with Pinnacle capture card?
    By Killamodzsta in forum Hardware & Software Support
    Replies: 0
    Last Post: 08-06-2011, 07:33 PM
  4. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 01:40 PM
  5. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 10:06 PM