Welcome Guest, Not a member yet? Register   Sign In
Widget plugin (intelligent view partials)
#21

[eluser]wiredesignz[/eluser]
@Mikle, You make me work so hard these days. Smile

Any method not declared specifically is assumed to be public method.

Widget class does not need private method.
#22

[eluser]Mikle[/eluser]
Wiredesignz, how do you think wigets must have config file (like Wordpress, for activation deactivation) or not? Or I should store config in db?
#23

[eluser]wiredesignz[/eluser]
Widget config should maybe be part of config/application.php

I always have a dedicated application config file, this keeps all site settings available to all developers.

Use database of course for settings that may be altered regularly.
#24

[eluser]Mikle[/eluser]
[quote author="wiredesignz" date="1250948932"]Widget config should maybe be part of config/application.php

I always have a dedicated application config file, this keeps all site settings available to all developers.

Use database of course for settings that may be altered regularly.[/quote]

And if I need to set count of posts which widget renders, I should store this number in config/application.php?
#25

[eluser]wiredesignz[/eluser]
Or database, This is your choice. Wink
#26

[eluser]Mikle[/eluser]
[quote author="wiredesignz" date="1250948583"]@Mikle, You make me work so hard these days. Smile

Any method not declared specifically is assumed to be public method.

Widget class does not need private method.[/quote]

I'm sorry for so much questions, but I'm newbee and learning codeigniter, and I love you extentions for CI, that save so much time in web application development. You can add paypal donation button to your site and I and many other people will send donations for your great job!
#27

[eluser]wiredesignz[/eluser]
It's ok, your questions are good ones. And thank you for the nice feedback.

If people want to donate they can always send a private message via my profile.
#28

[eluser]Milos Dakic[/eluser]
is it possible to make this widget plugin behave with ME5? I want to create a separate widget for each module and all this will come together in a dashboard type view.
#29

[eluser]wiredesignz[/eluser]
Hi Milos, I'm sure we could work something out. I'll do some testing.
#30

[eluser]Milos Dakic[/eluser]
I'm currently trying to work something out. I can get it to load the widget from a module, but when it comes to the view, well I'm having a hard time Sad




Theme © iAndrew 2016 - Forum software by © MyBB