Webuilder, editor colors - no php listed?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
gwmbox
Posts: 25
Joined: Fri Oct 24, 2008 6:34 am

Webuilder, editor colors - no php listed?

Post by gwmbox »

Not sure if this is an oversight, bug or what. I like to set the colours of my tags/elements specifically to what I prefer and for the most part this works well. The problem I have however is that in the text editor drop down list to select a language there is no php on its own, there is html with php but why is there not php on its own?

Webuilder 2011 (11.0.0.126)
Windows7 (64bit)
Ram DDR3 8GB

Cheers

GW
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Webuilder, editor colors - no php listed?

Post by Aivars »

How would PHP on its own differ from HTML with PHP?
Blumentals Software Programmer
gwmbox
Posts: 25
Joined: Fri Oct 24, 2008 6:34 am

Re: Webuilder, editor colors - no php listed?

Post by gwmbox »

I thought the same but when I open an only php file the colours I have set in the html with php are not the same. E.g. I have in the html with php to show the php tags with a bright yellow background (easy to see) which works but when I open a file.php with php only those colours are not shown in that file.

I know this is trivial, I was just wondering why there is no php only option.

Cheers
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Webuilder, editor colors - no php listed?

Post by Aivars »

Could it be that the different background is due to tag matching, i.e., the <?php tag is either red because ?> is missing or green because it's matched with ?> tag?

Do this experiment - create a new php file:

Code: Select all

<?php
{
}
?>
and try clicking in and out of the brackets and see if the bright yellow color you have set appears.
Blumentals Software Programmer
Post Reply