Our Blog --- Read, Leave comments, Get Advice, How to's, Converse

Follow Pc Help For You on twitter

Created: 2012-02-05 09:21:57

 We are finally on Twitter, why not follow us..

Www.twitter.com/#!/pchelpforyou





Happy Christmas - Our opening times

Created: 2011-12-23 10:26:50

Happy Christmas to all our customers, and thank you for choosing us for you computer and web needs throughout the year


We are closed from the:

24th - 28th December

and

31st Dec - 2nd Jan

Thank you





CMS Made simple CMSMS - TinyMCE Anchor Not working links to home page SOLVED

Created: 2011-08-02 16:53:02

When you create Anchors with Tiny MCE in CMSMS they just take you to the main page 

here is how to solve it:

1) open the file:   /modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js

2) located the line:      html += '<option value="#' + name + '">' + name + '</option>';

3) change to:        html += '<option value="{$page_alias}#' + name + '">' + name + '</option>';

4 )save file.

5) In admin goto content ->pages -> select page you want the anchour present

6) highlight the text you want anchor to jump to and click the Anchor icon (see pic below)



7)  name the Anchor, then highlight the text you want to link the anchor to and click the link button ( see pictures)

8) now when you select the relevant anchor it Automatically enters {$page_alias} before the link which will tell CMSMS to stay on the same page and not jump to the home page.

If you find this useful please take a minute to comment -- Thanks





zen cart Page not found htaccess problem - Can't access a password protected directory

Created: 2011-06-14 20:34:59

This problem usually occurs after you install the SEO addon on zencart

To resolved the problem open your .htaccess file on your root

At the very top add the line:

ErrorDocument 401 "Unauthorized"

problem solved

If you have found this useful please comment on this post.



Comment on this post...

Zeus Tech says: 2011-07-04 22:36:21
  • I recently came across your blog and have been reading along.
    I thought I would leave my frst comment. I dont't know what to
    say except that I have enjoyed reading. Nice blog. Keep it up.

Comment on this post...



Cms made simple CMSMS add iframes to WYSIWYG news Blog editor

Created: 2011-06-14 20:25:14
  1. goto Extensions -> TinyMCE WYSIWYG
  2. select the advance tab
  3. go down to Extra configuration:
  4. enter:

extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]"

 

  5. Save changes, then goto your WYSIWYG editor and select the HTML icon

  6. Paste you iframe code and it should now all work

If you find this useful please take 1 min to comment on this post



Comment on this post...

de Graaf says: 2011-11-12 12:47:42
  • Hartelijk bedankt voor deze post. Het iframe werkt nu perfect.

Junior says: 2011-08-31 20:34:30
  • Thanks a lot!!! Working perfectly!

Kamille says: 2011-08-20 02:18:49
  • Awesome, works perfect!! Thanks you!!

Mark Wyatt says: 2011-07-27 15:48:40
  • Thanks so much. I really appreciate people like you who take the time to help others.


kanji says: 2011-07-19 18:23:17
  • yess!!!! thanks!

My says: 2011-06-29 13:43:14
  • Works like a charm
    TNX!

Comment on this post...



Stop unwanted tele-sales calls and Junk Mail

Created: 2011-02-24 14:46:46

The Mailing Preference Service (MPS) is a free service set up 20 years ago and funded by the direct mail industry to enable consumers to have their names and home addresses in the UK removed from lists used by the industry. It is actively supported by the Royal Mail and all directly involved trade associations and fully supported by The Information Commissioners Office.

Click here to stop Junk Mail

 

The Telephone Preference Service (TPS) is a central opt out register whereby individuals can register their wish not to receive unsolicited sales and marketing telephone calls. It is a legal requirement that companies do not make such calls to numbers registered on the TPS.

Click here to stop Marketing calls

Please note that Pc Help for you does not hold any responsibility for these services.





Wampserver - change www root directory

Created: 2011-02-02 08:06:29

 If you want to change the www root directory from the pre-installed "wamp/www"

First open wamp -> click the wamp icon in the bottom right and hover over apache -> select httpd.conf

  • Find the documentroot in the file.

  • You should find a line that looks like DocumentRoot "C:/wamp/www/".

  • Copy that line then put a # in front of it: #DocumentRoot "C:/wamp/www/" (We put the # character to comment this line.)

  • Now paste this line and customize the root folder(www) path to: DocumentRoot "D:/Projects/" (In this case let us assume that the root folder is in the “Projects” folder of your “D” drive.)

  • If you search again as above you’ll find another line like: 
    <Directory "C:/wamp/www/">

  • Again copy the line, put a # in front, paste copied line below and adjust it to  
    <Directory "D:/Projects/">

  • Now save the file and restart your Apache server to make the changes in action.



