Natsu Dragneel Posted October 24, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 138 Reputation: 1 Joined: 12/27/11 Last Seen: September 7, 2016 Share 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 Link to comment Share on other sites More sharing options...
Bin4ry Posted October 24, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share 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) Link to comment Share on other sites More sharing options...
Natsu Dragneel Posted October 24, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 138 Reputation: 1 Joined: 12/27/11 Last Seen: September 7, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Bin4ry Posted October 24, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share 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 Link to comment Share on other sites More sharing options...
Natsu Dragneel Posted October 24, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 138 Reputation: 1 Joined: 12/27/11 Last Seen: September 7, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Bin4ry Posted October 24, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 24, 2012 Yes Link to comment Share on other sites More sharing options...
Natsu Dragneel Posted October 24, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 138 Reputation: 1 Joined: 12/27/11 Last Seen: September 7, 2016 Author Share 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? Link to comment Share on other sites More sharing options...
Bin4ry Posted October 24, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 24, 2012 If you want to edit Add News permission, edit from \addons\content_management\config\access.php 1 Link to comment Share on other sites More sharing options...
Natsu Dragneel Posted October 25, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 138 Reputation: 1 Joined: 12/27/11 Last Seen: September 7, 2016 Author Share 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, ), ), ) ?> Link to comment Share on other sites More sharing options...
Jupeto Posted October 25, 2012 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 225 Reputation: 39 Joined: 01/20/12 Last Seen: October 6, 2024 Share 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 Link to comment Share on other sites More sharing options...
Natsu Dragneel Posted October 25, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 138 Reputation: 1 Joined: 12/27/11 Last Seen: September 7, 2016 Author Share Posted October 25, 2012 Thank you Jupeto I can Edit my news page now. Thank you also darristan! Link to comment Share on other sites More sharing options...
pandaplaygames Posted November 1, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 113 Reputation: 2 Joined: 10/29/12 Last Seen: September 21, 2017 Share 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? Link to comment Share on other sites More sharing options...
Bradium Posted May 5, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 04/04/13 Last Seen: June 6, 2016 Share Posted May 5, 2013 The script is from Jing Cleoville i believe, was ripped by calciumkid :-) Link to comment Share on other sites More sharing options...
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 DragneelLink to comment
Share on other sites
12 answers to this question
Recommended Posts