11
PatsRule
Re: Help with Sections Module using css??
  • 2005/1/23 1:50

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Didn't want to dump this sections module because I have over 200 articles in it but seems I'll have to.. Because this module has no template to edit and anytime I try in the index.php file i get a string termination error, I'm up the proverbial creek without a paddle.

There is no template file in this module like there are in all the other modules I use. Very poor design I guess. The articles while doing the job, do not look Professional in this format. Having the title with the same size font size and color aligned left but in bold just above the article content is lame. I figured once I could edit it I could even include a place for an image of the staff writer, which there are 5 and even if i had to assign 5 classes to a style sheet for each, I would and really spruce up those pages.

It's a fantasy football site and starting to go strong and it needs to have a more professional look to be ready for next season's additions. URL if you want a look is www.fantasysportznutz.com. Theme music on the home page so if you look, turn your speakers down. The articles main link is in the left block and also in the table i made in the lower center block.normally not set for anon but i'll open it up for a while.

Again..what you helped me with will help me so much in some of my other upgrades and save me tons of time. Very much appreciated. Just figures this module doesn't have what all the others do.



12
PatsRule
Re: Help with Sections Module using css??
  • 2005/1/23 0:51

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Gotcha...thanks...very very much. I just did that to my forums welcome page and now i know where i can edit quite a bit of stuff i was thinking of doing in the future. But darn...nothing for sections in my admin templates. These are the modules under templates of my theme. By the way...even in the default theme sections does not appear.


GooberheadBlue Theme Created 2004/9/16

Forum [List (11)]
System [List (26)]
Members [List (2)]
Downloads [List (0)] [Generate]
Polls [List (0)] [Generate] [Download]
[Clone]

This is what I see in my admin..templates and it's the same for default which i don't use anymore. I noticed all the file names in there have .html extensions and when I looked in the Xoops/modules/section..there isn't an html file except in the Language folder, the language sub-folder English and the SQL folder and all this script. <script>history.go(-1);</script> But nowhere is all the files in that entire Forum, System, Members etc is sections referred to.

Sorry to be a pain.. and i really appreciate your help.



13
PatsRule
Re: Help with Sections Module using css??
  • 2005/1/23 0:17

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Thanks for replying... I use a custom theme which can be editted. Is that what you mean? The code I made for the span class is there already in my custom theme css.. but it should work if i can find where to insert it the <span class= tags ?? I do css and html fairly well but figuring out where everything is in XOOPS is more my problem.. and this sections module doesn't contain any html files.. only the index.php.. and i've tried numerous places inserting it and i get string termination errors.



14
PatsRule
Help with Sections Module using css??
  • 2005/1/22 23:38

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Hi... I'll try this post in this forum since maybe it's related to this. No reply on the beginner board. I use the old Sections Module for article content. Maybe I'll get wf-sections at some point but for now this serves me well.

What I would like to do is this. The default font for the title of the article which gets inserted in the title box upon creation is default size (small), bold and aligned left with 2 breaks following. I would like to change the font color, font size and align it center for the Title of the article only so it is appeasing to the eye. This appears in the center block and the div id = content. The default style sheet code for this is:

div#content {text-align: left; padding: 8px;}

If I change this it changes the entire content of the article. Centering makes everything center and so on. My idea was to create a span class called .sectitle and insert it in the style sheet. The tags from view source are this:

<table width='100%'><tr><td><b>Title of My Article</b><br /><br /> with the content following. And all the closing tags of the centerCcolumn and such.

I figured if I inserted span class=".sectitle" after the td tag and close it after Article, taking out the bold tags which are in my css class, it would make just the title change. And the remaining content would still take div id= content.

Problem is.. there is no index html file in sections and i looked and tried it in various places in the sections index.php file with no success. Anyone have a clue if this is how you can do this? And which file and if so to insert the span class code. Thank you in advance.



15
PatsRule
Re: Change title font in sections module
  • 2005/1/21 16:19

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


**bump**

I'm thinking I probably made a mistake in using the sections module for my article content, but at the time I started using Xoops, I didn't know about wfsections or other article content modules. I believe the .item cats in the style.css refer to the NEWS module. I tried changing a few them but it didn't have any effect on sections modules. Is the stylesheet where I need to make these changes?

