Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Uzantılar / Navigasyon Yapısı / pagetextbyidn

{PAGE_TEXT_BY_XX} tag

This plugin allows tag {PAGE_TEXT_BY_XX} where XX is id of page.
Tag outputs page_text of selected page with link to edit, visible only for admins . It may be useful for place customisable blocks of content on your site - various descriptions for users, welcome text on index.

Tag works on these tpl files:
header.tpl
index.tpl
footer.tpl
page.*.tpl
page.add.*.tpl
page.edit.*.tpl
list.*.tpl
forums.posts.tpl
forums.newtopic.tpl
forums.sections.tpl
forums.topics.tpl
pm.tpl
polls.tpl
users.profile.tpl
users.auth.tpl
users.details.tpl
users.tpl
users.register.tpl
 

#1. Installation

Put "pagetextbyidn" into your plugin folder.
Go to Admin => Plugins => {PAGE_TEXT_ID_XX} tag and install the plugin.
Create pages with content and add tag in necessary tpl.


1. justice  2009-05-28 02:32

Thanks: 0

Проблема в работе плагина:

На страницах, содержащих id , созданных пользователем, например: /page.php?id=2
высвечивается в верху ошибка:

file_get_content() [function.file-get-contents]:Filename cannot be empty mysite/plugins/pagetextbyidn/inc/pagetextbyidn.code.php on line4
2. tensh  2011-10-27 16:54

Thanks: 0

Please fix the plugin download path :(

3. ez  2011-10-29 09:30

Thanks: 0

Cannot download :(

I found a version, not sure that it is the latest /datas/users/cot_pagetextbyidn-894_494.zip

4. GHengeveld  2012-05-07 22:17

Thanks: 0

There is an issue with this plugin when using the tag multiple times in the same tpl file, as reported here.

To fix it, replace inc/pagetextbyidn.code.php with the code available here.

Toplam: 4, on page: 4

Sadece kayıtlı kullanıcılar yeni yorum yapabilir.