Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Multiple Mode
 
Notifications
Clear all

Multiple Mode

7 Posts
2 Users
0 Reactions
11.2 K Views
LEVA
 LEVA
(@leva)
Posts: 54
Active Member
Topic starter
 
[#1269]

Hi Babynus,

I am very interested by the multiple mode fonctionnality.

But as I think you guessed, my own Project'Or RIA is ultra customized and I cannot copy paste v3.4.0 over my own version... I really don't want to lose all my work here ^^

My question is : What do I have to copy from v3.4.0 to implement Multiple Mode ?

I'll investigate myself, but I guess there could be some hidden usefull lines of code..

Thx in advance.


 
Posted : 18 Jul 2013 18H39
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Main new objects :
/view/objectMultipleUpdate.php
/tool/saveObjectMultiple.php

and change :
/view/objectButton.php (new button)


 
Posted : 18 Jul 2013 19H04
LEVA
 LEVA
(@leva)
Posts: 54
Active Member
Topic starter
 

Thank you very much


 
Posted : 18 Jul 2013 19H08
LEVA
 LEVA
(@leva)
Posts: 54
Active Member
Topic starter
 

Hi Babynus,

In objectButtons.php I found this :

    if ($mailable and $mailable->id) {   //This { ends at the end of the code
    ?>
     <button id="mailButton" dojoType="dijit.form.Button" showlabel="false"
       title=""
       
       iconClass="dijitEditorIcon dijitEditorIconMail" >
        
          showMailOptions();  
        
      
     
    <button id="multiUpdateButton" dojoType="dijit.form.Button" showlabel="false"
       title=""
       iconClass="dijitEditorIcon dijitEditorIconMultipleUpdate" >
        
          startMultipleUpdateMode('');  
        
      
      <?php
        }
      } // It ends here 

Is it normal that MultipleUpdate button is inside the if(mailable) loop ?

Btw, I manage to make it work with my version.. thx for this awesome function ! 🙂


 
Posted : 19 Jul 2013 12H31
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Yes it is normal : it is to limit the funcitonality to the main functional items (mainly items managing a status), and exclude parameters.


 
Posted : 19 Jul 2013 12H58
LEVA
 LEVA
(@leva)
Posts: 54
Active Member
Topic starter
 

Oh I see..

Why did you link this to maillable ? And not a new setting "Multipliable" ? ^^


 
Posted : 22 Jul 2013 10H37
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Because tables would be the same ...


 
Posted : 22 Jul 2013 12H58
Share:

Scroll to Top