Keyword

K2 Add new item window resize

More
13 years 1 month ago #87347 by Hanny
Replied by Hanny on topic K2 Add new item window resize
Hmmm, I guess I'll have to try and see what firefox 4 does that all the other browsers of the world do differently :-D

Gives me something more to test I guess, and more to learn!

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87348 by juju
Replied by juju on topic K2 Add new item window resize
I find a solution, but maybe it will cause other problems...

 

in form.php, I change method:get to method:post and with Firefox 4 it works well ;)

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87349 by Hanny
Replied by Hanny on topic K2 Add new item window resize
When you change that, does it still have the same results in all the other browsers?

 

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87350 by juju
Replied by juju on topic K2 Add new item window resize
I test with FF, Chrome, IE, it works fine with the post method :)

 

Thanks a lot to you, I keep you informed if I fond others bugs but it seems ok !

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87351 by Hanny
Replied by Hanny on topic K2 Add new item window resize
Excellent.  I'll make the changes to my files as well.  Awesome!  Thanks for the help juju!

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87352 by juju
Replied by juju on topic K2 Add new item window resize
Hi ! I'm already back :) Reassures you, I don't find bugs, all works fine :)

 

But I would do a more friendly system for the users :

 

When they click on the save button, they would have a gif animation in the window while the article is saved, and when it's done, they would have a message who said them "Item send".

 

I want to do that because when you put an image and attachments, it's pretty long to saved the article, and I think the user will find the time long...

 

I know that I can display an alert like : alert( 'Item send' ) when the article was save, but how I can display a gif or a message while the article is saved ?

 

Thanks again, it's really cool to discuss with you ;)

 

 

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87353 by juju
Replied by juju on topic K2 Add new item window resize
How I can have the category selected by the user in the drop box ? Because I have to customize the message to the user if he can publish or not ;)

So I wrote that code :

 

$user = &JFactory::getUser();if ($user->authorize('com_k2', 'publish', 'category', 'all') || $user->authorize('com_k2', 'publish', 'category', [Category])){            echo 'Votre article a \351t\351 envoy\351 \340 un administrateur, il sera publi\351 apr\350s v\351rification.'; }

 

But I need the if of the category :/

 

Thanks again ;)

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87354 by Hanny
Replied by Hanny on topic K2 Add new item window resize
Juju - probably best to post each of these in their own thread, as these topics really don't have anything to do with the original post requests, or the close on save.

 

I'd be glad to help, but should probably just make new posts for them. :)

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87355 by juju

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #87356 by Tafadzwa Makura
Replied by Tafadzwa Makura on topic K2 Add new item window resize
Can Use Percentage width/height instead of fixed width????

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum