1
warfaa
Ex news theme
  • 2004/11/29 23:58

  • warfaa

  • Just popping in

  • Posts: 12

  • Since: 2004/11/10


I have tried to make new theme starting from exnews theme. I finished and uploaded to the site. then I went to Administration Menu -> System Administration -> Preferences -> General Settings and selected the new theme and Saved changes. But when i select the new theme then it opens an empty page. I used a dreamwaver. What can be wrong when you get an empty page.

I deleted all files from within the templates_c/ folder using an FTP client.

Thanks

2
brash
Re: Ex news theme
  • 2004/11/30 0:09

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Go into admin and turn on PHP debug. Most likely it will be a pathing issue in your theme.html file.

3
talunceford
Re: Ex news theme

can you post the theme.html code, I can take a look at it.

4
brash
Re: Ex news theme
  • 2004/11/30 0:10

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Beat you by the tip of my nose Tim

5
talunceford
Re: Ex news theme

haha, well it looks like we were thinking of the same solution though....

6
warfaa
Re: Ex news theme
  • 2004/11/30 11:07

  • warfaa

  • Just popping in

  • Posts: 12

  • Since: 2004/11/10


Thanks brash and talunceford and I turned on PHP debug and got :
Parse error: parse error in /pub/home/somalitr/htdocs/xoop/html/templates_c/tijaabo^theme.html on line 248

that line is the end of html


HTML code:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
xml:lang="<{$xoops_langcode}>content="text/html; charset=iso-8859-1">" lang="<{$xoops_langcode}>">















<{$xoops_sitename}> - <{$xoops_pagetitle}>




href="<{$xoops_url}>/xoops.css" />
href="<{$xoops_themecss}>" />

<{$xoops_module_header}>



























































empty empty




















Home archive wfchannel contacts myalbum advertising classisied







<{if $xoops_showrblock == 1}>





<{foreach item=block from=$xoops_lblocks}>
<{$block.title}>

<{$block.content}>


<{/foreach}>



<{$xoops_contents}>


<{if $xoops_showcblock == 1}>













<{foreach item=block from=$xoops_ccblocks}>
<{$block.title}>

<{$block.content}>

<{/foreach}>





<{foreach item=block from=$xoops_clblocks}>
<{$block.title}>

<{$block.content}>

<{/foreach}>




<{foreach item=block from=$xoops_crblocks}>
<{$block.title}>

<{$block.content}>

<{/foreach}>




<{/if}>




<{foreach item=block from=$xoops_rblocks}>
<{$block.title}>

<{$block.content}>


<{/foreach}>


Somalitribune.com




7
talunceford
Re: Ex news theme

I found the problem. Just cruise down to the bottom of the code that you supplied. You should see a couple lines of code that are bold. You had an "if" statement that wasn't closed. Just add the closing <{/if}> to the code like I have provided you, and it should work fine. It worked fine on my server at least.


Quote:

warfaa wrote:
Thanks brash and talunceford and I turned on PHP debug and got :
Parse error: parse error in /pub/home/somalitr/htdocs/xoop/html/templates_c/tijaabo^theme.html on line 248

that line is the end of html


HTML code:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
xml:lang="<{$xoops_langcode}>content="text/html; charset=iso-8859-1">" lang="<{$xoops_langcode}>">















<{$xoops_sitename}> - <{$xoops_pagetitle}>




href="<{$xoops_url}>/xoops.css" />
href="<{$xoops_themecss}>" />

<{$xoops_module_header}>



























































empty empty




















Home archive wfchannel contacts myalbum advertising classisied







<{if $xoops_showrblock == 1}>


<{/if}>



<{foreach item=block from=$xoops_lblocks}>
<{$block.title}>

<{$block.content}>


<{/foreach}>



<{$xoops_contents}>


<{if $xoops_showcblock == 1}>













<{foreach item=block from=$xoops_ccblocks}>
<{$block.title}>

<{$block.content}>

<{/foreach}>





<{foreach item=block from=$xoops_clblocks}>
<{$block.title}>

<{$block.content}>

<{/foreach}>




<{foreach item=block from=$xoops_crblocks}>
<{$block.title}>

<{$block.content}>

<{/foreach}>




<{/if}>




<{foreach item=block from=$xoops_rblocks}>
<{$block.title}>

<{$block.content}>


<{/foreach}>


Somalitribune.com





Close the line that I have bolded up. It should work fine then.

8
warfaa
Re: Ex news theme
  • 2004/11/30 21:02

  • warfaa

  • Just popping in

  • Posts: 12

  • Since: 2004/11/10


Thanks talunceford, It worked

9
talunceford
Re: Ex news theme

Not a prob!

Login

Who's Online

382 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 382


more...

Donat-O-Meter

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

Latest GitHub Commits