Comment on this post...

Admin says: 2012-01-15 15:13:49
  • Thanks Eli Mitchell for your comments, i have amended the missing > and changes the quotes to now work, so it should be ok to copy and paste.

Eli Mitchell says: 2012-01-15 03:21:45
  • Check that the Directory line looks like this:

    < Directory "D:/Projects/" >

    Also, don't copy directly from this post because it uses curly quotes which are not understood by Apache.

lako says: 2011-11-05 20:38:41
  • Did as advised and get 500 internal server error ..... :(

Comment on this post...



Adobe illustrator how to break text apart to edit each letter individually

Created: 2011-01-31 11:20:02

If you want to edit each letter in Adobe illustrator separately - for example you may want to remove the full stop of the i and replace it with an image.

To separate the letters.

Highlight the text

select Type from menu then Create Outlines





How to browse the internet & avoid getting viruses and spyware!

Created: 2011-01-24 15:20:37

99% of computer users will get a virus or spyware within the next year solely from visiting a bad website that will infect your computer.

What is spyware?

The simplest way to describe spyware is a virus designed for the internet. Some spyware can be harmless, for example its purpose could be to track your browsing habits, then you could start receiving emails trying to sell you products.

Other spyware can be more sinister where its purpose can be to record all passwords, credit card details and any other personal information.

How to beat internet spyware!!

An effective way to prevent internet spyware is using a free program called web of trust.

Web of trust shows you which websites are good and which ones are bad by putting a colour coded circle next to each website: 

Green circle = good website
amber circle = OK website
Red circle = Bad website do not visit.

Watch this video to find out more: www.youtube.com/watch

DOWNLOAD WOT FREE HERE:





Don't buy cheap replica replacement Laptop chargers from Ebay - - - DANGEROUS!!!

Created: 2011-01-06 12:15:57

An original manufactories charger costs around £30 however there are a vast amount of replica replacement chargers found on ebay costing around £7.

These can seem appealing especially with the well presented advert!!

Don't be fooled and don't waste your money as every experience we have had with this type of charger was:

  • Faulty from the start
  • Become faulty after a few months
  • Become extremely hot
  • Damaged laptop
  • VERY Dangerous.

The latest issue we have had with one of these chargers was where it had completely melted the plastic on the laptop where you plug it in. This damaged the laptop stopping it from working, if it would of been left unattended it could of been very dangerous.

Our advice is always buy original





CMS Made Simple CMSMS - How to Display multiple menus on every page

Created: 2011-01-03 19:32:27

After having much trouble displaying multiple menus on each web page using CMS made simple, I decided to document how to do it as there was not much on the web.

Basically what I wanted was 3 different menus on each page (1 menu at the top and 2 running down the right hand side) I needed the menus to be always present on all pages and not just to rely on if the parent page is selected.

 Here is a step by step on how I manage to do this.

Step 1)

Set up your pages in groups labelling the parent the position of the menu and the children as the actual pages you want. e.g:

 1 top_menu (parent)

    o 1.1  Home page

    o 1.2  About

    o 1.3 Etc.

 2 side_menu (parent)

   o 2.1  Page a

   o 2.2   Page b

   o 2.3  Page c

   o 2.4  Etc

 3 Side_menu2(parent)

  o 3.1  Page a

  o 3.2  Page b

  o 3.3  Page c

Note that all pages must be created using content type content – (grouping the pages into subpages is not essential but it helps keep it organised.)

Here is a screen shot of my page structure 

Step2)

Open the template file where you want your menus to appear (layouts ->templates )

For the menu at the top enter the code:

{menu template="your_template" start_level="2"  start_page="top_bar" excludeprefix="top_bar" }

Note that the attributes top_bar is the name of my parent page for the top menu.

For the first side menu enter the code:

{menu template="your template" start_level="2" start_page="side_menu" excludeprefix="side_menu"}

For  the second side menu enter the code:

{menu template="your_template" start_level="2" start_page="side_menu2" excludeprefix="side_menu2"}

 

Step 3)

Almost done! all you have to do is make the parent pages inactive by going to (content->pages) then on the active column click the green tick on the 3 parent pages to make it appear a red cross. 

I hope you find this useful as it took me a good few hours to figure this out. - Please leave a comment to let me know how you went on or if you have any more info to add

for a finished result see here



Comment on this post...

Geoff Foster says: 2011-02-23 16:07:26
  • Thanks for this - the online guides are very confusing.

    One thing I had to change, which may be frustrating people (it was me!) is that the alias has a dash, not an underscore as is often shown:
    {menu template="cssmenu.tpl" start_level="2" start_page="side-menu" excludeprefix="side-menu"}

    Thanks again,
    Geoff.

