just use it anywhere in your custom page. will add that module to the page. if it works. cant try it right now. can try it tomorrow if u can wait till then :D
Theme Charcha for great desktop and mobile experience! - drop me a message :)
will cause the Categories list to display on a custom page in the panel.
@Chanux if you want custom content in the panel, you will have to write a custom plugin as a module. Look at other plugins that create modules for guidelines.
Could not find a categories view for the CategoriesModule module in the dashboard application.
The error occurred on or near: C:\wamp\www\pinoyau.info\library\core\class.module.php
so i had to tap on the code and add below in library/core/class.module.php line 170
$ViewPaths[] = CombinePaths(array(PATH_APPLICATIONS, 'vanilla', 'views', 'modules', $View . '.php'));
tried assigning the path to method FetchViewLocation but still doesnt work, the FetchViewLocation method being called is from class class.controller.php not from the class.module.php.
@hbf nope have debug turned off, no other error even if it's turned on. unless i add the $this->AddModule('CategoriesModule'); getting the said error above.
yes mine also sits on a linux box (LAMP).
Many thanks hbf, I really appreciate your effort helping us with this kind of matter :)
Aolee said:
Many thanks hbf, I really appreciate your effort helping us with this kind of matter :)
and, you're welcome of course. I'm just learning the framework myself so I don't have a ton of answers, but I like to try where I can. I'm finding that this framework is pretty easy to work with.
hbf said:
if you're on a Linux LAMP server this line from your error message is perplexing
The error occurred on or near: C:\wamp\www\pinoyau.info\library\core\class.module.php
That looks like a windows WAMP install path to me.
ah for that one, tried it both in my linux hosting and also in local dev (WAMP) but getting the same error. i have the gutsy feeling a custom made plugin is causing the OOP relation to break. will try it in a freshly installed vanilla .
Could not find a categories view for the CategoriesModule module in the dashboard application. The error occurred on or near: C:\wamp\www\pinoyau.info\library\core\class.module.php
copy categories.php from application/vanilla/views/modules to YOURTHEME/views/modules
Answers
I need an answer as well. How can I get categories for a side panel within custom pages?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Would appreciate an assist with this too, please. And thank you.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •AfaIk in the default.master.php it is this line that calls it :
<div id="Panel"><?php $this->RenderAsset('Panel'); ?></div>So I guess that, or some version of it, might do the trick.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@whu606 no.. its not working :(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •did you try AddModule function?
$Sender->AddModule('SignInModule'); $Sender->AddModule('GuestModule'); ?????
Theme Charcha for great desktop and mobile experience! - drop me a message :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@sahotataran steps please
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •just use it anywhere in your custom page. will add that module to the page. if it works. cant try it right now. can try it tomorrow if u can wait till then :D
Theme Charcha for great desktop and mobile experience! - drop me a message :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •i just ran a test... it works
$this->AddModule('CategoriesModule');
will cause the Categories list to display on a custom page in the panel.
@Chanux if you want custom content in the panel, you will have to write a custom plugin as a module. Look at other plugins that create modules for guidelines.
test page
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •please give me the code that insert to the custom page
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •the code is
$this->AddModule('CategoriesModule');
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Where do I put this code in the custom page? The only php I have on that page is: <?php if (!defined('APPLICATION')) exit(); ?>
Do I put it here: <?php if (!defined('APPLICATION')) exit(); $this->AddModule('CategoriesModule'); ?>
I tried that and I got bonked.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •i use
$this->AddModule('CategoriesModule'); $this->AddModule('SignedInModule');
and works for me
Theme Charcha for great desktop and mobile experience! - drop me a message :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •doest work for me,
getting this error
Could not find a
categoriesview for theCategoriesModulemodule in thedashboardapplication. The error occurred on or near: C:\wamp\www\pinoyau.info\library\core\class.module.phpso i had to tap on the code and add below in library/core/class.module.php line 170
$ViewPaths[] = CombinePaths(array(PATH_APPLICATIONS, 'vanilla', 'views', 'modules', $View . '.php'));tried assigning the path to method FetchViewLocation but still doesnt work, the FetchViewLocation method being called is from class class.controller.php not from the class.module.php.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •interesting. i just ran the most basic test i could think of and it works.
here is the page in action.
http://homebrewforums.net/plugin/page/blankcat
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@hbf did the same thing, could there be conflicting plugin on my end?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@aolee im not sure what could create a conflict. do you have debugging turned on for your site? want to post a link?
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •the only immediate thing i can say is, my test is being run on an apache, not wamp server... don't know if that has anything to do with it.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@hbf nope have debug turned off, no other error even if it's turned on. unless i add the
$this->AddModule('CategoriesModule');getting the said error above.yes mine also sits on a linux box (LAMP).
Many thanks hbf, I really appreciate your effort helping us with this kind of matter :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •if you're on a Linux LAMP server this line from your error message is perplexing
The error occurred on or near: C:\wamp\www\pinoyau.info\library\core\class.module.php
That looks like a windows WAMP install path to me.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •and, you're welcome of course. I'm just learning the framework myself so I don't have a ton of answers, but I like to try where I can. I'm finding that this framework is pretty easy to work with.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
2 • Off Topic Insightful 2Awesome LOL •ah for that one, tried it both in my linux hosting and also in local dev (WAMP) but getting the same error. i have the gutsy feeling a custom made plugin is causing the OOP relation to break. will try it in a freshly installed vanilla .
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Let me know how it goes.
I've tried the above and I just get bonked lol.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Could be the theme rather than the plug in.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •can you check what error you r getting @newbie rather than saying its bonk - then can try to help out with it.
Theme Charcha for great desktop and mobile experience! - drop me a message :)
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •enable the debug to TRUE then paste here the error. or screenshot
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •may be late, but i say, to avoid this error
Could not find a categories view for the CategoriesModule module in the dashboard application. The error occurred on or near: C:\wamp\www\pinoyau.info\library\core\class.module.php
copy categories.php from application/vanilla/views/modules to YOURTHEME/views/modules
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •