I was thinking of a different method to do a search of htmlpages... What I would like to do is make an HTML block with a search box in it. It would be nice if I could make it so that it would scan htmlpages titles and and display the htmlpage PID.
For instance....
A user searches for S6011 in the block
The search would scan all the titles of the htmlpages for the one titled S6011
When it was found, that page would automatically be displayed if found.
Otherwise a "Could Not Be Found" page would be displayed.
Maybe is might be as simple as scanning the pn_htmlpages mySQL table in the title column and using the corresponding PID from the pid column where '#' is in the following link...
http://www.divinelighting.net/index.php?module=htmlpages&func=display&pid=#
Im a complete noob at this :(
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Alternate Search Method For htmlpages??? (Looking For One)
-
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2204
create and HTML block:
Code
<form action="index.php?module=htmlpages&func=display" method="get">
<div>
<label for="html_pid">Page ID:</label>
<input id="html_pid" type="text" name="pid" />
<input type="submit" value="submit" />
</div>
</form>
..that should work fine.
bye :)
edited by: InvalidResponse, Nov 10, 2006 - 08:55 PM
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
