How To Create Custom Skins For DotText(如何为DotText创建自定义风格的皮肤)

IMA知识库:从0到1的架构设计与实践 本文探讨了AI时代知识库系统的架构设计与演进路径。通过分析知识入库、知识管理和知识应用三大核心业务流程,提出了应对数据多样性、处理标准化、流量洪峰等挑战的解决方案。重点介绍了基于统一数据格式的解耦设计、异步处理架构、服务拆分策略以及权限安全体系,构建了一个稳定、高效且可扩展的知识库系统。文章强调优秀架构需要持续演进,通过识别薄弱点不断优化,最终实现技术方案与业务需求的平衡。 阅读详情

Creating custom skins for DotText is quite easy I've found.  It only took a few minutes to be well on m way to making skins.

  1. First find where the default skins are saved so that you do not have to start from scratch.  We are just going to copy one of the existing ones and edit that.

    Install Directory>/Skins
     
  2. Open up the skins directory and choose one of the existing skins folders to copy.  I used Marvin3 (thanks Marvin, who ever you are) because I like the columns down each side of the page.  Make a copy of that folder.
     
  3. Now that you have a copy, rename it to something you like.  I called mine EIce because it is largely based on blue -- the color of ice and the constant coating on my car.
     
  4. Open up your newly named folder and depending on which previous skin you copied you will notice several Css files.  Marvin3 has a few while others only have one.  For each Css file you have, that will be a version of your skin.  You will also notice PageTemplate.ascx (Asp.Net Custom Control).  This is the file that holds the information about the positioning of your new skin.  Open it up to see how it works.  You should see that the normal tag prefixes are registered at the top of the file and where they are used to draw how your skin will look.  There is also a mix of Html in there -- feel free to edit that if you like but be sure your syntax is correct!  You should also plainly see how you can move elements, such as “News“ around by using the tag.
     
  5. Back to the Css file now.  Most skins refer to the elements in the ascx file by their ID's, so take a look at which ID's go with which elements and you will know which Css selectors edit them.  I added a bunch of stuff to the a:hover selector so that when you mouse over my links, they do something crazy -- like highlight.  Customize this file as much as you like but again be sure that you use only proper syntax!
     
  6. In your skin's directory, find the Images folder.  This is where you can store images that your skin requires.  I put Dave M.'s blue duckie that I took a picture of in mine because I used it as a background.  You may put whatever you like in there and reference it from the Css file just one directory up.  I have background-image: url(Images/blue_duckie_bg.gif);
     
  7. Now lets look in the Controls folder in your skins directory.  Here you can edit each element of your blog via even more ascx (Asp.Net Custom Control) files.  If you open one up such as BlogStats.ascx, you can see just how the stats are printed out on your blog.  You can reformat or change the way they, or any other control, displays.  Pretty cool huh?  Good job Scott!
     
  8. The next and final step to creating your own skins for DotText is to update the Skins.config file.  It is stored in the Install Directory>/Admin folder of your blog.  Once you have this file open you will see entries inside of the tag, .  You need to create a new entry for each on of the versions of your new skin -- in other words, for every Css file (color scheme perhaps) you will need an additional entry.  The SkinID attribute needs to be the name of the skin you created (in my case EIce) with a hyphen and then the name of the Css file.  The Skin attribute is the display name of the skin that shows up in the drop down box inside of the config.  Then the SecondaryCss attribute is the file name of the corresponding Css file.  Here are a few entries from my new skin:
     

    <SkinTemplate SkinID = "eice-green" Skin = "EIce" SecondaryCss = "green.css" />
    <SkinTemplate SkinID = "eice-blue" Skin = "EIce" SecondaryCss = "blue.css" />
    <SkinTemplate SkinID = "eice-red" Skin = "EIce" SecondaryCss = "red.css" />
     
    I have three Css files named green.css, blue.css, and red.css.  My skin name is “EIce“.  Do you see the theme here? :-)  Be sure you save this file, again with no syntax errors (look over your code!), and upload it back to the webserver in the Admin directory.

That's really all there is to creating custom skins.  The only repetitive part is making many versions of your Css file to have different color schemes (which I'll do later, maybe, when I get sick of blue).  Everything is in plain text so you don't even need to open Visual Studio .NET (but I use that as an editor because it colors the code so nicely).

