获取Joomla中刚刚创建的文章的SEF URL [英] Get the SEF URLs for just created article in Joomla

查看:86
本文介绍了获取Joomla中刚刚创建的文章的SEF URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在管理面板中创建新的内容项目时,我想立即知道该项目的sef url.是否可以使用php代码?

When I create new content item in admin panel I want to know immediately sef url for this item. Is this possible using php code?

推荐答案

谈到核心内容管理器,您无法做到这一点.原因,直到没有保存该项目,它才不会进入数据库,并且没有ID.您可能会尝试通过ajax自动保存和检索数据,但这与裸功能大不相同.

Speaking about core content manager you not could not do this. Reason, until the item is't saved it is not into the database, and there is no id for it. You may play around with auto-saving and retrieving data by ajax, but it is much different from the bare functionality.

这篇关于获取Joomla中刚刚创建的文章的SEF URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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