Welcome,

Guest

  • Member's Login
  • Member's Registration
  • Community
  • Download
  • Demo
  • Support
  • Store
Azer CMS > News & Announcements
Azer CMS v3.1.6
Posted 12-02-18, at 6:57 PM.
v3 has been updated to include a paging system to the news feed. By default this system is in use but the menu will not generate unless added to the style. The installer has been updated to allow for a new Variable within the config file that limits the amount of posts per page on the news feed. This limit is set to 5 by default.

Posts are loaded in descending order by date.

Download .ZIP
Download .RAR

Modified Files

Lib/global.php
Parser/replace.php
Inc/functions.php
Install/step_3/index.php


To change the limit of posts per page in the news feed, you can modify the "$system_pg_limit" variable.

Manual Config Data

if(!defined('ACMS')){ header("Location: ../../"); }

//- Site Settings
$debug = 0; #- Debug Mode Enabled? (0 = No | 1 = Yes)

//- Database Connection Info
$port_host = "'.$pthost.'"; #- Domain without http:// or IP Address
$db_host = "'.$mshost.'"; #- Database Host
$db_user = "'.$msuser.'"; #- Database User
$db_pass = "'.$mspass.'"; #- Database Pass
$db_data = "'.$cmsdb.'"; #- Database DB
$db_acc = "'.$accdb.'"; #- Account Database

//- Paypal Settings |:| Do Not Edit
$palurl = array(
"1" => "www.paypal.com",
"2" => "www.sandbox.paypal.com",
);

$palcur = array(
"1" => "USD",
"2" => "EURO",
"3" => "Other Currency Here", // Other Currency - https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_currency_codes
);

//- Paging Limit
$system_pg_limit = "5";

//- Paypal Manual Edit For Security
$palmail = "'.$pemail.'";
$palurl = $palurl[1]; // 1 = Paypal, 2 = SandBox
$palcur = $palcur['.$pcur.']; // 1 = USD, 2 = EURO, 3 = Other

//- SOAP/Telnet Settings - Manual Edit
$soap_host = "'.$soaphost.'"; #- World Server Host
$soap_user = "'.$soapuser.'"; #- Account Username (Access = 4)
$soap_pass = "'.$soappass.'"; #- Account Password (Access = 4)
?>


To make use of the paging system you will need to modify the news.php in the root folder of the style currently in use.

The only difference is the {news_menu.0} added at the end of the HTML within the news.php. Adding this just adds basic(without CSS) links to the news feed. Users can style the links using the html class "page_button".


The DEMO has been updated and is live with a very basic(without CSS) paging menu.
By Luke.
^ 2 Replies
© Copyright 2023 Azer CMS.
All Rights Reserved.
Terms of Service.

DMCA.com Protection Status