Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Search Tweak - GPL License
02-04-2010, 10:41 AM
Post: #11
RE: Simple Search Tweak - GPL License
But how?
Look at this example:
[Image: screen.png]
TinyMce edits only the main content.
The area on the right is uneditable. I put content there with content area.
If this is News for example, the search option is highly needed.
Find all posts by this user
02-04-2010, 05:41 PM
Post: #12
RE: Simple Search Tweak - GPL License
Well, I thought of a hacky way that you can do it. In your page's content:

PHP Code:
page content up here...

<!--
<?
php include 'data/areas/areaX.php' ?>
--> 

What this does is include the context area "areaX" and comments it out in HTML. The search tweak should still be able to see it. Although, it'd be better not to use this option.
Visit this user's website Find all posts by this user
02-04-2010, 08:02 PM
Post: #13
RE: Simple Search Tweak - GPL License
Doesn't work
Find all posts by this user
09-07-2010, 06:01 AM
Post: #14
RE: Simple Search Tweak - GPL License
it is work now
Find all posts by this user
19-08-2010, 09:44 PM
Post: #15
RE: Simple Search Tweak - GPL License
How can I install this tweak? I activated it, but where and what do I have to do/code to make the searchbar actually shown?
Find all posts by this user
20-08-2010, 03:05 AM
Post: #16
RE: Simple Search Tweak - GPL License
Well, I thought I included that in the readme, but I guess I forgot it. You need to add a tweak hook where you want the search box to be:

PHP Code:
<?php
runTweak
('search');
?>

Everything else should get setup on its own.
Visit this user's website Find all posts by this user
20-08-2010, 05:14 PM
Post: #17
RE: Simple Search Tweak - GPL License
Ah, thanks!
Find all posts by this user








Forum Jump:


User(s) browsing this thread: 1 Guest(s)