SimplePortal
Support => English Support => Topic started by: accludetuner on October 10, 2011, 07:48:01 PM
-
I almost feel bad for asking for help on such a simple issue but I can't figure it out.
I have SMFwiki installed and simpleportal displaying a left column on all pages of the site, including the wiki pages. I want to display a custom html block only on the wiki pages. I created the block, gave view permissions to all usergroups, and I seem to be having issues with the custom display options.
Site is in the domainroot.com/main/ directory. The wiki loads from the domainroot.com/main/index.php?action=wiki url which then gets redirected to domainroot.com/main/wiki/page=Main_Page due to SEO friendly links but that is also equivalent to domainroot.com/main/index.php?action=wiki;page=Main_Page. All pages in the wiki get converted to the /main/wiki/page= format, but they are equivalent to /main/index.php?action=wiki;page=
Here's what I've tried and none of these seemed to work.
~index.php?action=|wiki
~/index.php?action=|wiki
~../index.php?action=|wiki
~main/index.php?action=|wiki
~/main/index.php?action=|wiki
~../main/index.php?action=|wiki
~domainroot/main/index.php?action=|wiki
~http://domainroot/main/index.php?action=|wiki
~index.php?action=wiki;page=*
~/index.php?action=wiki;page=*
~../index.php?action=wiki;page=*
~main/index.php?action=wiki;page=*
~/main/index.php?action=wiki;page=*
~../main/index.php?action=wiki;page=*
~domainroot/main/index.php?action=wiki;page=*
~http://domainroot/main/index.php?action=wiki;page=*
What am I doing wrong?
-
Have you tried:
index.php?action=wiki
-
If you have action=wiki in the URL, these should work:
wiki
~action|wiki
If you only have page= in the URL, this is the best you can do with 2.3.3:
~page
2.3.4 supports PHP expressions too. So it would be a lot easier when it's out.
-
~action|wiki
Worked!
Thank you!
-
Ive always had trouble with this and the help page is completely useless to anyone new ... far from 'simple'.
I went through the same steps as this person until ... utter frustration.
This symbol acts as a wildcard, allowing you to include dynamic actions like ../index.php?issue=* or ../index.php?game=*. Used as ~action
A real / complete example is needed on the popup help page.
-
Well, I think we did our best with the help pop-up and people can ask here whatever they couldn't figure out. If you have case where you couldn't find the right display option, let me know. I don't think there is any case that our advanced custom display options can't handle.
-
Ok Spok ... I only just got the hang of it and 3 posts up even 'Hero Member' got it wrong recently (on nearly 2000 posts).
Looks like a universtity entrance exam text for Vulcans!
I will have a look at the wording and see if I can get it to look understandable for non-boulean brains.