Frontendplace Blog

Sharing Frontend developing ideas

Archive for June, 2012

Dreamweaver modifies XML on opening

Posted by info on 11th June 2012

Dreamweaver has some preference settings to rewrite your code on opening but even when you uncheck all and expect to view the original content then be warned..

example:

<test>
<!--<node1>
       <node2>
        <!- - Explanation:
         this is some html comment
        - ->
       </node2>
    </node1>-->
</test>

When you want comments nested inside other comments temporary changed and set a space between the two “-” character  in Dreamweaver the xml becomes this and your xml becomes corrupt:

<!--<node1>
       <node2>
          <!- - Explanation:
          this is some html comment
         - ->
        </test>
     -->

So better change this to <!- Explanation….. ->

Posted in 3D Tutorials | Comments Off

Using joomla 1.5 together with php 5.3

Posted by info on 2nd June 2012

If you have an error in joomla 1.5 website and your provider (or in my case in my snowleopard website)

Warning:
Parameter 2 to frontpage() expected to be a reference, value given in...

Then you can try this fix http://phpscripts4u.com/uncategorized/parameter-2-frontpage-expected-reference/. It helped me.

Posted in 3D Tutorials | Comments Off