close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Administrator Account creation

Thread began 7/24/2011 3:28 am by info412429 | Last modified 7/26/2011 11:06 am by Jason Byrnes | 2664 views | 7 replies |

info412429

Administrator Account creation

Hi support team, how do I edit the Administrator profile so that the "Contents" section will be hidden.

I just created an administrator account, but i have only "Settings" and "Design" sections hidden.

Please help me out.

Thx.

Sign in to reply to this post

Ray BorduinWebAssist

You would have to do this by hand...

Open the file: /webassist/plugins/admin_menu/menu.php

And copy and paste the code that hides the Settings and Design sections to hide the Contents section as well.

Sign in to reply to this post
Did this help? Tips are appreciated...

info412429

Originally Said By: Ray Borduin
  You would have to do this by hand...

Open the file: /webassist/plugins/admin_menu/menu.php

And copy and paste the code that hides the Settings and Design sections to hide the Contents section as well.  



Thx for that Ray. I have done it.

Now, I need to create a menu that will be linked to an external site, so that when its been clicked it opens a page which is not within powerstore, but it will open within same window.

Also I need to create a link on the footer, for example; "Powered by info412429". Now when users click on this link, it should open an external website in a different window. Also I will need to display this link at da far right side of the footer.

Help me out, please.

Thx

Sign in to reply to this post

Ray BorduinWebAssist

You would have to update the files to add those links.

/webassist/plugins/main_menu/menu.php

and

/webassist/plugins/cms_templates/footer.php

Sign in to reply to this post
Did this help? Tips are appreciated...

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

Sign in to reply to this post

Jason ByrnesWebAssist

add the link just after this line:

<?php } while ($row_CMStoRS = mysql_fetch_assoc($CMStoRS)); ?>



as an li tag:

<?php } while ($row_CMStoRS = mysql_fetch_assoc($CMStoRS)); ?>
<li><a href="http://www.kingzgold.com">Powered by KingzGold Technologies</a></li>
Sign in to reply to this post

info412429

Originally Said By: Jason Byrnes
  add the link just after this line:
<?php } while ($row_CMStoRS = mysql_fetch_assoc($CMStoRS)); ?>


as an li tag:
<?php } while ($row_CMStoRS = mysql_fetch_assoc($CMStoRS)); ?>
<li><a href="http://www.kingzgold.com">Powered by KingzGold Technologies</a></li>
  



Thx Jason.

I have also realised that although I have blocked the "Contents" menu from showing in the admin panel to my client, each time I log in with an admin account, the Contents section is active at the front end.

How do I deactivate that?

On my homepage though, I have the text of the featured products and the welcome section too down. how do I bring it up to the middle?

And at the right end too, the pod box size has reduced. Its not fitting to the page. can you please check and help me to get it even.

Thx

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

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