an
groups-icon

How to add url field in submission listing? Need help ;)

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Kamil Kowalczyk
    0 points
    Beginner

    Hi 😉 i really need help. I created website with deals, coupons etc. where users can add their deals. I almost finished but i would like change some things in submission listing. I have few fields: title, description, tags, category, file attachments. I would like to have field with url to redirect users to website with deal.
    I deleted last step submission listing and now i would like to have link field between description and tags. I think i should add something in tpl-add.php.
    This Is last thing which i would like to change and i will be really glad for help. lLink to my webiste: https://polskieokazje.pl/dodajokazje/
    Thehe Are lines in tpl-add.php:
    case “2”: { // LISTING DESCRIPTION

    $field[$o][‘title’] = $CORE->_e(array(‘add’,’10’));
    $field[$o][‘name’] = “post_title”;
    $field[$o][‘type’] = “text”;
    $field[$o][‘class’] = “form-control”;
    $field[$o][‘required’] = true;
    $o++;
    $field[$o][‘title’] = $CORE->_e(array(‘add’,’12’));
    $field[$o][‘name’] = “post_content”;
    $field[$o][‘type’] = “post_content”;
    $field[$o][‘class’] = “form-control”;
    //$field[$o][‘required’] = true;
    $o++;
    $field[$o][‘title’] = $CORE->_e(array(‘add’,’71’));
    $field[$o][‘name’] = “post_tags”;
    $field[$o][‘type’] = “text”;
    $field[$o][‘help’] = $CORE->_e(array(‘add’,’73’));
    $field[$o][‘class’] = “form-control”;
    echo $CORE->BUILD_FIELDS($field,$data);

    July 24, 2014 at 11:04 am
  • Jaroslava MareÅ¡ová
    1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    July 24, 2014 at 2:47 pm

508

Views

1

Replies