1
kalamata
Changing Templates
  • 2005/3/6 0:30

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I am trying to use the Headlines module and I noticed that I get a URL of the form www.mysite.com/xoopshealine?id=1#bbc.co.uk

I edited the template so that to omit the mysite.com part but there is no save option (just a view option)...

I changed the file on the server, it has the right permisisons but still when I try to view the files through template manager it will still give me the same template.

Any ideas as to how I might overcome that?

Thanks,
George

2
jdseymour
Re: Changing Templates

Not exactly sure what you are trying to do, but you do need to clone your templates before editing. The default templates are, might as well say, read only in case you make a mistake you can always go back to the default template.

You would clone the template in the templates admin page.

HTH.

3
kalamata
Re: Changing Templates
  • 2005/3/6 18:29

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


I have done all that, but it still refuses to change the template...Just to double-check for the Headlines module, you need to change xoops_headline.index.html, don't you?

Basically I get as the hyperlink for the news, www.mysite.com/xoops/modules/index.php?id=6#www.bbc.co.uk/...

4
Mithrandir
Re: Changing Templates

You have

1. Cloned the default template set
2. Edited the cloned template
3. Set the cloned template set as the one used in system preferences?

5
kalamata
Re: Changing Templates
  • 2005/3/6 20:32

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


That's right, I have done all that but I still get the same behaviour. The changed code under xoopsHeadline_index.html reads as follows:

<h4 style="text-align:left;"><{$lang_headlines}></h4>
<div style='padding: 1px; text-align: left;'>
<ul style="list-style-image:url(images/rss.gif);">
<!-- start site loop -->
<{foreach item=site from=$feed_sites}>
<li>&nbsp;<a href="<{$site.name}>"></a></li>
<{/foreach}>
<!-- end site loop -->
</ul>
</div>

<{$headline}>

Am I going badly wrong somewhere?

George

Login

Who's Online

192 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 192


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