GDI文字绘制和windows下opengl文字绘制小结 GDI绘制文字,要设置文字的属性,主要就是通过设置DC中的font对象来实现的。 font对象的创建可以由createfont()、createfontIndirect()来实现。 HFONT CreateFont( int nHeight, // height of font int nWidth, // average 阅读详情

相关推荐

BQ27220燃料计量芯片与Arduino库kode_bq27220实战指南

燃料计量(Fuel Gauge)是嵌入式电池管理系统的核心技术,通过电压、电流、温度多维建模实现荷电状态(SOC)与健康状态(SOH)的动态估算。其原理基于电化学阻抗补偿算法(如CEDV),区别于简单电压查表法,具备自学习与老化适应能力。该技术显著提升便携设备续航预测精度与低功耗可靠性,广泛应用于TWS耳机、可穿戴设备及医疗电子等场景。本文围绕TI BQ27220高精度燃料计量IC及其配套Arduino库kode_bq27220展开,覆盖硬件连接规范、I²C初始化要点、SOC/SOH实时读取、EDV阈值配置

weixin_35671843的博客 340

HOW TO INSTALL SKINS AND CUSTOM CONTENT IN LEFT4DEAD

So ! , lets get started!1)first we need to download a program called: Notepad++Link: Click here (lets download npp.5.1.2.Installer.exe)now we'll install the program ( you have to do it alone since its...

weixin_33758863的博客 164

全国职业院校技能大赛-大数据应用赛项-数据挖掘-01

-----------------------推荐Top5结果如下--------------------------------------------第一条数据前10列结果展示为:----------------------------------------相同种类前10的id结果展示为:--------------------相似度top5(商品id:14,平均相似度:0.522356)相似度top1(商品id:1,平均相似度:0.983456)若属于该spu_id,则内容为1否则为0。

Eternity_04的博客 1961

Windows安装Android软件,[技巧]如何在Windows 10 PC上安装Android 10

Bliss OS能够并根据屏幕大小自动调整显示,提供了丰富了自定义选项和主题设置。此外还对电池进行了优化,添加了额外的安全性选项和相关功能,支持大部分主流游戏手柄,兼容ARM / ARM64应用程序。目前Bliss OS 12已经进入早期开发阶段,Bliss OS开发人员说:“我们已经开始了基于Android 10的Bliss OS 12首轮测试。目前该版本处于‘正在开发中’状态,不推荐作为日常使...

weixin_35744067的博客 2250

插件系统架构解析:VS Code与Obsidian设计对比

插件系统是现代软件开发中实现功能扩展的核心机制,其本质是通过标准化接口实现宿主程序与扩展模块的解耦。从技术原理看,典型的插件架构包含宿主环境、接口契约和功能实现三个关键组件,这种设计模式在VS Code、Obsidian等主流编辑器中得到广泛应用。在工程实践中,不同系统对接口标准化程度的要求差异显著:VS Code采用严格的package.json声明规范,而Obsidian则支持更灵活的manifest配置方式。良好的插件架构能显著提升软件的可维护性和生态活跃度,特别是在需要频繁功能迭代的开发工具领域。本

weixin_31822733的博客 273

(一)利用Python实现数据集读取,Python基本文件操作介绍

机器学习是计算机对大量数据的分析过程,在机器学习的实际项目中,通常都需要准备数据集,数据集通常包含的数据数量是庞大的。例如,在处理计算机视觉领域的项目时,每一张图片都是一个单独的文件,为了提高模型训练的效果,图片数量通常会比较多,因此需要合理且高效的操作将所有的图片数据读取。本篇旨在介绍如何用Python对海量文件进行遍历,也是机器学习实践的第一步。.........

ZZR2631574030的博客 6358

未将对象引用到实例

未将对象引用到实例 错误的可能性原因:1。控件不存在。2。执行权限不够。加ASPNET和EVETRYONE所有权限。// Below resons come from 坚强2004 1、ViewState 对象为Unll。2、DateSet 空。3、sql语句或Datebase的原因导致DataReader空。4、声明字符串变量时未赋空值就应用变量。5、未用new初始化对象。6、Session对象

sharpcn的专栏 2624

鸿蒙ijkplayer播放器调优实战:从卡顿掉帧到流畅播放RTSP,我都调了哪些参数?

