DNN custom journal type - dotnetnuke

I am currently using Community DNN Version 7.I wanted to add a new custom journal type to the existing journal.Is there any way I can do this?If yes please provide me with some links so that i can refer on it.
Many thanks!

In 6.2 it really wasn't advised on adding custom journal types, that's why they added 32 to begin with.
There doesn't appear to be any methods that I can find in the API to directly add, so you might be stuck inserting directly into the database or create your own method to do so.
The table you want to add them is Journal_Types.
More information can be found here:
http://www.dotnetnuke.com/Community/Community-Exchange/Question/770/Journal-Can-we-create-custom-Journal-types.aspx

Related

With MicrosoftGraph SDK how do you add extension property to user

There is a huge problem with documentation for Microsoft Graph where only set up of initial project is described. Where could I check documentation with examples of how to use Microsoft Graph SDK for example for adding extension property to user or group?
AFAIK, Microsoft provides two ways to add custom data to resources using extensions, open extensions and schema extensions.
Open extensions is the recommended solution for most scenarios involving storing and accessing custom data. If, however, you need to access custom data for Outlook MAPI properties that are not already exposed through the Microsoft Graph API metadata, you can use extended properties and its REST API. You can verify which properties the metadata exposes at https://graph.microsoft.com/v1.0/$metadata.
More detail about the difference about these two scenarios you can refer this link.
And based on the test, I am not able to find the corresponding method for create an open extensions or sechma extensions using the latest version of Microsoft Graph SDK. I suggest that you using the REST as a workaround. And for the detailed of request, you can follow the links below:
Add custom data to users using open extensions
Add custom data to groups using schema extensions
We are busy adding open and schema extension functionality to the SDKs, and we'll come back to this thread when the SDKs are updated. You can also find SDK info and instructions and basic documentation from here. In general we only fully document our REST APIs - the SDKs follow a very similar addressing pattern to the REST APIs, and individual SDK documentation may call out particular scenarios like how to page through collections using the SDK.
We'd love to hear more from you on your documentation and SDK requirements, if this doesn't meet your needs.
(Also please ignore the highlighted text in the last answer - this text needs to be fixed and is more targeted to the Outlook resources like messages and events.)
Hope this helps,

Creating Custom data type in umbraco 7.3 without using AngularJS

I want to create a custom data type in Umbraco 7.3 without using AngularJS but I cannot do it because I don't have any knowledge about AngularJs.
I googled and saw that all of examples wrote by using AngularJs.
Is there any way to create a custom data type in Umbraco 7.3 without using Angular?
If not, please introduce some good sources to learning Angular that should be simple and practical.
No I don't believe it is possible since the interface is all in Angular but I could be wrong. Certainly the method that the team would prefer us to use is the Angular method. I have to be honest it was a little bit of a leap for me too creating my first editor but it's really not that difficult, trust me.
There is a good thread in the Umbraco form here: https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/46925-Custom-datatype-in-umbraco-701
And I would advise downloading the Umbraco source as the best examples are in the source itself.
If I remember correctly, you can generate custom property editors using just C# classes and class attributes. Or you can extend existing data types and tweak them. The only problem is you're limited to lists and displaying existing JSON feeds - most of which is best done using extensions like uComponents and NuPickers.
Have you viewed Nibble's blog? He's the primary source for most things data type related.
For your situation, the nuPickers dot net extensions sounds best. There's examples on this link.

How to insert coding and Maths formula into database

