11
allnewtome
Re: removing date from smartsection recent items?
  • 2005/12/30 17:53

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


I don't have your module but I also had trouble getting changes to templates to take effect, until I realised that once you have cloned the default template (and set it as the one to use) then you need to change the template html within the XOOPS admin area (rather than using ftp). This seems to be the case even if "Update module template .html files from themes/your theme/templates directory?" is set to YES.

Sorry if this is too simple (or wrong) but it might be worth trying.

12
defwind77
Re: removing date from smartsection recent items?
  • 2005/12/30 18:01

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


well yes - I've deleted the templates_c files a hundred times and I've edited from both ftp and the admin templates editor!?

It's driving me bonkers - I can't see where the hell it's loading the date from!!

If I go into the ticked template - smartsection - recent_items block and edit the template it shows the file with the date references cut out - so why the hell is the date showing!

I've deleted the cache, templates_c files, sacrificed a newborn lamb, drenched myself in a virgin's blood and STILL it is not working...

Surely XOOPS can't be THIS hard! It's like it's possessed! Does anyone know of any other places that it could be pulling this date from?!

Thanks for the suggestions anyway guys!

13
gestroud
Re: removing date from smartsection recent items?
  • 2005/12/31 15:10

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


You won't see some module's template changes unless you temporarily turn on the default theme.

14
defwind77
Re: removing date from smartsection recent items?
  • 2005/12/31 15:30

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


hmm good idea - i tried turning it on and viewing it - it still shows the date on the default - and then when i change it back - it stays showing the date!

Any other tests you know of Gestroud? I can post any bits of code or check any settings you require.

15
gestroud
Re: removing date from smartsection recent items?
  • 2005/12/31 15:55

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


OK. So far you've

1. Changed the module's template correctly to reflect the desired change.

2. Cleared out templates_c

3. Set "Update module template .html files from themes/your theme/templates directory?" to "Yes."

4. Turned on the default theme.

5. Updated the module in your site's admin area.

6. Gone to your site's home page and viewed it in the default theme.

7. Refreshed the page.

8. Given oblation to a diety of your choice from each of the major religions

and it still doesn't work? I've gotta take a look at the module.

16
defwind77
Re: removing date from smartsection recent items?
  • 2005/12/31 16:55

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


heh I'd love to say I've missed something - but I've just gone AGAIN through your steps and STILL it doesn't change a thing!?

Oh by the way - oblations were just to major deities (as supported by Microsoft Religion) - I didn't bother with any Aztec Sun Gods - I believe you don't need to with XOOPS 2.2+?

17
gestroud
Re: removing date from smartsection recent items?
  • 2005/12/31 17:16

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


What template set are you using in the Admin Preference-->General Settings section? Is it set to "default" in the drop-down menu? Or are you using a clone or a replacement?

18
defwind77
Re: removing date from smartsection recent items?
  • 2005/12/31 19:36

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


I'm using a slight mod of the cleanblue template - although I've tried it with the default XOOPS one and it still doesn't work.

Also I've done similar modifications of the News 1.44 mod and one other and they worked great - so I'm not sure if it could be the template?

19
defwind77
Re: removing date from smartsection recent items?
  • 2005/12/31 19:40

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


oh and I'm using a cloned template - if I wasn't clear above - I've tried recloning it too...

20
gestroud
Re: removing date from smartsection recent items?
  • 2006/1/2 14:22

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


ACK! I only used a cloned template once and didn't have much luck with the results, so I've kind of left them alone.

I have a feeling that that's probably the difficulty. Another thought is: What cache times have you set for the module and its blocks?

Login

Who's Online

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


Members: 0


Guests: 147


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