Natsu Dragneel Posted October 24, 2012 Posted October 24, 2012 (edited) I downloaded this addons by calcium kid http://rathena.org/b...x-cp-cms-addon/ I want to edit the news but I dont know where can I edit the news page and put some news. How can I edit the page not found and the page you requested blah blah.... to my own sentences. thank you! here's the ss: Edited October 24, 2012 by Natsu Dragneel
Bin4ry Posted October 24, 2012 Posted October 24, 2012 After you add the entry in \addons\content_management\config\addon.php Did you add the entry to http://127.0.0.1/cp/?module=pages&action=add (Change the URL)
Natsu Dragneel Posted October 24, 2012 Author Posted October 24, 2012 (edited) I can't understand where will I insert my news. Here's my addon.php <?php /*------------------------------------- // Created by: Harrison aka CalciumKid --------------------------------------- // Released Exclusively for the RAthena // development boards. Please do not // redistribute my work without // permission and leave all credits in // tact. --------------------------------------- // !!!THIS WORK IS COPYRIGHTED!!! // Contact: [email protected] -------------------------------------*/ return array( // Defines how many news items to show on home page. 'LimitNews' => 2, // - Menu and sub-menu items. (displayed on left nav & content sub menu) 'MenuItems' => array( 'Main Menu' => array( // Sample items for pages function. 'Downloads' => array('exturl' => 'http://www.mediafire.com/?38xb13tfsf83ge887'), 'Rules' => array('module' => 'pages','action'=>'content&path=rules'), 'Features' => array('module' => 'pages','action'=>'content&path=features'), ), 'Content Management' => array( 'News' => array('module' => 'news'), 'Pages' => array('module' => 'pages'), ) ), 'SubMenuItems' => array( 'pages' => array( 'index' => 'Manage', 'add' => 'Add' ), 'news' => array( 'index' => 'Manage', 'add' => 'Add News', ), ), // Do not touch this. 'FluxTables' => array( 'NewsTable' => 'cp_news', 'PagesTable' => 'cp_pages', ) ) ?> Edited October 24, 2012 by Natsu Dragneel
Bin4ry Posted October 24, 2012 Posted October 24, 2012 For news you don't have to touch the .php, just add news entry from ur CP. Also, did you apply those SQL files under \addons\content_management\schemas\logindb? 1
Natsu Dragneel Posted October 24, 2012 Author Posted October 24, 2012 (edited) I did not apply yet! so i need to execute them in my sql? Edited October 24, 2012 by Natsu Dragneel
Natsu Dragneel Posted October 24, 2012 Author Posted October 24, 2012 I can't figure out on how to add news. As I read the instructions by calcium kid in his post you need to log in 99 gm account in control panel then you can edit the news page in control. Am I right?
Bin4ry Posted October 24, 2012 Posted October 24, 2012 If you want to edit Add News permission, edit from \addons\content_management\config\access.php 1
Natsu Dragneel Posted October 25, 2012 Author Posted October 25, 2012 this is my access.php, I already tried to edit my news in my webpage using a 99 admin account but I don't know how to. I already tried to edit in mysql the schemas you said that need to execute but this always appear. This is the SS of my CP and this is my access.php <?php /*------------------------------------- // Created by: Harrison aka CalciumKid --------------------------------------- // Released Exclusively for the RAthena // development boards. Please do not // redistribute my work without // permission and leave all credits in // tact. --------------------------------------- // !!!THIS WORK IS COPYRIGHTED!!! // Contact: [email protected] -------------------------------------*/ return array( 'modules' => array( 'pages' => array( // Pages are available to anyone on the site. // Page management is only available to ADMINs 'index' => AccountLevel::ADMIN, 'add' => AccountLevel::ADMIN, 'delete' => AccountLevel::ADMIN, 'edit' => AccountLevel::ADMIN, 'content' => AccountLevel::ANYONE, ), 'news' => array( // News is available to anyone on the site. // News management is only available to ADMINs 'index' => AccountLevel::ADMIN, 'add' => AccountLevel::ADMIN, 'edit' => AccountLevel::ADMIN, 'delete' => AccountLevel::ADMIN, 'views' => AccountLevel::ANYONE, ), ), ) ?>
Jupeto Posted October 25, 2012 Posted October 25, 2012 I haven't read this whole thread yet but as to what I see in your screenshot is that maybe you don't have a theme in your cms add-on themes folder called designno3. Try to copy the default folder in your cms add-on themes folder and rename it to designno3. By doing so, you must now have 2 themes in your cms add-on themes foldeer, the default and designno3 folder. for every add-on you install, the themes folder must sync in your add-on themes folder... Hope you understand my english LOL 1
Natsu Dragneel Posted October 25, 2012 Author Posted October 25, 2012 Thank you Jupeto I can Edit my news page now. Thank you also darristan!
pandaplaygames Posted November 1, 2012 Posted November 1, 2012 Different problem. I put this <?php if (!defined('FLUX_ROOT')) exit; $this->redirect($this->url('news','view')) ?> in the index, the whole website doesn't even load and I get stuck @ 500 internal server error. anyhelp?
Bradium Posted May 5, 2013 Posted May 5, 2013 The script is from Jing Cleoville i believe, was ripped by calciumkid :-)
Question
Natsu Dragneel
I downloaded this addons by calcium kid http://rathena.org/b...x-cp-cms-addon/
I want to edit the news but I dont know where can I edit the news page and put some news.
How can I edit the page not found and the page you requested blah blah.... to my own sentences.
thank you!
here's the ss:

Edited by Natsu Dragneel12 answers to this question
Recommended Posts