<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; notifications</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/notifications/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Notifications in control panel</title>
		<link>https://wiki.centos-webpanel.com/notifications-in-control-panel</link>
		<comments>https://wiki.centos-webpanel.com/notifications-in-control-panel#comments</comments>
		<pubDate>Thu, 17 Nov 2016 11:05:12 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[notifications]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=673</guid>
		<description><![CDATA[Now you can send notifications into the cwp.admin control panel with your custom scripts. Notification generator script will help you and generate the unique id for each message. Script Usage: /scripts/add_alert ALERT-TYPE "Short Text" LOG-FILE-LOCATION /scripts/add_alert alert-danger "this is my test" /var/log/php-rebuild.log ALERT-TYPE - Available Alert Types alert-danger, alert-success, alert-info, alert-warning, alert-dismissable "Short Text" - [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Now you can send notifications into the cwp.admin control panel with your custom scripts.<br />
Notification generator script will help you and generate the unique id for each message.</p>
<p><img src="/wp-content/uploads/2016/11/Screenshot-from-2016-11-17-121042.png" alt="CWP Notifications" /></p>
<p><strong>Script Usage:</strong></p>
<pre>/scripts/add_alert ALERT-TYPE "Short Text" LOG-FILE-LOCATION
/scripts/add_alert alert-danger "this is my test" /var/log/php-rebuild.log</pre>
<p><strong>ALERT-TYPE</strong> - Available Alert Types<br />
alert-danger, alert-success, alert-info, alert-warning, alert-dismissable</p>
<p><strong>"Short Text"</strong> - Must be under quotes if using multiple words<br />
This is the text which will be visible in the notification after Message id.</p>
<p><strong>LOG-FILE-LOCATION</strong> (optional NOT required)<br />
This will show "Check Detailed Info" button which is a link to open a log file or text file with more detailed info.</p>
<p>by clicking on the close x of the notification bar the notification will be permanently removed.</p>
<p><em>We will use the same script for notification about background process state and to notify you when its done.</em></p>
<p>Currently we are using the notifications to notify you when some background process is done.<br />
- Mod Security installation<br />
- Apache Re-Build<br />
- PHP version swithcer<br />
- PHP selector<br />
- FFMPEG installer<br />
...</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/notifications-in-control-panel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
