PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:directphp and joomla search (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:directphp and joomla search
#439
fosterj (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
directphp and joomla search 4 Months ago Karma: 0  
Is there any way to not have the php code show in the joomla search results?

What happens is if I add php code to a page and then do a search for something that returns that page in the results and displays the code.

so if my page has:
Code:
<p>My New page</p> 
<?php echo "Hello world"; ?> 
<p>more text here.</p>
And I do a joomla site search for "New page" the results page show:
Code:
Page title
My New page <?php echo "Hello world"; ?> more text here.
Can this be fixed so php code does not show in results page? Thanks -Jeremy
 
  The administrator has disabled public write access.
#571
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:directphp and joomla search 3 Months, 2 Weeks ago Karma: 8  
Sorry for the late reply.

Have just got the time over the weekend to look through the Joomla search source code to find out where to add the trigger for have the DirectPHP commands processed in Joomala search:

For Joomla 1.0:
How to have DirectPHP commands processed in Joomla search (for Joomla 1.0.x)?

For Joomla 1.5:
How to have DirectPHP commands processed in Joomla search (for Joomla 1.5.x)?

Regards,
/kksou
 
  The administrator has disabled public write access.
#744
bpovh (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:directphp and joomla search 2 Months, 3 Weeks ago Karma: 0  
kksou,

I'm a newbie to Joomla! and I found your how-tos for processing content really great.
They helped me a big deal.
And since you'we done it in a few places already, it would be nice to also have a how-to to process the DirectPHP (and other plugins) in the article's editors preview task in the backend.
I tried to do it myself, but I still can't figure it out exactly how it works.

Thanks.
 
  The administrator has disabled public write access.
#745
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:directphp and joomla search 2 Months, 3 Weeks ago Karma: 8  
Would you want to elaborate what do you mean by "article's editors preview task"?

Regards,
/kksou
 
  The administrator has disabled public write access.
#766
bpovh (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:directphp and joomla search 2 Months, 2 Weeks ago Karma: 0  
While editing an article in Joomla 1.5 backend , there is a button 'Preview' in the toolbar.
Clicking it opens a lightbox window and shows the article, but the plugin strings in the content are not processes, the same way as for default pdf creating, rss... from your other 4 how-tos.

regards,
Bostjan
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2008. kksou.com. All Rights Reserved