| |
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا|
#1
| ||
| ||
| Trying to add some options to the options on the right side on the page where you create articles.. usually i would just use hook, but theres none. so trying via the cache.. I tryed using the classic str_replace which usually works, but suspecting its becourse the template i was adding to is working as a variable.. but then the options panel just renders blank... Now i tryed craeting a "replica" menu and want to add it above the publishing options, created a template and trying to render it, but nada, it does not show.. . plugin i use to change with Hook location : process_templates_complete PHP Code: $templater = vB_Template::create('excs_article_option'); $elock = $templater->render(); $oldtemplate = $vbulletin->templatecache['vbcms_edit_publisher']; $newtemplate = null; $newtemplate = $elock . '' . $oldtemplate; $vbulletin->templatecache['vbcms_edit_publisher'] = $newtemplate; basicly the template is just a bunch of div tags, like the original article publising options.. PHP Code: Evisystems Cross site content share Enabel export ? {vb:rawphrase yes} {vb:rawphrase no} open to suggestions __DEFINE_LIKE_SHARE__ |
| مواقع النشر (المفضلة) |
| |