1
maddog_chris
Need help porting a theme to Xoops

Hi,

I have a theme on www.abbeyrise.org, this theme is for a website package called website builder.

I am currently converting the site to xoops, as it is a much better site, and wondered how I go about porting the theme across.

Anyone help.

Chris

2
Bassman
Re: Need help porting a theme to Xoops
  • 2007/3/25 22:16

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Easiest way to do it is to take an existing theme and modify it to suit. If you use a good quality theme, the colors etc will all be in the style.css file for the theme.

That one looks pretty easy to convert.

3
JMorris
Re: Need help porting a theme to Xoops
  • 2007/3/25 23:44

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


A second approach, albeit, not the best, is to do a "save as" on the current page, clean up the HTML and build in the XOOPS SMARTY variables.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

4
skenow
Re: Need help porting a theme to Xoops
  • 2007/3/25 23:55

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


The 'Save As ...' option would get you the html and any embedded styles. To get the stylesheets, use the Web Developer extension for Firefox - you can view and save the stylesheets to accompany the html markup

5
Bassman
Re: Need help porting a theme to Xoops
  • 2007/3/26 0:07

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


If that's already his site, he should already have all the files for the theme it's using :).

6
skenow
Re: Need help porting a theme to Xoops
  • 2007/3/26 0:20

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


@Bassman - missed that one - good call!

But, if it's not your site...

7
JMorris
Re: Need help porting a theme to Xoops
  • 2007/3/26 0:25

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


My point behind the "save as" method is that if the design is compiled via PHP, you would get the rendered HTML, which is what XOOPS uses.

If it's not your site, it would be unethical to do so unless you had written permission.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

8
Bassman
Re: Need help porting a theme to Xoops
  • 2007/3/26 0:31

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Quote:

JMorris wrote:
If it's not your site, it would be unethical to do so unless you had written permission.


Of course :)

9
maddog_chris
Re: Need help porting a theme to Xoops

Hi All

Yes it is my site, and I do have the theme folder, the folder contains the following files.

theme.tpl
style.css

and then 2 directories called, box styles and img.

I take it I could rename the theme.tpl to theme.html, then I suppose it would be just a matter of changing the phpwebsite codes to the XOOPS equivilant.

I shall have a go at it later, and let you know how I get on.

Regards

Chris

10
BlueStocking
Re: Need help porting a theme to Xoops

by maddog_chris on 2007/3/26 5:05:30
___________________________________________
I would be sure and make a backup first.
You know, maybe an oooops folder. {{grin}}
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

Login

Who's Online

184 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

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

Latest GitHub Commits