如何使用我的自定义代码加载局部视图? [英] how load partial view with my custom code ?

查看:52
本文介绍了如何使用我的自定义代码加载局部视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




i希望在图片库模块的编辑器中添加我的代码

像{imagegallery id = 2}。



当加载网站用图片库部分视图替换它时id = 2



像joomla管理员部分,当你想要添加新内容时你可以添加phocagallery代码到编辑器

{phocagallery view = category | categoryid = 3 | imageid = 5}



和自动generateiamgegallery content

Hi
i want add my code in editor for image gallery module
like {imagegallery id=2} .

and when load site replace it with image gallery partial view with id =2

like joomla administrator section, when you want add new content you can add phocagallery code to editor
{phocagallery view=category|categoryid=3|imageid=5}

and automatic generateiamgegallery on the content

推荐答案

这篇关于如何使用我的自定义代码加载局部视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