Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Fred Tep Friend
    #191274

    Hi there,

    I have a template overide on a frontend edit form. It works fine when I access it from a menu link (K2 Item edit form). But It load the default template in a modal window when accessed from the user module (add a new item link).
    I could just delete the link in the module and make them go through the menu link but I really need those two features and I like the modal popup window…

    Any idea ?

    Fred

    Ninja Lead Moderator
    #508726

    I’m afraid I’m not quite getting what you are mentioning above. It would be awesome if you can possibly include a screenshot and description on that particular screenshot and URL link to that on what you would like to do. Otherwise, it’s like solving a puzzle without clue.

    Fred Tep Friend
    #509864

    Sorry for that. I thought I filled the form with all the website details.
    So here it is. If you go to this page you should get the picutre below once you’re logged in (I’m sending the user details via PM)

    If you click on the edit menu (circled in pink), you get a popup window with the template I want.

    If you click on the add new item form the login module (circled in green) you get a modal popup window with the default template

    I’d like to have the modal popup window with the right template but I’m stuck


    1. main
    2. edit
    3. add_item
    Ninja Lead Moderator
    #510051

    I found the difference in both link on your site

    Edit link:

    <a href="/index.php/edit" onclick="window.open(this.href,'targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,');return false;" class="mega last " id="menu326" title="edit"><span class="menu-title">edit</span></a>

    Add new link;

    <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="/index.php/accueil-ressources/item/add?tmpl=component">Add new item</a>

    If you want to show all link style modal popup you need to change them, for example

    <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="/index.php/edit?tmpl=component">Add new item</a>

    I would like to clarify that for heavy customization, you should hire a developer to carry out such work, customization support is out of JA support scope.

    Fred Tep Friend
    #510077

    Sorry Ninja Lead,

    I thought it could come from the template. I understand now it was a K2 problem and it was not your job to work on that.
    Thanks to you, I solved the problem. Next time I’ll get a coder. Do you know a good one by any chance ? I might have to make specific joomla module in near futur.

    Thanks anyway

    Ninja Lead Moderator
    #510397

    Great, it’s excellent.

    Can you share to us exactly what did you change on K2 component? It might be of help to other guys.

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

This topic contains 6 replies, has 2 voices, and was last updated by  Ninja Lead 11 years ago.

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