SimplePortal

Support => Install and Upgrade => Topic started by: KahneFan on April 14, 2009, 09:26:58 PM

Title: How do the wildcards work?
Post by: KahneFan on April 14, 2009, 09:26:58 PM
I tried playing around with the wildcards, but I couldn't figure them out exactly. For example, say I wanted block to appear on the page below...

mysite.com/index.php?action=page;sa=Extras

Would I use...

~/index.php?action=page;sa=Extras

or

~index.php?action=page;sa=Extras

or

~action=page;sa=Extras

or... ????

I couldn't seem to get it to work.

Any help is appreciated.
Title: Re: How do the wildcards work?
Post by: Eliana Tamerin on April 14, 2009, 09:31:07 PM
You would use it like:

~page

Or you might try:

~page|Extras
Title: Re: How do the wildcards work?
Post by: KahneFan on April 14, 2009, 11:37:39 PM
I guess I'm slow. I tried it with:

~page;sa=Extras

And the block did not show up. I also tried:

~page|Extras

And nothing. So, I figured, maybe it's since I'm calling a custom page. So I tried...


~forum

and the block still did not show. Is there a setting somewhere in the config I need to click or anything?
Title: Re: How do the wildcards work?
Post by: [SiNaN] on April 15, 2009, 01:45:29 AM
You are adding a Custom Display option, right? Try this:

~sa|Extra
Title: Re: How do the wildcards work?
Post by: KahneFan on April 15, 2009, 02:23:11 AM
If you mean, adding this to the field for custom display option (per block), yes.

The above didn't seem to work either. Is this Cache dependant at all? Do I need to be clearing my site's cache for this change to appear?
Title: Re: How do the wildcards work?
Post by: [SiNaN] on April 15, 2009, 04:02:08 AM
No, it doesn't use cache. If you set the Custom Display Option as ~sa|Extra and your page url is index.php?action=page;sa=Extra it will show the block only on that page.
Title: Re: How do the wildcards work?
Post by: KahneFan on April 15, 2009, 11:11:44 AM
That's what I've tried, but it's not displaying for some reason. I'll keep playing with it.
Title: Re: How do the wildcards work?
Post by: [SiNaN] on April 18, 2009, 08:07:25 AM
I've tested and it worked for me. I may have a look at it for you if you can provide me an account with sp_moderate permissions just.
Title: Re: How do the wildcards work?
Post by: KahneFan on April 18, 2009, 11:14:17 AM
Let me know if/when you register and I'll be happy to do so.
Title: Re: How do the wildcards work?
Post by: [SiNaN] on May 04, 2009, 01:08:02 PM
I thought you would register an account for me. :P

Anyway, I've registered. Pmed the username to you.
SimplePortal 2.3.8 © 2008-2024, SimplePortal