[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - Save preset in config.ini

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 15th, 2024, 7:25 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 21 posts ] 
Author Message
PostPosted: November 25th, 2017, 3:28 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Hello

I have a concern I created a widget with several background that the user can define but I can not save each time I restart xwidget it puts me the bottom by default ........

Someone know how?
I tried various codes without success

thank you ;)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 25th, 2017, 8:28 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Use the script in the widget that I attached you in your previous post
viewtopic.php?f=7&t=6819

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 26th, 2017, 2:39 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 26th, 2017, 3:18 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
could you please attach the .xwp to check from the "inside"..?

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 26th, 2017, 4:10 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
i send you the widget
https://www.mediafire.com/file/5l56qtdy ... t_Beta.zip

thx

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 26th, 2017, 5:31 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 26th, 2017, 5:45 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
i will try this now :)
And yes it's a beta widget..its have lots of layer i create a new version with less layer as possible to make it easier ;)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 26th, 2017, 6:30 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 26th, 2017, 2:52 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
This is not a bug Rom.
When the layer is visible, the checkbox will be activated. So the script overwrites any manual "uncheck" option.
You need to "play" with the "visible"option and keep the layer "invisible" on the start.
If you have it visible you will have the opposite result..

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 27th, 2017, 7:40 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 27th, 2017, 8:48 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
With the first code you can show hide the component
With the second the layer will stay visible.
Depends on what you want to do

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 28th, 2017, 6:07 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
ok realy thanks for you'r help
i have learn loot of good things :)

I have a question, can i call a external javascript file created by me ?
i find codes on internet but does't work....

thanks :)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 28th, 2017, 9:47 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
You're free to use any java script you want. Personally I shave no problem with it.
You can find external java scripts but you need to know how to edit them and make them work properly to your design. And it's not so easy especially for novice users.
There are so many ready widgets for XWidget and you can find many many functions.
That's way I did :)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 28th, 2017, 1:10 pm 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Yes I search a lot too and I find a lot of useful things.
Is it possible to put the windgetOnLoad function in a .js file rather than in the widget itself?

sorry with all that is question but I'm embarking on a pretty big project and I just miss some info :)

thank you

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 28th, 2017, 4:54 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 29th, 2017, 6:54 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
I would like to put the WidgetOnLoad function in a .js file because I am created a widget with a lot of options and customization and suddenly so that my code be readable easily I had the question of knowing if I could put all the backup function in an external file and the loaded at launching the widget

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 29th, 2017, 2:44 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
You can create a second clone widget with a different name if you want to backup your design/java script.
The java script in general like the WidgetOnLoad works for the widget itself. There is no way to interact with more widgets using a java script.
I hope that I replied to your question, because really I don't understand well your thought. The Google translator is bad... :)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: November 30th, 2017, 3:23 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: November 30th, 2017, 1:29 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
As I said no it's not possible. The WidgetOnLoad function works only through the widget itself and should be placed in the Designer and XWidget will load all the data from there only. No external commands work with Xwidget widgets.

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: December 12th, 2017, 8:03 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: December 12th, 2017, 11:32 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
I don't know the js format for this.. Sorry
But why not try to create two "layers" with corrisponding effects on/off and use the same show/hide mentality like the cases above..?
Option to show layer1 with effects - hide layer2 without effects and the opposite

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group