0
Welcome Guest! Login
0 items Join Now

Load a custom field parameter in a category list layout

    • Hossein's Avatar
    • Hossein
    • Newbie
    • Posts: 3
    • Thanks: 0

    Load a custom field parameter in a category list layout

    Posted 14 years 1 week ago
    • Dear Friends,
      it is around 3 long days that I'm looking for a solution which can help me calling a parameter from article new custom filed that I add my self into Category List Layout!!!
      I did created a custom filed named "mp3".
      I can see this parameter on my article page through this code:
       
      <?php if ( $this->params->get( 'mp3' ) ) { ?>
      <div><?php echo $this->params->get( 'mp3' ); ?></div>
      <?php endif; ?>
       

      but when I want to call/load this parameter in Category List Layout, it does not work.
      I used this lines and none of the work:
       
      <?php echo $this->escape($this->params->get('mp3')); ?>
      <?php echo $item->mp3 ; ?>
      <?php echo $this->escape($item->mp3) ; ?>
       

      would anyone help me to solve this problem?
      would be glad to hear from any of you.
      God bless
    • Hossein's Avatar
    • Hossein
    • Newbie
    • Posts: 3
    • Thanks: 0

    Re: Load a custom field parameter in a category list layout

    Posted 14 years 1 week ago
    • please can anyone help???
    • Hossein's Avatar
    • Hossein
    • Newbie
    • Posts: 3
    • Thanks: 0

    Re: Load a custom field parameter in a category list layout

    Posted 13 years 11 months ago
    • I still looking for a solution!!!
      can any of the developers help please?????
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Load a custom field parameter in a category list layout

    Posted 13 years 11 months ago
    • Please post your issue on joomla.org
      RT is definitly the wrong place for support-questions for Joomla-core.
      You may take a look at CCKs like Zoo or K2.

Time to create page: 0.076 seconds