自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

zhuameng.com的博客

记录下来别忘了

  • 博客(150)
  • 资源 (16)
  • 收藏
  • 关注

原创 Joomla中的l路由控制

组件访问地址除了菜单项中设置地址外,组件的访问方式还有:index.php?option=com_name&view=v&layout=l&task=display/compnet/com_name?view=v&layout=l&task=display各参数的默认值view参数模式是和组件同名,或者在controller中defa...

2019-12-25 16:24:03 378

原创 joomla经常用到的一些全局函数手册

$doc = JFactory::getDocument(); 返回JDocument实例。$app = JFactory::getApplication(); 返回JApplicationCms实例。$url = JUri::getInstance()->toString(); 获取当前的网址。$user = JFactory::getUser(); 返回JUser实...

2019-12-25 16:20:05 329

原创 如何重命名一个joomla模板

Joomla! 3.6之后不能简单的将模板文件夹改个名就重命名模板了。因为3.6之后模板是当做extension来对待的,所以名字的信息存储在三个地方:模板文件、语言文件和数据库。安装前改模板文件夹名;templateDetails.xml 文件中:<name></name>标签中改过来,<description>标签可改可不改,<la...

2019-12-25 16:03:16 202

原创 信息系统项目管理师(高项)备考总结

投入和成绩今年的软考,11月9号考试,12月16日出成绩。据说这次考试参考人数比往年多了50%,不过出成绩的时间并不比往年晚多少。考试越来越正规了。三门课程分别考了57,49,49。虽说是一个月后才出合格标准,但应该是45分了,这么多年几乎没有不是45分的时候。投入包括:教材:137.22报网络辅导班:150辅导班教材题目书:110作文纸:27真题试卷电子版:10另一本辅导书:...

2019-12-18 15:30:05 2301

原创 docker 搭建 LNMP + FTP 环境

需求搭建个 LNMP 网站环境,想达到以下目的:一键安装,不要一个个的安装nginx,php,mysql,然后再手动连接起来;方便升级和切换不同的版本最好不污染安装环境我了解的,有三个解决方式:shell脚本,比如lnmp.org。各种面板,国外的cPanel,收费;国内的宝塔面板docker。最终选择了docker。docker使用起来一点也不复杂,laradock.i...

2019-12-04 15:33:16 308

原创 Joomla 表格扩展 Fabrik 列表视图模板

