1
soconfused
problem with search after cloning module
  • 2005/9/9 10:36

  • soconfused

  • Not too shy to talk

  • Posts: 108

  • Since: 2005/4/2 1


Hi,
I made a clone of the smart section module (xoops 2.0.9.2)
Everything works fine except there is a format/style sheet problem with the XOOPS search, for some reason if you search for anything the resuts are outputted with no header, footer or stylesheet just the results, it still returns results ok. It's probably something quite simple to fix (I hope) Any clues as to how I might fix it?

I've saved the search results page so you can see what I mean - this is all the html the search page generates:








Search Results


Keyword(s): ghtyth

Message Board


No Match Found for your Query


xcGallery


No Match Found for your Query


SmartSection


No Match Found for your Query


Edito


No Match Found for your Query


Articles


No Match Found for your Query


Articles


No Match Found for your Query


WF-Channel


No Match Found for your Query


wfsection


No Match Found for your Query


SmartClone


No Match Found for your Query


AM Events


No Match Found for your Query


weBLog


No Match Found for your Query


myMedia


No Match Found for your Query


Small ads


No Match Found for your Query







Once the cloned module is disabled the results return to normal.

2
LazyBadger
Re: problem with search after cloning module

Try to check deeply smartsection_search function in cloned module... Maybe some old names wasn't replaced?
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

3
soconfused
Re: problem with search after cloning module
  • 2005/9/9 11:14

  • soconfused

  • Not too shy to talk

  • Posts: 108

  • Since: 2005/4/2 1


Hi,
Thanks for replying, I've looked through the code & searched it but can't see anything.

4
marcan
Re: problem with search after cloning module
  • 2005/9/9 11:38

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Hi,

Thanks for the feedback. I was able to easily reproduce teh bug and if the phpdebug is active , a nice little fatal error is displayed, telling us exactly where the bug is coming from .

This is indeed a bug that will be fixed in next release.

In the mean time, you can perform these Find and Replace action on the original smartsection in order to fix the bug and be able to clone it again properly, following the same instructions in clone.txt. Remember, case sensitivity is essential.

ssItem => SmartsectionItem
ssitem => smartsectionitem
ssCategory => SmartsectionCategory
sscategory => smartsectioncategory
ssFile => SmartsectionFile
ssfile => smartsectionfile

Let me know !
.:: marcan (aka mal aka Marc-André) ::.
.:: Open Source :: The SmartFactory ::.
.:: XOOPS Professional Services :: INBOX International ::.

Login

Who's Online

420 user(s) are online (336 user(s) are browsing Support Forums)


Members: 0


Guests: 420


more...

Donat-O-Meter

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

Latest GitHub Commits