Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • bakeaboo Friend
    #181798

    Hi! i have an issue with my template when i enter the tag section. The page display some code lines, this is keeping me very worried.
    Please help!


    1. Untitled
    Luna Garden Moderator
    #471444

    Please go to
    templates/your_template_folder/html/com_k2/default/tag.php
    Find these lines:

    foreach ($extra_fields as $key=>$extraField) {
    if ($extraField->name == $xclass_key) {
    $xclass = $extraField->value;
    break;
    }
    }

    Put them in


    if ($extra_fields){
    above_code;
    }

    bakeaboo Friend
    #471477

    I doesnt work, y put

    if ($extra_fields){
    above_code;
    }

    right under the code, put error still is showing..

    what can i do?

    Luna Garden Moderator
    #471528

    Not under, but change these lines

    foreach ($extra_fields as $key=>$extraField) {
    if ($extraField->name == $xclass_key) {
    $xclass = $extraField->value;
    break;
    }
    }

    into


    if ($extra_fields){
    foreach ($extra_fields as $key=>$extraField) {
    if ($extraField->name == $xclass_key) {
    $xclass = $extraField->value;
    break;
    }
    }
    }

    Or else, another way, setting not to show error in front end by go to back-end >> Site >> Global Configuration >> Tab Server >> Set Error Reporting to None.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Luna Garden 12 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum