Как получить имя пользовательского поля?

More
3 years 2 months ago #8746 by rra_01
Здравствуйте.

Кусок кода из шаблона модуля:
<form id="mod-finder-searchform-<?php echo $module->id; ?>" action="<?php echo $action; ?>" method="<?php echo $form_method; ?>" class="form-search">
    <div class="jlcontentfieldsfilter<?php echo $moduleclass_sfx; ?>">
        
        <?php foreach($fields as $v) : ?>
            <?php if($v):?>
                <div class="jlmf-section">
                    <?php echo $v; ?>
                </div>    
            <?php endif;?>
        <?php endforeach; ?>
        
        <?php if($enableOrdering) : ?>
        <div class="jlmf-section">
            <?php echo $orderingSelect; ?>
        </div>    
        <?php endif; ?>
        
        <div class="jlmf-section">
            <?php if (!$autho_send) : ?>
                <button type="submit" class="jlmf-button"><?php echo JText::_('MOD_JLCONTENTFIELDSFILTER_SUBMIT'); ?></button>
            <?php endif; ?>
            <div><button type="button" class="jlmf-link" onclick="return JlContentFieldsFilter.clearForm(this);"><?php echo JText::_('MOD_JLCONTENTFIELDSFILTER_RESET'); ?></button></div>
        </div>
 
    </div>
    <?php if($option == 'com_tags'){ ?>
    <input type="hidden" name="tag_category_id" value="<?php echo $catid; ?>">
    <?php } ?>
    <input type="hidden" name="jlcontentfieldsfilter[is_filter]" value="1">
</form>
 

Как из <?php echo $v; ?> получить имя пользовательского поля (<div class="jlmf-label"><?php echo $label; ?></div>)?  

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • From that day on, Sam made it a habit to visit the...
    • One day, a curious boy named Sam moved into the house with his family. As he explored the property, he noticed a rusty, old key lying under a bush. Sam picked it up, wondering what it might unlock. After searching the house and finding nothing, Sam decided to try the key on the garden gate. To his surprise, the key fit perfectly. With a turn of the key and a creak of the hinges, the gate slowly swung open. Inside the garden, Sam was greeted by a sight of wonder. The garden was overgrown but full of vibrant flowers, exotic plants, and a small, sparkling pond. In the middle of the garden stood a beautiful stone statue of a unicorn. As Sam explored further, he discovered a small plaque next to the statue. It read: "To whoever finds this garden, may you always find joy in the beauty of nature and the magic of discovery." Sam spent hours in the garden, exploring every corner and marveling at the hidden beauty. The garden seemed to have a magical quality that made Sam feel at peace and incredibly happy. From that day on, Sam made it a habit to visit the garden every day, taking care of it and sharing its beauty with his friends and family. The once-forgotten garden became a place of joy and wonder for everyone who visited. And so, Sam learned that sometimes, the greatest treasures are not just the secrets we uncover but the beauty and joy we find in them.
    • In Component / JL TV
    • Chogan Partner Werden
    • bietet die Möglichkeit, Teil eines erfolgreichen Netzwerks zu werden und hochwertige Produkte wie Parfums und Kosmetik zu vermarkten. Mit flexiblen Arbeitszeiten, attraktiven Provisionen und umfassender Unterstützung ist es eine ideale Chance, ein eigenes Geschäft aufzubauen und gleichzeitig von einer starken Marke zu profitieren.
    • In English Forum / Modules
    • Users view page
    • The includes a variety of options, from their famous Chicken Sandwich priced around $4.99 to family meals starting at $17.99. Combos like the 2-piece chicken combo are available for about $6.99, and sides like Cajun Fries and Mashed Potatoes range from $2.49 to $4.99. Desserts like Cinnamon Apple Pie and Strawberry Biscuits are priced between $1.79 and $3.79. Popeyes offers plenty of value, whether you’re grabbing a quick bite or feeding a family.
    • In Component / Slogin
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.