1
aclysma
Re: Hide Ads for People Who Donated
  • 2005/5/15 5:33

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


I'm pretty new to xoops, but here is an approach.

Assign all your "subscribers" to be part of some group.

Then, in the either the php or the template (if the ad rotator is in a template) you check if they are in the group or not and if not, don't print the html to cause the ads.

Pretty simple idea, but provided you can get the specific code you'd need, it should work well.

There may be a simpler solution too. I wouldn't know though.

Philip



2
aclysma
Re: templates/themes refresh problems
  • 2005/5/14 21:21

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


I figured it out, I didn't update the include directives in the theme.html file.

Thanks
Philip



3
aclysma
Re:Some pointers on how to build a theme
  • 2005/5/14 16:46

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


Just a couple things I am doing making my theme/template set that might be helpful to others.

1. I made a few static pages with dummy content. Look up "lorem ipsum" in google if you need some dummy content for paragraphs :) If you use static pages for a day and just get it looking like you want it, it is trivial to copy and paste the XOOPS templating code in later. Just do it in very small chunks, and keep a backup of your original layout.

2. If someone were to make a strictly css template set (no tables whatsoever) any visual change imaginable could be done without editing templates. I'm working on a no-tables theme now. I could make it available if I keep my interest up long enough. I didn't even search around though - there may be a css only theme running about somewhere. If you want to see an example of what kind of changes can be done without any html editing, check outhttp://www.csszengarden.com/

I'm by no means an expert at xoops. But these are good principles to follow regardless of what system you are using.



4
aclysma
Re: templates/themes refresh problems
  • 2005/5/14 16:27

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


Still don't have a solution. If anyone has a tip, please share :)

Thanks
Philip



5
aclysma
Re: Internet explorer and mozilla firefox
  • 2005/5/14 8:26

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


Is the URL available?

Are you using a custom templates/theme or is it a default install?

If it is not a default install, you might try running the generated html through the w3c's html tidy tool. It could point out any tags that are not closed, etc. that could be causing such a problem.

http://tidy.sourceforge.net/



6
aclysma
Re: templates/themes refresh problems
  • 2005/5/14 7:56

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


Mostly I'm getting rid of tables. I despise using them for visual elements. Specifically here, I'm trying to add h1's around the title of blocks.

<div class="blockTitle"><{$block.title}></div>


to

<div class="blockTitle"><h1><{$block.title}></h1></div>


EDIT: also, I'll be able to get rid of the div - I can use the h1 instead.

I prefer my html to match precisely the logical structure of the document - I think it helps people with screen-readers and I know it makes it easier to parse later on. And besides, I started trying to make this change so now I have to finish it :)

After I get the h1 working right, then it will be easy to get the text indented off the border, and I'll be able to deal with this situation quickly in the future.

Thanks for the quick reply
Philip



7
aclysma
templates/themes refresh problems
  • 2005/5/14 7:41

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


I'm having a hard time trying to get what I edit in /themes/mytheme/whatever.html to take effect. From what I understand from reading forums, all I should need to do to get the site's look updating from the .html files in my template folder is to go into the preferences > general options and change the radio button regarding that option to yes.

I have done that, and when I edit theme.html, my changes take effect immediately.

My problem is, I am trying to get the left and right column blocks to be different (per block). I noticed a theme_blockleft.html and theme_blockright.html in the theme I'm basing mine off of (based off of in file structure only). If I remember correctly, I am basing my theme off the default XOOPS theme, but I could be wrong.

What can I do to get the pages generated by XOOPS to reflect the changes I made to theme_blockleft/right.html?

These .html files in the theme seem to be a lot like the templates. Is there a way to define theme_blockleft/right in the database?

I'm a pretty new XOOPS user, and I'm on dial-up so I can't search around on my own as much as I'd like to (home from college). And, it's 2am here :)

And by the way, I welcome suggestions as to the design of my theme - but understand its not a finished product :)

Thanks in advance
Philip

http://aclysma.com/xoops




TopTop



Login

Who's Online

146 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

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

Latest GitHub Commits