PEAK XOOPS - Ese the Wraps module or Pico for displaying a custom CSS file on homepage? in englishin japanese

Ese the Wraps module or Pico for displaying a custom CSS file on homepage?

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 | Posted on 2007/10/25 10:12
grega1  二等兵   Posts: 6
Since I am a newbie to Xoops, I designed a new homepage for a site with html and CSS. I am trying to implement it in XOOPS 2.07.3. I don't want to change the main styles.css, because the rest of the site needs to stay the same. I am only changing the homepage, so I created a new CSS file named index.css and put it in the same directory as styles.css

I inserted the html into a new custom module, and when I preview it, some of the text is not where it is supposed to be. I assume it is a wrapping issue.

I did some research and found thay there are two modules on this site that might help. Can anyone tell me whether Pico or Wraps would handle this problem?

I would really appreciate your help.

thanks.
Votes:17 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2007/10/26 4:14
GIJOE  先任軍曹   Posts: 4110
I cannot understand what you want.

If you want to apply a new style sheet, just edit theme.html.
Votes:19 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/10/26 10:51
grega1  二等兵   Posts: 6
What I am trying to do is load a custom design for the home page that is different from the theme for the rest of the site. I tried using Theme Changer module, but it didn't help. I don't want to have to use the header and footer that is part of the sites theme, for my home page.
I also run into a problem with the login module. It seems I cant just hack the code and insert it into my css or Html files. It will let registered users in, but not admins, or other user classes. It just dumps me out to the home page. The only solution I can coome up with is to customize the login module to make it look like the rest of the new home page design and then load the rest of the page using imag map slices.
Votes:2 Average:5.00
Previous post - Next post | Parent - No child | Posted on 2007/10/27 12:12
gigamaster  三等軍曹 From: Geneva, Switzerland  Posts: 94
Hi grega1

It seems that you are creating your own troubles.

1.If you want to personalize a category of your site
the module Pico will allow you to wrap or overwrite
your theme header metas, stylesheet, ajax, etc. Also
set permissions by user. There's a lot of freedom!

2. You can clone your default template set and modify
to match your site design.

If you decide to run xoops.org release, you will find
the information you need visiting the official doc-faq

Have Fun !
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2007/10/30 13:14
GIJOE  先任軍曹   Posts: 4110
It sounds just an issue how to make theme.html.
eg)
<{if $xoops_requesturi == '/index.php' or $xoops_requesturi == '/'}>
  <include file="theme_index.html"}>
<{elseif ! $xoops_dirname}>
  <include file="theme_etc.html"}>
<{/else}>
  <include file="theme_modules.html"}>
<{/if}>
Votes:18 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!