I am working on a project which contains the question with options and solution of that question. I want to display the Mats equations and some coding questions on webpage. So my query is what will the the procedure to insert those equation into Database and display it on my webpage.
for the reference I want to display like this following link :
http://www.indiabix.com/aptitude/compound-interest/
http://www.indiabix.com/c-programming/functions/
Thanks
Frankly speaking as far as I understood your problem you do not have Idea about coding (I may be wrong but as you are not suggesting any particular database and any technical stuff I'm assuming this.)
You can use prebuilt frameworks for this job you don't need to design application from scratch unless it is your some project.
Some suggested Links are this ...
Moodle
WordPress
You need to find plugin after installing these frameworks on your webserver bundle
For that you can use
WAMP on windows or LAMP if on Linux
But Again your question too general. Give some inputs first
Information About Moodle:
IF you go throught moodle webiste you will get to know that how powerful LMS( learning management system ).
You just need to know how to configure such websites
Go through this video tutorials if you want to
Infromation About WordPress:
Wordpress is general purpose Website so you can develop any service with it very easily and everything including database is taken care by it (same case with moodle but moodle is more focused on LMS )
You have to search for LMS plugin inside wordpress for your purpose.
KINDLY ACCEPT THIS ONE AS ANsWER if you find information usefule... (Points help me contribute more and allows me also to ask question)

In Drupal should I use content-types or database abstraction layer?

I posted a question on the Drupal forum about whether I should build my database in Drupal using content-types or the database abstraction layer and schema module: [here][1]
Any advice would be greatly appreciated.
[1]: https://drupal.stackexchange.com/questions/98020/should-i-use-content-types-or-database-abstraction-layer
I'd recommend using content types.
For a PHP coder, sometimes using the Drupal User Interface to build things feels non-intuitive, but in the long run you're going to benefit a lot from doing things "the drupal way.
Once you reverse engineer your need into a content type and all it's associated fields, install the modules that provide those field types and set things up, you'll start to see the benefits.
Validation on all the data-entry froms will already be done for you.
Multiple display modes are available for your data (email addresses can be shown with or without mailto: links, images can be shown using any of Drupal's image styles)
Integration with other Drupal modules already exists, and will be supported (almost anything built with fields is available to views)
By writing your own schema you'll need to handle all these things yourself (and more), and not just once, but you'll need to maintain all that custom code over time.
Learn to leverage the community and all the great work that's been done already, you'll save yourself time in the long run :)
What i see you are going to have shop site.
You may tray this:
https://drupal.org/project/commerce_kickstart
, i've found it usefull once. It's drupal distribution with nice themed shop rady to use straight forward.
And of course do it with content type + views + entity reference modules.
Here is a link to a comment that answers the question I asked. It backs up what arpitr outlined in their answer on the orignal post on the drupal forum, whose answer is also in agreement with jenlampton's suggestion above.
https://drupal.org/comment/7848011#comment-7848011
I will implement my system using node entities until the need arises to build a custom entity (if it ever does).
The top answer in this forum give a good way to evaluate whether to use nodes or custom build an entity:
https://drupal.stackexchange.com/questions/22586/when-is-it-appropriate-to-create-an-entity-versus-just-adding-a-new-content-type

display a calendar function on lots of different websites

first of all, please excuse my ignorance, this is an exploratory question, rather than a specific programming program that needs solving.
I have a number of clients that have unique websites, none of which I was involved in developing. I would like them to be able to display a calendar of common events, but which would also contain events unique to them.
Is it possible using something like Server Side Includes to be able to give them a few lines of code which they could insert into their website (on any particular page) which might display a calendar type display, which their users can then interact with?
I guess I am looking for something similar to a Google calendar but I do not want to use a Google calendar. The key thing would be that they would only need to insert the few lines of code on one of their webpages; they wouldn't have to install any software on their servers.
Any suggestions?
Thanks
Damien
There are are all sorts of web calendars that will allow you to include them on a web page (typically using javascript, not SSI). Some are targeted at specific platforms (ie, Wordpress) and some are more generic.
Try searching "web calendar widget" for examples.
You'd have to put some amount of content on their site. If you can do that, you can include some javascript that will load more javascript from the server side that can do the bulk of the calendaring work for you.
You wouldn't be able to just drop a few files on the server and have them work, you'd need some way to link to them by changing the existing content on at least one of the pages.
I may be misunderstanding your question though.
If you are looking for specific recommendations on web calendar widgets, Arshaw's fullcalendar is my favorite to date.
It displays a great calendar that can be easily styled with css or jquery ui themeroller and is very programmable. The website has great documentation and examples as well.
Per using it on different sites, it supports that easily.
Note, I'm not affiliated with that calendar at all, just a satisfied customer.

Resources