1
xoopie
News module - Recent news block
  • 2005/9/1 14:55

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


Hi,

I'm wanting to use the recent news block of the 1.4 news module.

When I do and use it to spotlight an article, the article title is coloured orange by default. I have changed this colour in the block template to what I want but it is still showing as orange. Can anyone tell me where else I should change it for the colour to change, or what else I should be doing ?

Thanks.



2
xoopie
Re: News module page titles
  • 2005/9/1 10:44

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


Thanks for your help



3
xoopie
News module page titles
  • 2005/9/1 2:18

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


Hi,

I'm using the news module 1.4 and have it as the module on my homepage.

At the moment the page title which appears at the top of the screen reads as

Site Title - News Topic - Story Title - Module Name

How can I edit this so that it only reads as Site Title - Module Name ?

Google indexes the full page title which doesn't look good on the homepage.

Thanks.



4
xoopie
Removing News topics
  • 2005/4/6 17:05

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


I realise this has been covered a few times in the forums but it just doesn't seem to work for me.

I have the News module on my homepage and I would like to remove the topic before the news title i.e.:

Change News : first story title to just first story title.

I know I have to change things in the index.php of the news module, part of this code:

$story['title'] = $sarray[$i]->textlink().'&nbsp;:&nbsp;'."<a href='".XOOPS_URL."/modules/news/article.php?storyid=".$sarray[$i]->storyid()."'>".$sarray[$i]->title()."</a>";


In another post on this forum it says to remove
textlink().'&nbsp;:&nbsp;'.


so that I'm left with
$story['title'] = $sarray[$i]->"<a href='".XOOPS_URL."/modules/news/article.php?storyid=".$sarray[$i]->storyid()."'>".$sarray[$i]->title()."</a>";



Well I tried that but I just get the following error:

Quote:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING or T_VARIABLE or '{' or '$' in /home2/mysite/public_html/modules/news/index.php on line 131


So can anyone please tell me what I've done wrong ?

Thanks



5
xoopie
Re: XF Guestbook
  • 2005/2/10 3:27

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


Thanks for your help theCat

Is there any way to have the message title field as optional in the same way the email field is optional ?

TIA



6
xoopie
XF Guestbook
  • 2005/1/30 2:46

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


I've just installed the XF Guestbook module and it looks good.

The only problem is I've disabled email addresses being required when someone posts a message, but it still needs a valid email address before the message can be posted successfully

Also I would like to delete the field of message title completely, what would I need to delete in which file to do that ?

Thanks.



7
xoopie
news archive edit ?
  • 2004/7/11 13:54

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


Hi,

Does anyone know how to get the news archive displayed differently, so that when an archive link is clicked the news articles open up in a new page instead of just being tagged onto the end of the original page under all the archived monthly links ?

I presume I have to edit the news_archive.html template file but I'm not sure what to do next.

Thanks.



8
xoopie
Re: Problem with System Admin
  • 2004/4/16 0:41

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


OK panic over I've managed to work out a solution which I'll add here in case someone else has a similar problem

The following link worked for me
http://mysite.net/modules/system/admin.php?fct=

This should take you to the System Admin menu to edit the group permissions.



9
xoopie
Problem with System Admin
  • 2004/4/16 0:15

  • xoopie

  • Just popping in

  • Posts: 9

  • Since: 2004/4/16


I've just recently installed the latest version of XOOPS and everything was going fine, then I edited the group permissions for the webmaster and now I cannot see the System Admin icon when I login to the Adminstration panel.

I have searched the forums here but I can't seem to find a solution that works for me.

When I tryhttp://www.mysite.net/modules/system/admin.php?fct=groups as suggested elsewhere I get a message saying selected module does not exist

Does anyone know how the group permissions are stored ? If it's in the database I can access that but I'm not sure exactly what I should change if anything.

I really hope someone can help, it was all going so well...




TopTop



Login

Who's Online

212 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 212


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