| Topic: | 'Auto' Search Function |
|---|---|
|
mangus580
Freshman
Posts: 29 Posted: |
Ok, lets see if I can explain this. I am trying to build a setup that will give 'definitions' and related links for keywords. Frankly I am lazy, and I dont feel like keying all my related links in. I want to build a seach using code, that will do it for me, and return a list of related links. Basically, the PN search function, taking a keyword from a variable that I give it, and returning the results in a standalone HTML page, or a page that I format. I am sure that this can be done, and I can probably do it. I just need some direction as where to start. I am not quite good enough yet, to just read through the code, to figure out where I might want to start. I suppose worst case, I could always just build the search from scratch, but it would be so much easier to use the existing code and copy it. What I need...
this is related to my other topic this week, which I have about finished. http://forums.postnu…&t=47507&highlight= |
|
Simon
online Steering Committee
Posts: 13427 Posted: |
I'd write a custom hook module for this with its own search function. This way you can cache the results, as running several automatic searches on every pageload of an article would be a performance killer. -- Regards, Simon itbegins.co.uk - Zikula Consulting Please read the Support Guide |
|
mangus580
Freshman
Posts: 29 Posted: |
Good idea.... I am running this basically as a function of autolinks. Problem is I am nowhere near advanced enough to do that I dont think |
|
Simon
online Steering Committee
Posts: 13427 Posted: |
I'm sure you could get someone to write a module for you, but it wouldn't be cheap... -- Regards, Simon itbegins.co.uk - Zikula Consulting Please read the Support Guide |