1
Widget
" lang="en"> at top fo the page???
  • 2005/2/1 17:28

  • Widget

  • Just popping in

  • Posts: 46

  • Since: 2004/12/24


Hi folks,

I hope someone can helop me out. Everytime i edit the theme.html of an exisiting theme and then install to see the changes I see this code at the top of the page.

" lang="en">


Does anyone know how to remove this and why is it that i am getting this?

Thanks.

2
Dave_L
Re: " lang="en"> at top fo the page???
  • 2005/2/1 17:41

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


What exactly is the change you're making in theme.html?

3
Widget
Re: " lang="en"> at top fo the page???
  • 2005/2/1 18:09

  • Widget

  • Just popping in

  • Posts: 46

  • Since: 2004/12/24


the changes are simple ones like the alt tags and links pointing to my website. also i wanted to change and add some other things to theme.html but i always get this to show up. btw im not uploading this to the server as of yet. im viewing it on my pc. if that is relevant info. thanks.

4
Dave_L
Re: " lang="en"> at top fo the page???
  • 2005/2/1 18:14

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The reason I asked is that it sounds like you're introducing a syntax error into the HTML when you make the change. Without seeing the actual changed code, I can't be more specific.

5
Widget
Re: " lang="en"> at top fo the page???
  • 2005/2/1 18:20

  • Widget

  • Just popping in

  • Posts: 46

  • Since: 2004/12/24


i don't understand why this error shows up. i even checked the actual source code but i can't find it there. i notice that when i make simple changes to the theme.html this error will pop-up. i'm modifying a theme by 7dana btw. 7dana-soft.

6
studioC
Re: " lang="en"> at top fo the page???
  • 2005/2/1 18:56

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


can you give us a link to that document so that we can view at it?

If you use normal theme without any language hacks this mentioned part is sure from document type description or xml prolog but... everythink is looking in the big bowl of glass ...


michael

7
imanse
Re: " lang="en"> at top fo the page???
  • 2005/2/1 22:43

  • imanse

  • Just popping in

  • Posts: 7

  • Since: 2004/12/14


Hi,

I have the same problem with mine theme.
just remove from line +/- 3 i think, where it says:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">


delet that and try again :)

8
Widget
Re: " lang="en"> at top fo the page???
  • 2005/2/2 14:35

  • Widget

  • Just popping in

  • Posts: 46

  • Since: 2004/12/24


Thanks for the tip m8! I found out that my editor was the cause of the problem. When I used dreamweaver the problem didn't persist. Thanks for all the replies.

Login

Who's Online

151 user(s) are online (31 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits