Jump to content
  • 0

Flux CP CMS Addon 1.2 problem


Natsu Dragneel

Question


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

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:

142bijd.png

Edited by Natsu Dragneel
Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

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 by Natsu Dragneel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

I did not apply yet! so i need to execute them in my sql?

Edited by Natsu Dragneel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Yes

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

If you want to edit Add News permission, edit from \addons\content_management\config\access.php

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

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

1fwwvd.png

<?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


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

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

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

Thank you Jupeto I can Edit my news page now. Thank you also darristan!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  04/04/13
  • Last Seen:  

The script is from Jing Cleoville i believe, was ripped by calciumkid :-)

Link to comment
Share on other sites

×
×
  • Create New...