1
weeble
Re: Headlines Module Question (yes, more)
  • 2005/1/12 12:52

  • weeble

  • Just popping in

  • Posts: 3

  • Since: 2005/1/6 1


Thanks everybody for your replies. The stress has been too much for me and I had to go away for a quick holiday

I'll have a play around with it again and see what I can do. Of couse, another way for me to find out how to implement it successfully would have been to track down a XOOPS site running Headlines successfully and ask them how they set it up - doh!

Didn't think about that until I was on the boat on the way to my holiday.

Thanks again though for your replies.



2
weeble
Re: Agenda-x Date format - How do I change?
  • 2005/1/6 16:01

  • weeble

  • Just popping in

  • Posts: 3

  • Since: 2005/1/6 1


I'm a complete n00b to XOOPS and all that goes with it. I also wanted to change this as it's not a logical format for my users to follow.

I'll probably be burnt at the stake for the way I did it but I just changed the code in the index.php file so that no matter what the _SHORTDATESTRING result was, the format was the same for all three options (n/j/Y, j/n/Y, Y/n/j) [where j=day, n=month & Y=year]. I know I should have found the file where the string is defined, but I've been up for too long and I got tired of looking at the screen.

Anyhow, my index.php now contains the following (I'm sure you'll find the part I'm referring to):
if (_SHORTDATESTRING == "n/j/Y") {        

      
$date_str .= _($week[$weekday]).' '.$d.$dateSuffix['ri'].' '._($maand[$m]).' '.$y.$dateSuffix['nian'];              

  } elseif (
_SHORTDATESTRING == "j/n/Y") {
      
      
$date_str .= _($week[$weekday]).' '.$d.$dateSuffix['ri'].' '._($maand[$m]).' '.$y.$dateSuffix['nian'];    
        
  } else {          
//default to "Y/n/j"
  
      
$date_str .= _($week[$weekday]).' '.$d.$dateSuffix['ri'].' '._($maand[$m]).' '.$y.$dateSuffix['nian'];    
      
  }


The result? --> Today is Thursday 6 January 2005

It's not pretty but it works for me



3
weeble
Headlines Module Question (yes, more)
  • 2005/1/6 14:31

  • weeble

  • Just popping in

  • Posts: 3

  • Since: 2005/1/6 1


I can't for the life of me figure out what I'm doing wrong. I've searched through the support forums and have found a few replies to questions that seem to answer the questions for some of those that have asked but I can't get the Headlines module working for me.

I just want to get some confirmation that I'm putting the right information into the right boxes before I give up. I've read the Headlines Module v1.0 documentation a dozen times. The only complaint I'd make is that the documentation has a great picture of the Headlines Configuraton screen but doesn't include some example URL's so that I can see where I'm going wrong.

I generally work by seeing how it's done by others and then adapt it to suit what I want.

So my question is: Can somebody who has this working please provide a practical example of the information that I need to put into the URL and URL of RDF/RSS file boxes on the configuration screen so that I can see where I'm going wrong.

Thanks in advance.




TopTop



Login

Who's Online

149 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 149


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