- INTRODUCTION
- CONTENT
- INSTALLATION
- MODIFICATION
- © RIGHTS
- CREDITS
- SCREEN SHOTS
Meta Keywords/Description & tags panel
The use of this mod/infusion is to have a easiest way to get more friendly with SEO keywords and description. Each and every ones are not able to work with php, however this mod/infusion will be help them a lot.
I am hoping that this mod will help and give more ideas to developers for creating a mod similar and much better as i do beleive that I am not a perfect coder.. I am just leaning :P.
The use of this mod/infusion is to have a easiest way to get more friendly with SEO keywords and description. Each and every ones are not able to work with php, however this mod/infusion will be help them a lot.
I am hoping that this mod will help and give more ideas to developers for creating a mod similar and much better as i do beleive that I am not a perfect coder.. I am just leaning :P.
-
Coding by:
- wadday (Abdullah Waheed)
- News MV
- Wadday's Blog
- DTA Web Design
- The IPL Action
- Abdullah Waheed
- SathishIPL
- DTA Web Design
- DTA Web Design
Tested on:
Ideas/Concept of this mod by:
SEO ideas and Requested by:
Project Discussion on:
Meta description/keywords and Tags forum:
Readme style created base on Everton Duo css which is a copyright of Digi PHP-Fusion.
Content of Panel/mod
meta_tag_panel
meta_tag_panel
- article.php
- news.php
- forum.php
- thread.php
- isset.php
- typeadmin.php
- settings.php
- infusion.php
- infusion_db.php
- nav.php
- meta_tag_panel.php
- English.php
- Turkish.php
- search_meta_include.php
- search_meta_button_include.php
Installation
upload meta_tag_panel to fusionroot/infusions/
upload meta_tag_panel to fusionroot/infusions/
- First Login as Super administrator
- Go to System Admin
Click Infusions - Select meta_tag_panel from drop down list and click infuse
- Go to System Admin
- Click Panels
Add New panel » Select meta_tag_panel form the dropdown list - Enter Admin Password
- Click Save
- Go back to panel admin and enable the panel
Note: if you enable the panel first. you or memebrs can see the table unknow or unidentify or table doesn't exist. notice on the main page. I recommond to infuse first and then enable the panel.
Modifications
If you need to set this for any other page that not include with this panel follow the instruction below.
elseif(isset($_GET['page_id']) && isnum($_GET['page_id'])) {
$id = $_GET['page_id'];
$type = "M";
}
?> you are about to give "elseif" because isset.php file already have "if" .
"page_id". this will be same as viewpage.php?page_id=1. but your type will be different for viewpage.php and mypage.php so it doesn't fight each other.
id=$_GET'page_id']; (this will identify by the meta query, without it dosn't work)
$type = "M"; as long as your type is different their will be no problem. give a type which is not added to any other page. .
Thats all you have to do in isset.php
copy article.php file and rename to mypage.php. open in edit mode and change the following.
Look for
<?php
$result = dbquery("SELECT * FROM ".DB_META." tm INNER JOIN ".DB_ARTICLES." ta ON tm.m_itemid=ta.article_id GROUP BY article_id ORDER BY m_type"); if (dbrows($result) != 0) {
$editlist = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['m_id'])) { $sel = ($_POST['m_id'] == $data['m_id'] ? " selected='selected'" : ""); }
$editlist .= "\n";
}
?>
Change to <?php
$result = dbquery("SELECT * FROM ".DB_META." tm INNER JOIN ".YOUR_DB." ty ON tm.m_itemid=ty.your_id GROUP BY your_id ORDER BY m_type");
if (dbrows($result) != 0) {
$editlist = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['m_id'])) { $sel = ($_POST['m_id'] == $data['m_id'] ? " selected='selected'" : ""); }
$editlist .= "\n";
}
?>
Now look for
<?php
$result = dbquery("SELECT * FROM ".DB_ARTICLES."");
if (dbrows($result) != 0) {
$article = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['itemid'])) { $sel = ($_POST['itemid'] == $data['article_id'] ? " selected='selected'" : ""); }
$article .= "\n";
}
?> Change to
<?php
$result = dbquery("SELECT * FROM ".YOUR_DB."");
if (dbrows($result) != 0) {
$yourlist = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['itemid'])) { $sel = ($_POST['itemid'] == $data['your_id'] ? " selected='selected'" : ""); }
$yourlist .= "\n";
}
?>
Now change the form name
opentable("yourpage");
finally and look for ".$article." chagne to ".$yourlist."
If you need to set this for any other page that not include with this panel follow the instruction below.
- Go to meta_tag_panel admin and click add type
Example: give a name: My own page and give a type: M (make sure that the page type you have to given that doesn't conflict with any other page type. so that the meta info will be display correctly).
if your page come with mypage.php?page_id=1 and your type is M see below
- now open root/infusions/meta_tag_panel/isset.php
elseif(isset($_GET['page_id']) && isnum($_GET['page_id'])) {
$id = $_GET['page_id'];
$type = "M";
}
?> you are about to give "elseif" because isset.php file already have "if" .
"page_id". this will be same as viewpage.php?page_id=1. but your type will be different for viewpage.php and mypage.php so it doesn't fight each other.
id=$_GET'page_id']; (this will identify by the meta query, without it dosn't work)
$type = "M"; as long as your type is different their will be no problem. give a type which is not added to any other page. .
Thats all you have to do in isset.php
copy article.php file and rename to mypage.php. open in edit mode and change the following.
Look for
<?php
$result = dbquery("SELECT * FROM ".DB_META." tm INNER JOIN ".DB_ARTICLES." ta ON tm.m_itemid=ta.article_id GROUP BY article_id ORDER BY m_type"); if (dbrows($result) != 0) {
$editlist = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['m_id'])) { $sel = ($_POST['m_id'] == $data['m_id'] ? " selected='selected'" : ""); }
$editlist .= "\n";
}
?>
Change to <?php
$result = dbquery("SELECT * FROM ".DB_META." tm INNER JOIN ".YOUR_DB." ty ON tm.m_itemid=ty.your_id GROUP BY your_id ORDER BY m_type");
if (dbrows($result) != 0) {
$editlist = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['m_id'])) { $sel = ($_POST['m_id'] == $data['m_id'] ? " selected='selected'" : ""); }
$editlist .= "\n";
}
?>
Now look for
<?php
$result = dbquery("SELECT * FROM ".DB_ARTICLES."");
if (dbrows($result) != 0) {
$article = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['itemid'])) { $sel = ($_POST['itemid'] == $data['article_id'] ? " selected='selected'" : ""); }
$article .= "\n";
}
?> Change to
<?php
$result = dbquery("SELECT * FROM ".YOUR_DB."");
if (dbrows($result) != 0) {
$yourlist = ""; $sel = "";
while ($data = dbarray($result)) {
if (isset($_POST['itemid'])) { $sel = ($_POST['itemid'] == $data['your_id'] ? " selected='selected'" : ""); }
$yourlist .= "\n";
}
?>
Now change the form name
opentable("yourpage");
finally and look for ".$article." chagne to ".$yourlist."
Copyrights/Credit link
This panel has the option for user to keep hide or visible. for those who doesn't like to keep many panels on the page keep it hide from the meta tag admin.
- If this panel you have enable and make as visibel we recommond to keep our credit symbol with one of the following links
- © www.wadday.com
- © www.dtawebdesign.com
- © www.newsmv.com
This panel has the option for user to keep hide or visible. for those who doesn't like to keep many panels on the page keep it hide from the meta tag admin.
- Thank you very much for Dallas & SathishIPL for giving me the support as well as those who has submitted their ideas in the project discussion forum on DTA WEBDESIGN.com
the ideas given by dallas was very helpfull for me to make this panel up to user to hide or display. and the link to google was not a good idea to have how ever i have given the option to link google or link site search if not required can remove link within the meta tag admin panel.
sathisIPL has given and was looking into other forum to make his site better for SEO and has started this topic in the forum.
SoulSmasher: For Turkish Translation.
Special Thanks for nattu & Ian (SoBeNoFear) for giving me the positive answers for linking the keywords via page id.






