Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
side panel not display in custom page
Cristina
New
im using custom page plugin. i created a new custom page. but side panel is not display. please help me.
0
Answers
please .. help me.
inside your page.
grep is your friend.
can you give me the steps please. it will be big help.
step 1. add those three lines to your page code.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
only display this code.
$this->AddModule('SignInModule'); $this->AddModule('GuestModule'); $this->AddModule('CategoriesModule');
and i have a proble. in custom page plugin have a 2 default.php files
1. plugine/customepage/defalt.php 2. plugine/customepage/page/defalt.php
i copy the 2nd defalt php and past it. after that i rename the copy "contact.php". now i clear the all php code of ne contact.php. it is empty now. then i enter code that you given to me. but only display the code.
<?php if (!defined('APPLICATION')) exit(); $this->AddModule('SignInModule'); $this->AddModule('GuestModule'); $this->AddModule('CategoriesModule'); ?>
when i try this code, PAGE BONK
i have a php file, inside the pages directory on my server that includes only the lines above. i do not get any errors.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
if entering that code, and that code only into a new php file in the pages directory yield a 'bonk' situation you will need to enable debugging and post your error here.
I'm sure the warning below is not needed for you, but I'll include it just for posterity sake.
---====DO NOT EDIT THE DEFAULT.PHP IN THE CUSTOMPAGES DIRECTORY ====---
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
oh no. only see BONK page. i already active the debug plugin. when i go to the url its BONK. plz plz plz. how can i fix it.
what is the url?
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
debug isnt a plugin... just set the environment variable
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
copy of default page = try.php
http://linuxtalk.sinlix.com/index.php?p=/plugin/page/try
copy of try.php with your code
http://linuxtalk.sinlix.com/index.php?p=/plugin/page/try2
The server should not display bonk if you have
$Configuration['Garden']['Debug'] = TRUE;
in your config file. please verify.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
Try creating a page called empty.php and include within it only
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
http://linuxtalk.sinlix.com/index.php?p=/plugin/page/empty
ok the ??
ok, so that looks fine. the panel div is being rendered.
you still are showing bonk on the other page. did you verify that
$Configuration['Garden']['Debug'] = TRUE;
is in your config.php?
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
Add .php to end of file.
There was an error rendering this rich post.
do you mean in the url, or are you suggesting that the file on the filesystem is without an extension?
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
ok i added $Configuration['Garden']['Debug'] = TRUE; in the config.php. what is the next step ??
In her url , her htaccess is rewriting check with and without.
There was an error rendering this rich post.