Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Alp Friend
    #897988

    Hi everyone,

    I am using K2 User module. After logging in and clicking ‘submit new article’ the editor for new article always comes in a new browser window. How can I force it to open in the same window, same tab?

    And How can I set a menu item for user menu for new item editor in the user menu?

    I did not found the link for k2 in menu options.

    Best regards Alp

    Ninja Lead Moderator
    #898212

    Hi,

    I found the place to change as your request but after changing without the popup, you can add the item of k2 but it does not redirect to back default page. In this case, you can contact to k2 component maybe you will get the best answer from there.

    Below is a solution to change the link "submit new article" of K2

    Open modules/mod_k2_user/tmpl/userblock.php file

    find and change

    <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $user->profile->addLink; ?>"><?php echo JText::_('K2_ADD_NEW_ITEM'); ?></a>

    to

    <a href="<?php echo $user->profile->addLink; ?>"><?php echo JText::_('K2_ADD_NEW_ITEM'); ?></a>

    Regards

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

This topic contains 1 reply, has 2 voices, and was last updated by  Ninja Lead 8 years, 8 months ago.

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