&lt;tr id="&lt;?php echo $this-&gt;_row-&gt;id;?&gt;" class="&lt;?php echo $this-&gt;_row-&gt;class;?&gt;"&gt; &lt;?php foreach ($this-&gt;headings as $heading =&gt; $label) { $styl

2019-01-25 09:23:06 450

翻译 ch0501内容插件Content Plugin1:事件和参数——Joomla插件开发

前四章建立了一个基本的内容插件。但是内容插件实际是什么,如何写一个真正声明周期的内容插件。这章将讨论内容插件的通用用法和可用事件。引言Joomla是个CMS系统,所有的都是content。内容插件可以做很多事,文章要被创建在存进数据库前可以进行修改,文章在数据库中被调用,在展示前也可以修改。甚至可以修改文章的编辑框。当我们讨论Joomla的内容时,首先想到的是文章。但是,内容包括更多的东...

2018-12-11 14:31:04 220

原创 ch09搜索插件01:用户插件事件——Joomla插件开发

处理内容的大部分组件都需要提供搜索功能。搜索插件因此是Joomla中最通用的插件之一。本章包含如何写一个Search 插件和Smart Search 插件。也讲述了额外的搜索机制,比如Solor和Sphinx。简言之,包含所有需要知道的Joomla中的关于搜索的部分。解释下一般搜索和Smart搜索常规的搜索,是Joomla在Mombo时期就有的搜索功能。Smart 搜索是一个新的搜索机制,...

2018-12-11 14:17:55 193

翻译 ch08用户插件02:用户插件事件——Joomla插件开发

用户插件事件用户插件的事件实在太多啦,按功能分为以下几组用来存储和删除用户记录的:onUserBeforeSaveonUserAfterSaveonUserBeforeDeleteonUserAfterDelete用来处理用户组的增加和删除的:onUserAfterSaveGrouponUserBeforeSaveGrouponUserBeforeDeleteGroupon...

2018-11-05 16:22:42 131

翻译 ch08用户插件01:系统自带的用户插件——Joomla插件开发

当用户登录登出,当用户资料改变,用户插件就被调用了。用户插件可以用来扩展用户资料,允许远程同步用户资料。本章将浏览这个插件组的事件,并且写几个有用的例子如何开发自己的用户插件。Joomla自带的用户插件有三个Joomla系统自带的用户插件,User - Joomla, User - Profle andUser - Contact Creator,其中User - Joomla最重要。这...

2018-11-05 16:04:19 211

翻译 ch12Joomla的结构——Joomla插件开发

Joomla的启动过程当使用Joomla来生成一个页面时,有许多不同的步骤来到达最终的结果:发送HTML页面到浏览器。这些步骤被称为启动bootstrap。注意不是那个前端框架Twitter Bootstrap。启动Joomla——InitialiseJoomla启动CMS的第一步是在defines.php中定义需要包含的PHP文件。之后,Joomla就可以载入各种类库了。configura...

2018-11-02 17:24:11 212

翻译 ch04插件参数——Joomla插件开发

使用参数Joomla在很多地方可以设置很多参数。每个扩展,都可以添加自己的参数或选项。参数可以设置基本参数,比如,如果一个插件自动纠错,应该添加一些参数,让管理员设置纠错如何执行。要不要自动把首字母大写?要不要删除段首的空格?通过添加参数可以做到这些。在XML中定义参数在XML配置文件中,参数通过&amp;amp;amp;amp;amp;amp;amp;amp;lt;config&amp;amp;amp;amp;amp;amp;amp;amp;gt;标签来添加。为插件添加参数

2018-10-12 12:01:46 228

翻译 ch03XML配置文件的写法——Joomla插件开发

Extension标签xml文件以开头,表明这是一个Joomla扩展。有四种不同的类型:components, modules, plugins, templates。因此,需要制定type属性。&amp;lt;extension type=″component″&amp;gt;对于插件,还需要指定插件类别,因为这决定了插件安装在哪个目录。&amp;lt;extension type=″plugin″ grou...

2018-10-10 17:26:31 313

翻译 ch02插件的基本组成部分——Joomla插件开发

开始编写一个内容插件,名字叫 Chapter 02 Test 01(插件文件名ch02test01)。先不考虑功能,先把框架安装上。不是创建安装包然后安装,这次直接在Joomla中创建文件,然后通过Discove来安装。首先创建目录:plugins/content/ch02test01添加两个文件:ch02test01.php和ch02test01.xml命名规则插件名:ch02test...

2018-10-09 17:35:36 251

翻译 ch01Joomla插件简介——Joomla插件开发

什么是插件组件和模块非常容易解释,能够直接输出内容。插件却是各色各样的。每个插件都有自己的用途。插件被分成:插件组,或者成伟插件类型。按类型理解插件就较为容易了。Joomla核心中的插件类型Joomla核心包括12个类型的50个插件。内容插件。更改内容的,在第5章系统插件。在第6章认证插件。用户登录认证。在第7章2要素认证插件。除了常规认证外的其他额外认证。在第7章用户插件。当...

2018-10-08 17:29:59 600

原创 centos7下安装scrapy

centos7下安装scrapy1.centos下安装的开发工具包[root@localhost ~]# yum groupinstall development[root@localhost ~]# yum install libffi-devel python-devel openssl-devel libxslt-devel2.安装pip 首先安装新的yum软件源,ce...

2018-06-06 14:23:38 4352 2

原创 远程桌面无法访问

问题发现昨天下午忽然发现远程桌面连接不上了,服务器又挂了,赶紧登陆远程连接重启下!上午来了一直找原因。 阿里云的工单系统提供的帮助很详细:【阿里云】无法连接 Windows 实例远程桌面挨个查找,除了有些不适用winserver2012外,其他都没问题查端口:netstat -ano,3389正常监听。最后给信息中心一打电话才知道:因为安全问题出网的3389端口都封了。那好吧...

2018-02-28 10:19:50 1280

翻译 Joomla如何使用状态变量

How to use user state variablesWhy should I use the Joomla! User State Variables?Joomla!'s built in session handling capabilities make it easy to retain values of certain variables acros

2017-04-20 10:51:58 571

原创 Joomla!中的controller

public function getModel($name = 'HelloWorld', $prefix = 'HelloWorldModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; }JCo

2017-03-16 15:00:57 356

翻译 joomla!的controller竟然有两类

IntroductionIn Joomla! 2.5 and 3.x, lots of MVC improvements were added. These improvements make a developer's task easier. In Joomla! 1.5, there is only one Controller class named JController. In

2017-03-16 14:23:55 2308

翻译 自定义 RokSprocket 主题

Layout ThemesLayout themes allow for RokSprocket to have some variance of styling for each layout mode. For example, theFeatures layout mode has three built-in themes (Slideshow, Slideshow2, and S

2016-11-21 16:26:14 547

翻译 Hit Tracking Not Working when Joomla’s Caching Is Enabled: How to Solve

Joomla’s issues caused by caching are many, but one of these issues is extremely annoying and we are surprised how the Joomla development team hasn’t come up with a solid solution to it yet. In case

2016-08-10 15:56:32 502

原创 Joomla升级到3.5后,k2后台设置参数出错的问题

Joomla升级到3.5后,K2的后台选项总是会报个警告,如下:Strict standards: Declaration of K2Element::render() should be compatible with JFormField::render($layoutId, $data = Array) in E:\xampp\htdocs\nslocal\administrator\c

2016-04-20 16:55:28 1565

原创 如何移除Joomla自带的js和link文件

Joomla的模板很不干净,自到好几个js文件,还加了好几个link,这些完全不符合国情,如何去掉?获取和修改这些信息的文件在:\libraries\joomla\document\html\html.php 中的 JDocumentHTML通过getHeadData获取信息,通过setHeadData设置信息但是,setHeadData的输入值是空时,就不改变值,所以,不能用

2016-04-18 15:42:13 968

原创 t3-framework的thememagic能改变那些东西?

@font-size-base: 14px;  @font-family-base: sans-serif;@brand-primary: @blue;@body-bg: #fff;@text-color: @gray-dark;@headings-color: @gray-darker;@link-color: @brand-primary;@border-radiu

2016-04-18 11:06:40 600

原创 xmapp 的apache mpm

xmapp 的apache mpm用的是winnt那个

2016-04-14 13:55:32 376

原创 修复K2_user的重定向URL不起作用

K2 user 模块的登录和退出URL不起作用查源头,K2_user 用的还是 com_users 的 user.login 控制器,return用的的base64_encode,也正确的传进去了,为啥不起作用?原因,在控制器中,判断地址为非内部地址,直接赋空值,然后赋默认值了 // Don't redirect to an external URL. if (!

2016-03-25 21:15:10 1339

原创 如何手动更新Joomla!

Joomla!的更新国内就是下不下来,不知道被啥墙了,就是没速度。但是老是不更新也不行啊。怎么办?手动更新1、首先去Joomla!的github的网站上去下源码,https://github.com/joomla/joomla-cms/,选择tag中比较稳定的版本,下载;2、下载下来后去掉不用的目录和文件,.git,install,build,等,复制覆盖原来的Joomla目录;

2016-03-25 18:38:52 1083

原创 Joomla K2获取目录或项目的地址

使用的类是:JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php'种的K2HelperRoute获取目录地址JRoute::_(K2HelperRoute::getCategoryRoute($cid))其他递推

2016-02-05 15:56:46 848

原创 xampp中production的php.ini与默认的有何不同

1、serialize_precision = 100   =>  17将浮点型和双精度型数据序列化存储时的精度(有效位数)。默认值能够确保浮点型数据被解序列化程序解码时不会丢失数据2、error_reporting = E_ALL | E_STRICT  =>   E_ALL & ~E_DEPRECATED & ~E_STRICT报错级别不同3、display

2016-01-22 10:13:54 533

原创 Joomla!上传中文文件

国外的CMS系统一大问题就是上传中文附件。要么不支持上传,要么传上去不支持链接。Joomla使用jce可以解决这个问题。通过jce上传文件时,自动重命名,去掉中文即可。在Joomla\components\com_jce\editor\libraries\classes\browser.php中,将upload函数中$name 重命名。 /**

2016-01-04 10:18:00 1597

翻译 How is current FC menu item decided & selected ?

The order in which Joomla menu items are selected and activated isfor item view:1. menu item pointing to current FC item 2. menu item pointing to current (set in URL) category of FC item3. m

2015-12-25 15:36:32 425

翻译 How to create a customized field value by executing PHP code

This is an example of how to create a new field type that automatically creates a customized field value by executing PHP codeduplicate text field to create a new field type"text" field as type

2015-12-25 15:33:14 387

翻译 How to generate FLEXIcontent SEF URLs in custom code

function getItemRoute($id, $catid = 0, $Itemid = 0, $item = null)function getCategoryRoute($catid, $Itemid = 0, $urlvars = array())Above are the functions signatures that create the FLEXIcontent

2015-12-25 15:31:40 422

翻译 Password protecting your Joomla administrator folder for FLEXIcontent

You may want to protect your joomla administrator folder via a password to make your site security more tightCreate your .htaccess  & . htpasswd files... or use a tool to create these like Admin

2015-12-25 15:26:29 746

翻译 How can i batch copy/process categories

Go to Joomla plugin manager and filter by "System" Type, click to edit plugin:FLEXIcontent - Systemedit parameter:Exclude from category redirection (BACKEND Only)and select "Super

2015-12-25 15:16:18 474

翻译 Can I change the order of items in category views?

Of course it is ;-)By default the order is disabled. To enable it simply click on the "Order" word. This will enable the move option as well as the save order function.Don't forget that FLEX

2015-12-25 15:14:22 459

翻译 How to move items to another category

The action to move items only is a little tricky as the term I've choosen (secondary categories) is not accurate. I should be called in fact "All categories" because it includes the primary category a

2015-12-25 15:08:27 447

翻译 How to use an FC category as Homepage / Frontpage

It is possible to create a FLEXIcontent category to replace the frontpage (com_frontpage).Like this:Create a category e.g. called "Frontpage Items".Go the the (SYSTEM) FLEXIcontent advanced ro

2015-12-25 15:04:07 488

翻译 How to display fields in the frontend item view

Every item has a Content Type e.g. article, hotel, carNormally every item will use the (item layout) of the template defined at Content Type configuration.To display your fields in frontend it

2015-12-25 15:01:43 382

Joomla插件编程指南

推荐个好书,Joomla插件的。而且很新。不只是将插件,通过插件了解整个Joomla系统。非常好。

2019-03-25

Joomla Joomlart sociall II 模板

Joomla Joomlart sociall II 的模板。虽说主打特点是社交,但是也可以用于K2博客。全站响应式,基于T3 框架

2019-02-22

Joomla!基本组件开发

https://docs.joomla.org/Developing_a_MVC_Component 这个教程的附件,joomla!MVC组件开发过程 可以当做开发组件的开始

2015-06-24

bluewhale admin 后台管理系统

bluewhale admin 后台管理系统,整站下载下来,去除所有无用的标签。bluewhale admin 采用了jQuery UI,和Jquery dataTables,好扩展

2014-07-04

SanDisk RescuePRO Deluxe v4.5.0.10绿色版

用来修复相机卡在电脑中无法显示照片,但在相机中可以看到照片的问题,找回误删除的照片

2014-07-04

wordpress主题制作教程

wordpress主题制作从零开始,包括主题的源码

2012-09-17

vc++ gdi+的库文件和文档

vc++ gdi+的库文件和文档。花了好多积分才下全的

2012-05-28

带SetDefaultPrinter的winspool头文件和库文件

带SetDefaultPrinter的winspool头文件和库文件,覆盖原来的winspool.h和winspool.lib即可。

2012-05-25

VC++打印编程+源码+阅读器.rar

VC++打印编程+源码+阅读器。学习VC++打印的好东西。

2012-05-22

虚拟打印机相关论文

虚拟打印机的相关论文,有了它再读DDK的文档就能都进去了.尤以《开放式虚拟打印系统设计与实现》这篇最好

2012-05-17

虚拟打印机ImagePrinter和开发工具Dev C++

虚拟打印机ImagePrinter在通过Port Monitor截获打印数据流,其开发工具用的是Dev C++。 参考资料:http://blog.csdn.net/masofeng/article/details/7572036

2012-05-17

直接打印Raw文件

虚拟打印机开发时可以在端口截获raw文件; 然后可以将raw文件打印至其他打印机。 SDK函数的调用序列为: OpenPrinter--&gt;StartDocPrinter--&gt;StartPagePrinter--&gt;WritePrinter--&gt;EndPagePrinter--&gt;EndDocPrinter--&gt;ClosePrinter。 参考资料:http://blog.csdn.net/masofeng/article/details/7575050

2012-05-17

Android Query 文档

Android Query 离线文档。 Android-Query (AQuery) is a light-weight library for doing asynchronous tasks and manipulating UI elements in Android 。 一个轻量级的库,可以执行异步任务和操作UI。 如果你知道,你就知道。收3分一点都不贵。

2012-04-20

vc++多线程编程实例

vc++多线程编程实例, http://blog.csdn.net/masofeng/article/details/7340179

2012-03-10

Android apk反编译工具:apktool,dex2jar,jg-gui

Android apk反编译工具,包括得到资源文件的apktool,和得到java文件的dex2jar,jg-gui

2011-09-09

Android apk反编译:apktool,dex2jar,jg-gui

Android apk反编译工具,包括得到java文件的dex2jar、jg-gui和得到资源文件的apktool,http://blog.csdn.net/masofeng/article/details/6764831

2011-09-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除