One other question. If I change to a different content module, is there any way of keeping my current articles other than copying and pasting them to the new module and what module would you use? From what I have read here wf seems to still have bugs that might cause me more problems as I'm still in the learning curve of XOOPS and I like what my site looks like so far and can't afford to have it down while I ask for more help. .

For a peek my url ishttp://www.fantasysportznutz.com I opened up the Articles (re-named it from Sections)section for anons. There is theme music so turn your speakers down so it doesn't make you jump...lol. Click on any article from the links in the center block and you will see what i mean by the title of the article being only bold, default text and aligned left. I figured out how to incorporate full tables in the textarea without it scrolling to a mile down the page by manually taking out the line breaks that copying and pasting puts in but this seemingly simple task is driving me crazy. Thanks again and sorry for bumping it but I would like to try and have this completed this weekend so I can work on new content.



16
PatsRule
Change title font in sections module
  • 2005/1/20 19:06

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Hi all. Thanks in advance. Have to say I love XOOPS and my site is coming along fine. I'm still using the sections, not wfsections (afraid kinda though I know it has way more capability but I would hate to lose all my current articles). I've come a long way in figuring out things but this one has got me and it's probably right under my nose.

All I'd like to do is change the font size and center the title of my articles in the sections module. Possible change the font color also. Right now the font in the title is the same size as the font in the article but bold and the alignment is left. I tried HTML code in the title box but that didn't work. I looked in the style.css of my theme but didn't find anything exclusive to the sections and that is the only one I would like to change. Tried to find the table in the database but couldn't see anything there either. As well as the sections index.php file. Like I said, I'm probably just missing it by trying to hard and it's burning me out. LOL. Thanks again for any help.



17
PatsRule
no one here can ever help me
  • 2004/10/30 23:31

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


This will make 3 posts in a row asking for advice that I haven't got responses If i'm asking dumb questions or need to word them differently I'd like to at least know so I can ask better in the future. And though i can't expect the right answer.. at least one reply would be nice. Except for lance trying to help me with my last one..all my other posts have gotten no reply. Thanks anyway..I'll try elsewhere on the net but I figured this was XOOPS main forum. Sorry for being a pain in the ass.



18
PatsRule
Re: Embed HTML in Forum?
  • 2004/10/30 20:02

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


I'm not an expert by no means but will try to help.

In your administration..pass your mouse over the forums button and click on edit forums. In each forum you create there is a radio button that says allow HTML. I haven't tried it but I believe this will allow you to use HTML code in your posts.



19
PatsRule
Re:scripting help please
  • 2004/10/30 18:59

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Thanks for the try Lance but no go. This have been driving me crazy...lol. It seems so simple..and the site is mainly php. The problem is the theme where i would think it would go is an html file. I tried including it there, without a block, but then it shows poll_process(4); in text. Weird.

I know I could edit the main menu..insert Poll..create a php file called poll.php and link to it...but really that defeats the purpose...having to click on a link to do a poll. You would think that a site that has but 3 html files that I created and rest php would do this easy but I'm having a heck of a time. I do appreciate the thought of trying that. I thought it would work. Cheers.

If you want to see the site..it'shttp://www.fantasysportznutz.com Where i want it to appear is right below the chat block. Also..there is a music theme so you don't get startled if your volume on your speakers is up..turn it down...lol.



20
PatsRule
scripting help please
  • 2004/10/30 18:20

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Hi... I would like to put a poll on my site. I got it from Fantastico. It's called Advance Poll 2.03. It is a nice poll but I can't get it to work on my XOOPS site. What I would like to do is have it at the bottom of my left block. This is how I have tried to put it in my index page.

I created a custom block..called it Poll and inserted this code which the directions say to do.

<?php
// Important! You have to include it before your html code
include_once "/home/fantasy/public_html/poll/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/fantasy/public_html/poll/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>

What I see is the custom block called poll but nothing inside it.Just the header image of the block and the footer image.

The code has to be inserted in a php page. I can't put it in the theme.html file and change the name to php because then all I see is the script. And in the index.php, i don't have a clue what i would do as there is little code in there. The path above is correct. As is the code. Can anyone give me any ideas how to install this? It would be much appreciated. If you need anymore info please respond and i will post what you need to know. Thank you in advance.




TopTop
« 1 (2) 3 4 »



Login

Who's Online

141 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 141


more...

Donat-O-Meter

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

Latest GitHub Commits