Comment on this post...



Improve your computers speed and performance with a Service and Upgrade only £89

Created: 2010-12-27 21:36:31

Available to anyone in the Manchester or Cheshire areas, for only £89 we can give your slow, unreliable computer a full service and upgrade to give it a new lease of life.

WHAT’S IN THE SERVICE?

  • We collect your computer and give it a full service and return it the next day (24 hour turn around)
  • We located all viruses/ spyware and completely remove them
  • We add extra protection to help prevent viruses/ spyware in the future.
  • We optimised your hard drive to perform to its best
  • We locate programs that are constantly using your computer’s memory and priorities them so only the ones needed are running.
  • We make sure your windows is running error free
  • We remove all dust from inside desktop computers.

Service without upgrade cost £60


WHAT’S IN THE UPGRADE?

If your computer is over 2½ years old there is a good chance it would benefit from an upgrade

  • We upgrade your computer with an additional 1 GB of ram which gives your computer a boost in performance and speed.
  • If your computer currently has 1GB or less of RAM an upgrade is highly recommend.

BOOK NOW





PHP - javascript - Maintain scroll position on post back when form submit button is pressed

Created: 2010-12-27 19:41:45

Have you created a form with error control but when you click the submit button it jumps to the top of the page and does not have your form in display.

Below is some simple PHP and Javascript to maintain the position of the form when the submit button is pressed:

step 1: Put this in your head section:

<script type="text/javascript">

function saveScrollPositions(theForm) {

if(theForm) {

var scrolly = typeof window.pageYOffset != 'undefined' ? window.pageYOffset : document.documentElement.scrollTop;

var scrollx = typeof window.pageXOffset != 'undefined' ? window.pageXOffset : document.documentElement.scrollLeft;

theForm.scrollx.value = scrollx;

theForm.scrolly.value = scrolly;

}

}

</script>

Step 2: Start your form like this:

<form action="" name="form" method="post" onsubmit="return saveScrollPositions(this);">

<input type="hidden" name="scrollx" id="scrollx" value="0" />

<input type="hidden" name="scrolly" id="scrolly" value="0" />

Step 3: Put this just above </body>:

<?php

$scrollx = 0;

$scrolly = 0;

if(!empty($_REQUEST['scrollx'])) {

$scrollx = $_REQUEST['scrollx'];

}

if(!empty($_REQUEST['scrolly'])) {

$scrolly = $_REQUEST['scrolly'];

}

?>

<script type="text/javascript">

window.scrollTo(<?php echo "$scrollx" ?>, <?php echo "$scrolly" ?>);

</script>


Please comment on this post!! Let me know how you get on or if you have any advice to add to this 



Comment on this post...

asd says: 2012-01-22 15:03:56
  • Thanks :) nice code!

Cute_Boy says: 2011-11-13 16:48:39
  • wow! this is what i'm looking for. I tried it and its work!. thanks who ever you are. GOD BLESS!

anonymous says: 2011-06-14 09:35:18
  • It took me 3 hours to find your solution which actually makes sense and works. Went through 4 other scripts which claim to work but don't. Thanks man!

MattErrob says: 2011-02-28 19:13:16
  • hi, new to the site, thanks.

Comment on this post...



Web design - Making a td in a table a link - css, html

Created: 2010-12-27 10:19:33

If you would like to make the entire td area inside a table an actually link and not just the contents inside here is how to do it:

You can use the onclick event of the <td> tag to link to another page for example:


<table border=1>
<tr>
<td onclick="window.location.href='http://www.pchelpforyou.co.uk'">Click here for my website</td> 
</tr> 
</table>

Also you will need to change the cursor when you hover over the td using the following css:

td:hover{cursor:pointer;}

Please comment on this post!! Let me know how you get on or if you have any advice to add to this 





Windows 7 problem where each folder is opening in a Separate window SOLVED

Created: 2010-12-23 22:08:37

Are you having problems when you click on a folder in windows 7 but it opens in a separate window and not the same one?

This is due to a corrupt register entry and can be fixed by:

opening command prompt by going to START -> ALL PROGRAMS -> ACCESSORIES then Right click on command prompt and select RUN AS ADMINISTRATOR

Once the window has opened type:

regsvr32 "%SystemRoot%\System32\actxprxy.dll"
regsvr32 "%ProgramFiles%\Internet Explorer\ieproxy.dll"

Then restart your computer.

Please comment on this post!! Let me know how you get on or if you have any advice to add to this 

 





Happy Christmas to all our customers!!!

Created: 2010-12-23 18:19:43

Wishing you a happy Christmas and a good start to the new year.

Thank you all for your custom throughout the year.

 





    All Aritcles