METHOD: In my Search Form, I have these fields:
cck_storage_location {type: select - dynamic, live value: joomla_category"}
cat_id {type: text, live: url(variable), live value: variable(id)}
cat_search_query {type: search query}
The sql for the
search query is this:
SELECT title, id
FROM #__categories
WHERE [MATCH]id||$uri->getValue('cat_id')[/MATCH]
This works great in conjunction with the Search Button, but I can I load the page with this value already assigned?
FYI...
The link created by a
List & Search type is like this:
index.php?option=com_cck&view=list&search=my_search_type&task=search
The url would look like this:
index.php?option=com_cck&view=list&search=my_search_type&task=search&itemid=115
Using
afterstore I append the link with the id of the category just created:
index.php?option=com_cck&view=list&search=my_search_type&task=search&id=20
The url now looks like this:
index.php?option=com_cck&view=list&search=my_search_type&task=search&id=20&itemid=115