To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.


Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Select language:



  • *Total Members: 4442
  • *Latest: Argon2

  • *Total Posts: 16406
  • *Total Topics: 2506
  • *Online Today: 14
  • *Most Online: 292
(12.11.16, 09:37:31)
  • *Users: 0
  • *Guests: 0
  • *Spiders: 7
  • *Total: 7

  • *Yahoo!
  • *Google (3)
  • *Baidu (3)

Author Topic: [Free] Search Single Pages made in PortaMX - How?  (Read 10252 times)

0 Members and 0 Guests are viewing this topic.

Offline CBG

  • Newbie
  • *
  • Posts: 11
  • Gender: Male

I would like to be able to create some Single pages in PortaMX, which I can do.
But I would like to create a search for it to search Single Pages, for words.

I am unsure where to search for it to be in Single Pages and how to do the PHP code and display it.


Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5786
  • Gender: Female
Re: [Free] Search Single Pages made in PortaMX - How?
« Reply #1 on: 08.06.13, 01:13:05 »
Search for what? text in the content?
Well .. that is not simple and very database intensive.
Globally steps
1 .. get all content from the single page blocks
2 .. convert bbc/htm/php or what ever the content is in
3 .. find the search phrase
4 .. show the matched pages
Many are stubborn in relation to the path, a few in relation to the target.

Offline CBG

  • Newbie
  • *
  • Posts: 11
  • Gender: Male
Re: [Free] Search Single Pages made in PortaMX - How?
« Reply #2 on: 08.06.13, 11:25:21 »

I would was thinking more of just the title of the page, but it a set way

Let say I have 2 pages for a game which is called Black Ops 2 for example

I would have the following titles

Black Ops 2
Videos - Black Ops 2

I would want it to display just the first Black Ops 2 and not the Videos - Black Ops 2 link.

So let say I get the PHP code to search MySQL etc...

Do I need to make a PHP block and then put the block on the area I want?

The other question I have if I put it above the welcome block on the frontpage, where would the results display it it be in the same place?