4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Bomba on May 31, 2003, 02:18:01 PM
-
isn't possible to configure the text that shows in the search results page?
i mean, it always shows "Seach" xx images in xx pages...
can't i configure to show the text that we inserted in the search field?
eg:
i'm searching for all pictures in "black and white"
result page would have the title "black and white"
see what i mean?
thanks
-
yes, but only with new version of paging.php file:
http://www.4homepages.de/forum/viewtopic.php?t=5761
[EDITED] actualy, if u mean just title (clickstream), then try this:
in search.php find:$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$lang['search']."</span>";
replace with:$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].(($search_keywords) ? "<a href=\"".$site_sess->url(ROOT_PATH."search.php")."\" class=\"clickstream\">".$lang['search']."</a>".$config['category_separator'].$search_keywords : $lang['search'])."</span>";
P.S. good idea ;)
-
yeah, looks great :) thanks
and what about in {lang_search}, not possible to do the same?
anyway, thanks ALOT :D
-
good idea again ;) :D
find: "lang_search" => $lang['search']
replace with: "lang_search" => $lang['search'].(($search_keywords) ? ": ".$search_keywords : "")
-
i was thinking
isn't possible to make link to search result pages with searchable field already writen?
i mean
i have a contest running on my site, and all images that are participating in the contest should have in description field the text "contest_portrait", for eg.
now i would like to make a hyperlink in my layout point to the search page results with all images that have "contest_portrait" in their description.
this would be a public presentation of the images that are running in the contest
see what i mean?
possible?
thanks
-
why dont u just add either bbcode or HTML into your images description?
for example:
contest_portrait (http://yoursite/4images/search.php?search_keywords=contest_portrait)
or
<a href="http://yoursite/4images/search.php?search_keywords=contest_portrait">contest_portrait</a>
-
awesome v@no. didn't know that that was possible :)
thanks, it's just what i wanted
now i have one more ideia to search options
what about a date searchable field?
something like this:
eg:
search images since {start_counting} until {end_couting}
this would be cool to search all images submitted in a specific month or week, for example. Admin Control Panel has that option, but registed users don't, and i think it's a good think to have :)
and if possible i think it would be better looking on the layout if this date fields were separate, i mean, one field to year, another to month and another to day, instead of the one BIG field that ACP has in "edit images"
possible to do?
thanks[/code]
-
what about a date searchable field?
something like this:
eg:
search images since {start_counting} until {end_couting}
this would be cool to search all images submitted in a specific month or week, for example. Admin Control Panel has that option, but registed users don't, and i think it's a good think to have
not possible?
anyone? thanks
-
what about a date searchable field?
something like this:
eg:
search images since {start_counting} until {end_couting}
this would be cool to search all images submitted in a specific month or week, for example. Admin Control Panel has that option, but registed users don't, and i think it's a good think to have
not possible?
anyone? thanks
great idea im interested too :twisted: