Blesta Addons Posted August 23, 2014 Report Posted August 23, 2014 Hello All i will begin the work for announcement plugin next week , so i need a idea to go with it , from my notes i have the fallowing - no categories for announcement . - the announcement will have as table id - the announcement ID (unique) title - title for announcement body - the full announcement body date_added - date added visiblity - clients / publics and clients active - option to hide or show it in clients widget . - we will make a widget for client that will show new announcement (the title and some body truncated ) , then we way make a option to hide the announcemet after xx days ( 1 mounth or 15 days ) - a archive page for all the announcement (ajaxed of course) what is your idea about this ? there is any thing that i have missed or should i add before we begin coding ? best regards for all . Michael and PauloV 2 Quote
Blesta Addons Posted August 24, 2014 Author Report Posted August 24, 2014 this is the admin view of the plugin http://host-image.net/v.php?id=71102annonce_admin.png PauloV and Michael 2 Quote
PauloV Posted August 24, 2014 Report Posted August 24, 2014 this is the admin view of the pluginhttp://host-image.net/v.php?id=71102annonce_admin.pngLooking good Can you add an extra option to be able to publish by installed language also? Thos way we can anounce in every language and each client can read on there own language Blesta Addons and Michael 2 Quote
Michael Posted August 24, 2014 Report Posted August 24, 2014 Looking good, is there ones we can use pure html like the portal or is it just WYSIWYG? Quote
Blesta Addons Posted August 24, 2014 Author Report Posted August 24, 2014 Looking good Can you add an extra option to be able to publish by installed language also? Thos way we can anounce in every language and each client can read on there own language i put your note to my TODO next release . i will finish this as the initial release , then i will make it for the upcome release . the reason why i will not add it to this release , because i added a new option , to set announcement by client groups and packages , by that we can set announcement for just the client group X (and/or) by client packages (exemple hosting package 1 , or vps backage 2 ect .... ) also the multi-languages i support it need a new structure of database table . a question for you PauloV ,have you see or tried anytime to change teh url to a freindly SEO url in blesta ? exemple from /client/plugin/knowledgebase/client_main/article/22/ to /client/knowledgebase/how-top-install-cpanel-in-vps/ any other one has tested or tried this ? Quote
Blesta Addons Posted August 24, 2014 Author Report Posted August 24, 2014 Looking good, is there ones we can use pure html like the portal or is it just WYSIWYG? the pure html is WYSIWYG , i tink your attention is use a simple textarea . so you can se it with WYSIWYG editor also , the editor has the first box to disable html editor. can you try it Quote
PauloV Posted August 24, 2014 Report Posted August 24, 2014 i put your note to my TODO next release . i will finish this as the initial release , then i will make it for the upcome release . the reason why i will not add it to this release , because i added a new option , to set announcement by client groups and packages , by that we can set announcement for just the client group X (and/or) by client packages (exemple hosting package 1 , or vps backage 2 ect .... ) also the multi-languages i support it need a new structure of database table . a question for you PauloV ,have you see or tried anytime to change teh url to a freindly SEO url in blesta ? exemple from /client/plugin/knowledgebase/client_main/article/22/ to /client/knowledgebase/how-top-install-cpanel-in-vps/ any other one has tested or tried this ? 1- OK I also can help you on this wen you release it 2- Its easy to do friendly URLS - Add an extra text field called "furl" - Add a rule to remove every special character and convert spaces to minus "-" and also convert all characters to lowercase (more easy lowercase) - Wen submiting the form to save the new announcement, check if the "furl" is unic, it cannot have the same name twice - Now on accessing the url for the announcment, just add a function to search by "furl" field insted the "id" field this way will be like for exemple: /client/plugin/knowledgebase/client_main/article/how-top-install-cpanel-in-vps/ insted of /client/plugin/knowledgebase/client_main/article/22/ Hope that helps If you want I can also help you on this after you release it Regards, PV Blesta Addons 1 Quote
Blesta Addons Posted September 6, 2014 Author Report Posted September 6, 2014 this way will be like for exemple: /client/plugin/knowledgebase/client_main/article/how-top-install-cpanel-in-vps/ insted of /client/plugin/knowledgebase/client_main/article/22/ mine idea was to rewrite complete url not just the end . /client/plugin/knowledgebase/client_main/article/how-top-install-cpanel-in-vps/ the final result : /knowledgebase/how-top-install-cpanel-in-vps/ i think this ned a change in route.php @cody ,@tyson, @Paul , why not a possibilities to extend the route.php from inside plugin directory , that yaw we can add extra route without changing the core file . Quote
Michael Posted January 2, 2015 Report Posted January 2, 2015 Whatever happened to this? http://www.blesta.com/forums/index.php?/topic/3180-plugin-announcement-released/ Blesta Addons 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.