NadalKumar Posted March 27, 2019 Share Posted March 27, 2019 The module has a similar behavior to a basic CMS in that it creates unlimited Categories Pages Menu items It provides a method to format display layout by simply arranging shortcode placeholders which are replaced by specific data objects eg: [image] [title] [text]. Easily replace the core primary and secondary navigation, with custom menu items that are managed in the admin. Create additional groups of menu items and place as widgets in various positions (foot, sideleft, sideright, mid, top, bottom) Place WHMCS core widgets in any position. Easily add multi-media to posts, including video, audio, photo gallery, survey polls. Display post metas such as author, post date, category, views, votes Beta Testing Go to the demo site administration Full administrator login User: betatest Pwd: betatest The database resets periodically. Report issues in this thread. The Visuals Initial module setup Global Display Configuration Menu Items List And Groups Menu Item Edit Categories List Category Edit Posts List Post Edit All Categories View In Front End Single Category View Post View 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted March 29, 2019 Author Share Posted March 29, 2019 Added side bar widget function to allow custom HTML objects on all or selected pages. The positions can be customized to suit. A user can create output function and register as a widget that can be selected for editing, just by adding a folder with the processing and display files in the addon directory called widgets Widget Edit Published Widgets List Front Output Directory Structure 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 1, 2019 Author Share Posted April 1, 2019 The custom widget development has been simplified by adopting the form field method used by Joomla. A simple XML file placed in the custom widget's directory and given the exact name of the widget's folder will provide a variety of data to the functions for display. Fields produced from the XML are in the main left column. All other fields are constant to define frontend display The widget's frontend out put coding. This file is placed in a subfolder of the widget's root Front result 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 3, 2019 Author Share Posted April 3, 2019 An installer has been added to allow easy upload of sidebar widgets, CMSE module templates and even WHMCS frontend templates. Each extension type just needs to have a .xml manifest file in its root folder and be compressed as a .zip file. Simply upload the compressed file and process will be handled. The XML file Set the type as whmcstemplate to instruct the installer on the destination. The xml file name must be the same as the template's directory name. <?xml version="1.0" encoding="utf-8"?> <extension version="1.0" type="whmcstemplate"> <name>Forex Template</name> <version>1.0</version> <creationDate>03/24/19</creationDate> <author>CMSenergizer.com</author> <authorEmail>mail@cmsenergizer.com</authorEmail> <authorUrl>http://www.cmsenergizer.com</authorUrl> <copyright>CMSEnergizer.com</copyright> <license>GNU/GPL</license> </extension> For the sidebar widget, the type is widget and for CMSE module template the type is just template and The process The result 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 5, 2019 Author Share Posted April 5, 2019 Added a sidebar widget which displays the latest posts from the post manager addon. It will allow post selection from 1 or multiple categories and the layout system allows custom formatting as desired. Any similar widget can be developed and installed easily with the simple form field function. Just write each field in the xml manifest file and display in the administration. <?xml version="1.0" encoding="utf-8"?> <extension version="1.0" type="widget"> <name>cmse Latest Posts</name> <version>1.0</version> <creationDate>03/24/19</creationDate> <author>CMSenergizer.com</author> <authorEmail>mail@cmsenergizer.com</authorEmail> <authorUrl>http://www.cmsenergizer.com</authorUrl> <copyright>CMSEnergizer.com</copyright> <license>GNU/GPL</license> <fields> <field type="list" name="format" label="Format"> <option value="grid">Grid</option> <option value="list">List</option> </field> <field type="categories" name="postcats" label="Categories" /> <field type="number" name="itemcount" min="0" label="Item Count" /> <field type="number" name="itemsperrow" min="0" label="Items Per Row" /> <field type="number" name="textlimit" min="0" label="Text Limit" /> <field type="number" name="imgmask" min="0" label="Image Height" /> <field type="textarea" name="layout" value="[image][title][text]" label="Layout" /> <field type="textarea" name="customcss" label="Custom CSS" /> </fields> </extension> 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 7, 2019 Author Share Posted April 7, 2019 Make any template modular by adding position code blocks any where the out put of a widget is desired. Known as modules in Joomla CMS and Widgets in WordPress. This sample when placed in header.tpl will display the content of a widget that is assigned to the position on the page's menu ID. The widget can be assigned to one or multiple pages. Create as many positions as desired and format normally with CSS. <section id="main-body"> <div class="container{if $skipMainBodyContainer}-fluid without-padding{/if}"> <div class="row"> {if "maintop"|in_array:$position} <div class="main-top"> {getWidgets('maintop')} <div class="clearall"></div> </div> {/if} This allows greater flexibility for various content positioning without the need for constant template code alteration. 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 8, 2019 Author Share Posted April 8, 2019 A template editor has been added to enable template duplication and editing from within the admin. This function is only accessible by Full Administrators. 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 8, 2019 Author Share Posted April 8, 2019 Added a language override editor. It creates an overrides folder in the lang directory if one does not exist. It also creates a file for the default language. Each entry is appended to the file on a new line. 0 Quote Link to comment Share on other sites More sharing options...
mfoland Posted April 8, 2019 Share Posted April 8, 2019 Would this work with the template HostX? 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 8, 2019 Author Share Posted April 8, 2019 3 hours ago, mfoland said: Would this work with the template HostX? It's not template dependent so it will work with any template. 0 Quote Link to comment Share on other sites More sharing options...
mfoland Posted April 8, 2019 Share Posted April 8, 2019 Oh wow! I'd love to see it 🙂 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 8, 2019 Author Share Posted April 8, 2019 It is accessible with full administrator login. See the details in the first post of this thread. 0 Quote Link to comment Share on other sites More sharing options...
mfoland Posted April 8, 2019 Share Posted April 8, 2019 @NadalKumar Check your DM 🙂 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 12, 2019 Author Share Posted April 12, 2019 Added a few robust template configuration features. This will allow a user with a template that invokes the template manifest xml, to dynamically configure the format allowed by the template developer, and there are no limits. A developer just need to include a file named template.xml in the template's root. The addon system will detect the file and print the fields in the various locations. The manifest file method <?xml version="1.0" encoding="utf-8"?> <extension version="1.0" type="template"> <name>SixFlix</name> <version>1.0</version> <creationDate>04/11/19</creationDate> <author>CMSenergizer.com</author> <authorEmail>mail@cmsenergizer.com</authorEmail> <authorUrl>http://www.cmsenergizer.com</authorUrl> <copyright>CMSEnergizer.com</copyright> <license>GNU/GPL</license> <positions> <position>headitem</position> <position>toprow</position> <position>midrow</position> <position>maintop</position> <position>mainbottom</position> <position>sideleft</position> <position>sideright</position> <position>bottomrow</position> <position>foot</position> <position>copyright</position> </positions> <fields> <fieldset label="Layout" class="boxsize width_30 break"> <field type="text" name="favicon" placeholder="images/assets/fave.png" label="FavIcon" /> <field type="number" name="layoutwidth" min="940" max="1920" value="1180" label="Layout Max Width" /> <field type="list" name="themes" label="Style Theme"> <option value="custom.css">custom.css</option> <option value="hostx.css">hostx.css</option> <option value="newstime.css">newstime.css</option> </field> <field type="number" name="leftcolwidth" value="30" label="Left Column Width" /> <field type="number" name="rightcolwidth" value="30" label="Right Column Width" /> </fieldset> <fieldset label="Fonts" class="boxsize width_30 break padleft-20"> <field type="text" name="fontfamily" placeholder="Mondale|Raleway|Alfa+Slab" label="Font Family" /> <field type="textarea" name="setfont" placeholder="h1,h2 {font-family: Mondale;}" label="Set Fonts" /> </fieldset> <fieldset label="Color Settings" class="boxsize width_30 break padleft-20"> <field type="color" name="pagebgcolor" label="Background Color" /> <field type="color" name="linkcolor" label="Links Color" /> <field type="color" name="linkcolorhover" label="Links Hover Color" /> <field type="color" name="bodyfontcolor" label="Main Font Color" /> <field type="color" name="footcolor" label="Footer Background Color" /> <field type="color" name="footfontcolor" label="Footer Font Color" /> </fieldset> </fields> </extension> The output in the template list All the existing templates will be listed but only those with the xml manifest file will show as configurable and display the developer data. There is a database table where the configurations per template are stored. If the template is not installed in the DB table but does have a xml manifest, it will show as not configurable but display a button to install. There is also a method to easily make child duplicates of templates to customize without affecting the original. The output in the template configuration The values set in configuration are stored in the addon's template DB table and called via an additional new template file which has the exact name of the template folder. eg: six.php. The values are passed to the display files as Smarty variables via the smarty global wrapped in a function. eg: getSmarty()->assign(); The configurations are usually all CSS so most settings simply passed to the <head> as inline or written to css file. 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 13, 2019 Author Share Posted April 13, 2019 A video player widget has been added to the CMSE framework. It is easily inserted into any article, WHMCS page and serves the valuable purpose of user guide videos, sales pitches and more. Add one or multiple videos to create a playlist and source videos from any server that permit video embed. Simply add the URL. The function will grab image and title from Youtube, Facebook, DailyMotion, Vimeo, Vevo, PornHub. Output 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 14, 2019 Author Share Posted April 14, 2019 Added a product display widget that can be placed in any position on 1 or multiple pages. It can be formatted as grid or list view and with the layout shortcode system, the elements (title, image, text, price, add to cart) can be arranged to suit. The product image function is enabled via the CMSE addon's configuration. When enabled, a column is added to the tblproducts database table and the image field is inserted into the product configuration form. There is also an option to convert the plain text description textarea into a TinyMCE WYSIWYG editor. The new appearance of the product configuration form. A product detail page has been added at cart.php?gid=1&pid=2&page=productdetail and the formatting can be easily arranged with the element shortcode. [image] [title] [price] [addcart] [text] [socialshare] [facebookcomment] 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 14, 2019 Author Share Posted April 14, 2019 The menu manager along with widget manager and positioning object placed in a template, will allow for easy menu creation and placement of menu groups which will dynamically display added menu items. The menu manager showing the groups and the menu items assigned to each The widget manager showing the menu widgets assigned to the foot in the order displayed on the front end. 0 Quote Link to comment Share on other sites More sharing options...
akust0m Posted April 15, 2019 Share Posted April 15, 2019 I'd be interested in taking a look at this 🙂 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 16, 2019 Author Share Posted April 16, 2019 20 hours ago, akust0m said: I'd be interested in taking a look at this 🙂 You can test it at the dev location. See the first post in this thread for admin login details. 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 17, 2019 Author Share Posted April 17, 2019 (edited) The addon includes a modular version of the excellent Six theme. All the content on the home page are widgets placed in positions added to the template. This is just an alternative. The addon will function with any template in the default state. logo phone number and user menu top menu bar lead block domain search hosting packages from the products other products latest items from the blog foot menu groups (each one is a menu widget) copyright bar The advantage of a modular template is the ease of placing content objects within one or multiple pages without the need to edit the coding. Each widget has options to define the output data or format. The widget system is "pluggable" so developers can create any content plugin and easily install, just as done in WordPress and Joomla. The widgets in use The lead object is merely HTML formatting with the custom HTML widget. The display formatting and styling are handled by css rules in the selected theme and the related CSS class added to the custom class field (bottom right in the image) for the widget setup. Edited April 17, 2019 by NadalKumar 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 18, 2019 Author Share Posted April 18, 2019 An audio player system has been added for those who use WHMCS to sell music, audio books and wish to allow previews. It will play .MP3, OGG, RTMP streams, streams from any internet radio source. Adding audio to posts is quite simple via the reapeatable fields. Just add URL The output can be fixed to the page foot or as an inline player, placed any where in the body via the [audioplayer] shortcode See it in action at http://websitedons.net/demo/whmcs/index.php?component=posts&view=post&category=2-march-madness&post=17-the-ratings-favor-the-mighty-dukes&menuid=5 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 19, 2019 Author Share Posted April 19, 2019 Display configuration fields have been added to the product group setup. They allow formatting flexibility for the group display and for product detail display. This puts the power of styling and formatting per product group in the operator's hands without the need for complex coding. Simply arrange the object shortcodes and add preset containers to align, hide on event, slide into view on hover and all kinds of effects that website owners just love. The fields must first be enabled within the extension's global configuration. The output Grid format with images List format The object shortcodes. Each area which uses shortcodes include the complete list. A shortcode onclick insert method is in development [div class="boxsize width_30 break img-enlarge"] // the img-enlarge class wraps a fancybox anchor around the image [image] [/div] [div class="boxsize width_70 break padleft-20"] [title] // defaults to <h2> options are [title h1] [title h3] thru' h6 [div class="padtop-20 padbottom-20"] [price] // show monthly or onetime [priceall] // show all price ranges [addcart] // buy now button [div][group][/div] // link to product group [/div] [text] [/div] [clearall] [socialshare] // display social share buttons as set in the global config [facebookcomment] or [disqus yourId] 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 20, 2019 Author Share Posted April 20, 2019 A slide show method has been added to display within posts. It will slide any type of data, including embeds from social media, videos etc. See it in action http://websitedons.net/demo/whmcs/index.php?component=posts&view=post&category=3-fast-cars&post=9-wayne39;s-ride&menuid=5 If not posting an article, It has shortcode support which will allow inserting slides into the custom html widget or product description. Method [slideshow] [slide] some words or image [/slide] [slide] more content type [/slide] [/slideshow] 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 23, 2019 Author Share Posted April 23, 2019 A post filter by category has been added per request of Gomez. Filtered result 0 Quote Link to comment Share on other sites More sharing options...
mfoland Posted April 23, 2019 Share Posted April 23, 2019 Looking really good mate. Send me a Pm. Got some ideas 0 Quote Link to comment Share on other sites More sharing options...
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.