close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Administrator Account creation

Thread began 7/24/2011 6:28 am by info412429 | Last modified 7/26/2011 2:06 pm by info412429 | 1118 views | 7 replies

info412429

Originally Said By: Ray Borduin
  You would have to update the files to add those links.

/webassist/plugins/main_menu/menu.php

and

/webassist/plugins/cms_templates/footer.php  



Thx Ray, I have been able to do the menu link, but I cant seem to be getting it right with the footer. I guess its because I dont know much about php yet. Can you please show me where I need to enter my values; "Powered by KingzGold Technologies", with the link www.kingzgold.com, that will be opened in a new window when clicked? I wish you can me fix this into the footer code below for me now....

Thx.

<?php require_once('../../../Connections/PowerStoreConnection.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}

mysql_select_db($database_PowerStoreConnection, $PowerStoreConnection);
$query_CMStoRS = "SELECT C2.ContentGroup, C2.ContentPageSetOrder FROM ps4_contents AS C1 LEFT OUTER JOIN ps4_contents AS C2 ON C2.ContentPagesetParentID = C1.ContentID WHERE C1.ContentGroup = 'Footer Pages' AND C2.ContentPageSetOrder IS NOT NULL GROUP BY C2.ContentPageSetOrder ORDER BY C2.ContentPageSetOrder DESC";
$CMStoRS = mysql_query($query_CMStoRS, $PowerStoreConnection) or die(mysql_error());
$row_CMStoRS = mysql_fetch_assoc($CMStoRS);
$totalRows_CMStoRS = mysql_num_rows($CMStoRS);
?>
<html>
<head>
</head>
<body>
<ul>
<?php
$row=0;
?>
<?php do { ?>
<?php
$row++;
$class="";
if (!isset($pastFirst)) {
$class = "first";
}
if ($row==$totalRows_CMStoRS) {
if (!isset($pastFirst)) {
$class = " ";
}
$class .= "last";
}
$pastFirst=true;
?>
<li <?php if ($class!="") { echo('class="'.$class.'"'); } ?>><a href="../../../page.php?Footer Pages=<?php echo $row_CMStoRS['ContentPageSetOrder']; ?>"><?php echo $row_CMStoRS['ContentGroup']; ?></a></li>
<?php } while ($row_CMStoRS = mysql_fetch_assoc($CMStoRS)); ?>
</ul>
</body>
</html>
<?php
mysql_free_result($CMStoRS);
?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...