dnn-module

Custom module with possibility to add modules into module to create an expander module in DNN 9.2

我们两清 提交于 2021-02-10 06:27:53
问题 ​I'm using DNN 9.2 and searching for a possibility to create an own module that will work like the Atlassian Confluence's Expander Macro where I could add additional content. In my case I want to add other modules, which will be visible if the parent is expanded and hidden if the parent is collapsed. I thought about to use a Pane control in my module to place several other modules into it. It is an approach that imitates the Evoq's Grid module functionality, but with the additional

OpenCV dnn exception SSD Mobilenetv2

╄→尐↘猪︶ㄣ 提交于 2021-01-28 19:05:54
问题 Using transfer learning, I trained SSD MobileNetV2 (ssd_mobilenet_v2_coco.config) model in TensorFlow (tensorflow-gpu==1.15.0). After freezing the graph (.pb) using TensorFlow API Python script (export_inference_graph.py), I created a text graph (.pbtxt) using the Python script provided in OpenCV wiki (tf_text_graph_ssd.py). I used the Python code snippet from the wiki to test inference, but I am getting the following error: cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules

DNN UrlRewrite (“DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules”) does not run custom rewrite rule on web.config

ⅰ亾dé卋堺 提交于 2020-05-15 21:35:29
问题 On our DNN site hosted in an Azure app service, we have the following custom rule set on our web.config: <rewrite> <rules> <rule name="Proxy" stopProcessing="true"> <match url="^base3/?(.*)" /> <action type="Rewrite" url="https://(a website hosted in aws s3)/tx/{R:1}" /> <serverVariables> <set name="HTTP_ACCEPT_ENCODING" value="" /> <set name="HTTP_X_ORIGINAL_HOST" value="{HTTP_HOST}" /> <set name="HTTP_X_Blog" value="1" /> </serverVariables> </rule> </rules> We have also setup the following

How can I use DotNetNuke's built-in Sessions and Cookies for my own login module?

眉间皱痕 提交于 2019-12-25 03:44:50
问题 Does anyone have an example of how to use DNN's built-in functionality for a custom Login Module which can store the User Login with a Session and Cookie? I don't want to re-invent the wheel. Thanks 回答1: Check out DotNetNuke.Entities.Users.UserController . It has all kinds of methods for user handling. For login it has void UserLogin(int portalId, UserInfo user, string portalName, string ip, bool createPersistentCookie); UserInfo UserLogin(int portalId, string username, string password,

How to show a DNN module in a Fancybox pop up?

﹥>﹥吖頭↗ 提交于 2019-12-11 15:38:57
问题 I have a custom DNN registration and login module which I would like to pop up in a fancybox when someone clicks on the sign in to buy (Add to Cart) button. Firstly, it would show a login and registration button in the pop up. After someone has clicked on one of these buttons, the fancybox should stay open without any postbacks and show the custom DNN modules. Would I perhaps be able to achieve this with Knockout.js? Currently, the button would add the product to your cart and redirect you