本文深入解析鸿蒙平台上ijkplayer播放器优化RTSP流媒体播放的关键参数,解决卡顿、掉帧等问题。通过调整缓冲区管理、帧处理策略和网络超时设置,实现流畅播放体验,特别适用于监控和直播等高实时性场景。

weixin_29304021的博客 245

重视B/S架构系统的发展和开发设计理念[http://blog.csdn.net/tennal1020/]

随着网络技术的快速发展,b/s架构的系统也更加流行和突出。很多从c/s架构或者没有涉及B/S开发的程序员都普遍认为Web开发只是小菜一碟,而往往带着这种思想去开发B/S架构的系统会带来很多麻烦,造成系统框架不合理、系统界面丑陋无比、系统运行效率低下、系统安全性低下等一系列后遗症,对商业系统更是一种糟蹋……     因此Web系统的观念需要正确对待,他已经不是单纯的一个技术系统,它涉及了ht

sharpcn的专栏 2466

用 CL_SALV_TREE 把层级数据做成一棵会呼吸的 ABAP ALV 树:从类继承扫描到事件交互的完整拆解

本文介绍了SAP ABAP中使用CL_SALV_TREE实现树形ALV报表的方法。该技术将层级数据(如类继承关系)以可展开/折叠的树形结构展示,解决了传统ALV Grid无法直观显示层次结构的问题。核心实现采用"数据表+层级表"分离的设计模式:数据表存储节点业务信息,层级表维护父子关系。通过add_node方法动态构建树形结构,支持设置节点文本、图标和事件。文中提供了完整示例代码,演示了如何递归扫描ABAP类继承关系并构建树形ALV,这种技术特别适用于展示类族谱、权限树等层级数据,能显著

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 214

Matlab安装硬件支持包、simulink离线安装硬件支持包安装,离线安装ESP32、stm32等安装包,Are you up-to-date on SoftWare Maintenance?

注意:如果提示出现“没有可从此位置安装的兼容支持包后,这个问题,请查看步骤5,是不是没有按照步骤5进行操作.一般情况下出现“没有可从此位置安装的兼容支持包”后,重新安装选择了默认路径就可以成功。如果不是很清楚,直接安装在默认的文件夹下面,即使这个文件夹下没有matlab相关的文件夹,也要这么下载,没有为什么,切记尽量按默认路径安装,更改下载的路径不成功,别怪我没提醒。:下载到哪里非常重要,如果下载的不是默认的路径下,就需要将其中这个的是这个archives文件夹,连同其他文件一并要复制出来,拷贝到。

pvmsmfchcs的博客 1754

VS默认模板路径

C:/Program Files/Microsoft Visual Studio .NET 2003/VC#/VC#Wizards/CSharpWebAppWiz/Templates/2052

sharpcn的专栏 2441

Android Telephony主要模块及功能

Telephony的代码主要由五个模块组成 1.Telephony Frameworks 代码区域: frameworks/opt/telephony/ 其中主要的文件在如下目录 /frameworks/opt/telephony/src/java/com/android/internal/telephony/ 其中比较常见的有以下几类文件 1.BaseCommands、RIL构成R

泊客 7742

ASP.NET中发送Email完整实例

本文举例说明在ASP.NET中发送Email的众多可能性,内容覆盖了诸如Email格式、优先权、附件及Email编码等方面。 ASP.NET被赋予了一个发送Email的新对象,名为SmtpMail。使用SmtpMail对象从ASP.NET页面中发送Email时,可以遵循以下简单步骤: 包含与邮件有关类所需要的名称空间; 例示一个信息对象,设置属性; 使用SmtpMail对象实例的send方

sharpcn的专栏 2406

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

UrlRewrite(地址变换)技术在IIS 5.0/ASP平台上面的应用[Come From Tinyfool的开发日记(blog)]

在聊这个技术问题前,我不由得想起一个可笑的故事。NetCraft曾经做了一个测评,这个测评根据比较大量网站页面的扩展名是ASP.NET的还是JSP/Servlet的,得到了一个结论,现在ASP.NET的应用超过了JSP/Servlet。这个测评引发了大量的讨论,很多用JSP的技术人员嘲笑这个测评。因为这个测评的结论忽略了一个很大的问题。那就是,JSP开发的网站的页面,一定是.jsp么?答案当然是否

sharpcn的专栏 2308

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

Sql connection too more!

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

sharpcn的专栏 2153

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

教程下载板块数据层完成!

家园教程下载模块数据层(包括结构设计和存储过程)全部完成!接下来做商业逻辑层,不过要CS一把先。

sharpcn的专栏 2038

Asp.NET常用函数

Asp.NET常用函数 1、DateTime数字型System.DateTimecurrentTime=newSystem.DateTime();1.1取当前年月日时分秒currentTime=System.DateTime.Now;1.2取当前年int年=currentTime.Year;1.3取当前月int月=currentTime.Month;1.4取当前日int日=currentTime.

sharpcn的专栏 1986

独孤求败-程序人生

凌厉刚猛,无坚不摧,弱冠前以之与河朔群雄争锋。紫薇软剑,三十岁前所用,误伤义不祥,乃弃之深谷。重剑无锋,大巧不工,四十岁前恃之横行天下。四十岁后,不滞于物,草木竹石均可为剑。自此精修,渐进于无剑胜有剑之境。            ---独孤求败

sharpcn的专栏 1870

[转载]2004新当选的MVP名单

Ted Teng 陈良乔 陈锐 陈秀峰 高翅 顾炳中 顾先强 郭安定 郭红俊 韩睿 胡浩 华宏罡 黄际洲 黄捷 霍海峰 蒋焱 柯化成 黎素明 李权 梁振 刘漠雨 刘巍 陆其明 吕科 马宁 彭进 沈荣 沈贤义 施凡 谭永红 汤建军 田洪 王莼栋 王卫华 王晓罡 王兴明 王志刚 闻怡洋 薛君敖 薛向华 杨大川 杨永刚 杨永智 杨云 臧铁军 曾毅 张川波 张洪举 张康宗 张志 郑家龙 钟世亮 周庆麟 周

sharpcn的专栏 1861

DataGrid删除对话框 & 限制编辑模试TextBox长度[http://www.cnblogs.com/matrix/]

private void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)  {     ////进入编辑模试限制TextBox的width////      e.Item.Cells[4].Attributes.Add("onClick","return confir

sharpcn的专栏 1696

在DataGrid中对内容的截取[Come From WindowsBoy]

在使用DataGrid时经常遇到单元格中的内容过长而导致文本的换行,这样使本来简洁的页面看上去非常乱。下面的方法可以解决这个问题。当单元格的内容超出指定的长度后,截去多余的字,然后在鼠标停留在某个单元格上时,就显示全部的内容。此方法有个缺点:每个单位格都是指定长度的。  //某个datagrid的ItemDataBound事件。  //上半部分设置鼠标悬停时的背景色  //下半部分才起作用  pu

sharpcn的专栏 1655

从 ASP.NET 服务器控件插入客户端脚本

从 ASP.NET 服务器控件插入客户端脚本 Scott Mitchell2003 年 8 月适用于:    Microsoft® ASP.NET前提条件:本文假设读者熟悉 ASP.NET。难度: 2摘要:尽管从技术角度讲,ASP.NET 服务器控件的所有功能都可以在服务器端执行,但通常情况下通过添加客户端脚本可以大大增强服务器控件的可用性。本文将探讨服务器控件发送客户端脚

sharpcn的专栏 1651

软件下载模块(alpha)已经完成!

由于近期周转于软件组OA项目和家园改版之间,时间显得非常紧张,常常是做完一个项目的某个小模块,另一方便要添加另一个模块了。幸好OA的四个模块已经完成,现在家园的软件模块(alpha)也已完成。今天周一,还有两个模块要做。加油!

sharpcn的专栏 1588

教程下载(Alpha)整体完成!

家园教程下载 Alpha 整体完成!进入 Blog 整合阶段!

sharpcn的专栏 1547

CSS 颜色 #abc 和 #aabbcc,为什么表示同一种颜色?

输入 #abc 核对颜色转换结果,再用浏览器比较 #abc、#aabbcc 和 #000abc:简写是逐位重复,不能整串补零。附三位 HEX、HSL 取整与实际视觉验收的边界。

qq_17765433的博客 229
上一篇: 未将对象引用到实例
下一篇: 如何用正确的方法来写出质量好的软件的75条体会[转贴]
sharpcn
博客等级 码龄22年 4粉丝 42原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址