PDA

View Full Version : editing searchwidget.php


steven s
06 Dec 2009, 23:00
I plan on using a search widget that looks for all posts with a specific prefix in specific forums. Then I need to sort by title.

I can replace

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


but then need to remember to make the edit each time I upgrade.
Or I can possible rename searchwidget to searchwidget2 and find all the references to it.

Is there a cleaner way to do this?

Lynne
06 Dec 2009, 23:17
Create a new widget by copying that one? (No, I've never done that, but there is a blog on creating widgets, so it obviously can be done.)

steven s
06 Dec 2009, 23:35
I'm OK with the widget.
I want to avoid editing a core file.