sotirisf

Stories submitted by sotirisf

SupportedFeatures field, Search Indexer exceptions, oh my.(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 1 year, 7 months ago

I had one of my usual strange problems tonight. The search indexer on a DNN web site I created some months ago would not index the entire site. I got suspicious and checked the event log, where there were pages after pages of general exceptions. read more...

add a comment |category: |Views: 0

tags: another

Using page titles instead of names on the DNN breadcrumb skinobject(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 2 years, 1 month ago

Simple, but useful. A fellow developer needed to use the page title (and not the page name which is the default) on the breadcrumb skinobject of his skin. The reason was that his menu had limited real estate so he had to keep names short, but he needed to give more information on the navigation breadcrumb. read more...

add a comment |category: |Views: 14

tags: another

Displaying a “no search results” message on DNN search results page(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 2 years, 1 month ago

n earlier (4.x) DNN versions, when you make a search and it yields no results you are presented with an empty search results page – without any message. It’s silly, but nobody ever included this as a feature. read more...

add a comment |category: |Views: 20

tags: another

Persisting large values in Module Settings when creating a custom modu(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 3 years, 4 months ago

So you want to create a simple custom module. At first, it seems easy. Just two or three settings to take care of, no need for complicated, custom tables and unistall/uninstall scripts. DNN's built-in module settings API seems to be enough. But suddenly, needs grow a lot. There are some large values you need to store and the ModuleSettings table won't allow large chunks of information per row. It seems that you have to switch to a custom table which will be holding your settings... read more...

add a comment |category: |Views: 2

tags: another

Resolving "fileid=xxx" field values to actual file paths (dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 3 years, 4 months ago

Following a previous article of mine, The dbo.tabs.IconFile field issue, I would like to share an easy way to resolve any field that holds values of the type "FileID=xxx" (where xxx is the primary key of a record in the Files table) into the actual file path. This is especially useful when you deal with the IconFile field in the Tabs table, as well as with fields of type Image in a User Defined Table, and probably in a lot more places too. read more...

add a comment |category: |Views: 12

tags: another

How to enable - disable caching programatically and on demand(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 3 years, 4 months ago

Sometimes, when you're doing something programmatically, like moving tabs around, you really don't want caching in your way in any form, since there's a great danger it'll affect the outcome. For some reason, programmatically clearing the cache may not be enough - you just don't need any caching around when you do certain stuff, and you don't want to oblige any host user to manually clear the cache. Here's a really simple way to disable caching programmatically. read more...

add a comment |category: |Views: 68

tags: another

Finding a tab's parent by level in DNN(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 3 years, 6 months ago

This is a simple but useful user defined function I have implemented in order to recursively find a tab's parent on a specific level. Syntax is as follows: read more...

add a comment |category: |Views: 2

tags: another

Thickbox and Google Maps API - avoiding random thickbox initialization(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 3 years, 6 months ago

Thickbox is a very nice JQuery-based Javascript plugin that allows you to present images and other stuff (even whole pages!) in your page in a popup manner but without leaving the current page or opening a new one. Essentially, it's considered an evolution of the Lightbox script which only works with images. read more...

add a comment |category: |Views: 59

tags: another

Adding Javascript to the BODY tag in DNN(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 3 years, 6 months ago

When working with .ascx skin files, you will sometimes need to add some Javascript to the BODY tag, such as something that runs when the OnLoad event triggers. read more...

add a comment |category: |Views: 55

tags: another

Creating pages based on templates - eventually!(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 3 years, 6 months ago

All my attempts to use custom templates when creating new DNN pages for my portals were frustrating. Even though I exported the template from a page using the Export feature, the new template would not show up at all in the combo box when creating a new page, although it existed in the file system. Even the default template wouldn't show up! read more...

add a comment |category: |Views: 9

tags: another

Solving the Search Results problem when using the free MMLinks localiz(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 4 years, 2 months ago

With the free MMLinks DotNetNuke module, you can replace your standard Text/HTML modules with fully localizable ones, localizing both the title and the Text/HTML part. With one slight defect: Since DotNetNuke's search indexer doesn't know anything about the localized titles, it insists on presenting the default, non-localized module title in the Search Results page (that would be "MMLinks" if you leave it intact). read more...

add a comment |category: |Views: 28

tags: another

Integrating the Lightbox JS 2.03.3 image overlay script with DNN (dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 4 years, 2 months ago

According to its creators, "Lightbox is a simple, unobtrusive script used to overlay images on the current page. It's a snap to setup and works on all modern browsers." And it really does what they say. So, why not use it with DNN? The fact that it can also work with groups of pictures providing basic back/forward navigation functionality makes it ideal as a lightweight picture gallery. Of course, it can be used with single pictures too, eliminating popup windows in order to see a picture, complete with (optional) caption, at a larger size. read more...

add a comment |category: |Views: 255

tags: another

Dynamically adding controls to ASPX pages (web forms) and assigning ev(dotnetzone.gr)

submitted by sotirisfsotirisf(315) 4 years, 6 months ago

Although I've seen a lot of articles describing how to dynamically add controls to a Web Form, few mention even a little hint to how you can make event handlers actually WORK with dynamically-added controls. This article may seem (and probably is) a beginner-level one, but I think it's essential to cover this issue. read more...

add a comment |category: |Views: 33

tags: another

Using the ListX module to create a DotNetNuke master-detail interface(dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 4 years, 7 months ago

The title may seem complex at first, but in fact what I would like to demonstrate is the exciting functionality of the ListX module with which not only can you issue custom queries (for tables inside your own DotNetNuke database or for any other source) and display results as a grid or repeater-like style, but you can also easily create detail pages - AJAX-enabled - which can reflect your choice in the "master" part without even having to reload the current web page. read more...

add a comment |category: |Views: 61

tags: another

Getting locked out of DNN's login page (dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 4 years, 8 months ago

One common accident while developing DNN portals is to change DNN's default login page through the Site Settings page. This is ok, as long as the new page you set contains a user login module. But if the new page does not, you usually get "locked out" of DNN, not being able to login since there is no way to get to the login page again. read more...

add a comment |category: |Views: 51

tags: another

Testing the ISearchable interface (dnnuke.blogspot.com)

submitted by sotirisfsotirisf(315) 4 years, 8 months ago

When you create a DotNetNuke custom module you often have to implement the ISearchable interface which allows you to integrate your module's data in DotNetNuke's Search indexer so that they are available when a user performs a search on your portal. read more...

add a comment |category: |Views: 31

tags: another