UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Sponsored Links

+- Recent Posts

Countdown Counter by charmerSC
May 08, 2013, 04:30:06 am

Re: version 1.0 errors by diamondswordgaming.net
May 06, 2013, 06:16:33 am

Re: version 1.0 errors by EzPortal
May 02, 2013, 12:53:16 pm

version 1.0 errors by lazo50
May 02, 2013, 12:37:04 pm

Re: When THe forum is closed for "renovation" Is there a way to create... by denden60
April 29, 2013, 03:49:03 pm

Re: Buttons not displayed by EzPortal
April 29, 2013, 01:13:53 pm

Buttons not displayed by geogeo
April 29, 2013, 01:11:12 pm

Re: When THe forum is closed for "renovation" Is there a way to create... by EzPortal
April 29, 2013, 08:14:21 am

Re: When THe forum is closed for "renovation" Is there a way to create... by denden60
April 29, 2013, 07:50:36 am

Re: ezPortal 1.0 released! by EzPortal
April 29, 2013, 07:42:04 am

Quick Menu

Announcements
Community Guidelines & Rules
How To Section
EzPortal Showcase
Support

Author Topic: Problems with Pages used as Custom Actions in v0.3.0.  (Read 3669 times)

0 Members and 1 Guest are viewing this topic.

Offline donjoe

  • EzPortal Supporter
  • *****
  • Posts: 19
  • Karma: 0
    • View Profile
Problems with Pages used as Custom Actions in v0.3.0.
« on: September 07, 2009, 05:52:34 am »
I want to use a Left-column block as a menu - to change what blocks are displayed on the Center column - and I'm thinking I could do this by creating different (empty) Pages, adding each one as a Custom Action, then assigning my different blocks to be Visible only on the desired Pages.

One problem is that it doesn't work. :) I've added a Page (visible only to the Admin), then added its URL as a Custom Action for ezBlocks, then added an ezBlock that's only Visible on that Page-Action, yet when I visit the Page URL the ezBlock doesn't show.

The second problem is that now I can't delete the new Custom Action. While the corresponding Page existed, the [delete] link just took me to the Administration homepage without deleting it. Now that I've removed the Page the [delete] link takes me to an error page saying that the Page doesn't exist. And I can't re-create it either, because the numbers at the end of the URLs of any new Pages I create keep being incremented and I'll never get "p=2" again. :D

I'll probably have to go in manually somewhere to get rid of this. Where are the Custom Actions stored?

Thanks.

Offline EzPortal

  • Administrator
  • *****
  • Posts: 770
  • Karma: 49
    • View Profile
Re: Problems with Pages used as Custom Actions in v0.3.0.
« Reply #1 on: September 22, 2009, 08:01:25 pm »
Confirmed going to add checks not to allow full urls.
The feature was meant to add custom actions of the following type

shop
gallery

etc but not
http://www.forum.com/index.php?action=myaction
or
?action=myaction;anothervariable=value
« Last Edit: September 22, 2009, 08:55:08 pm by EzPortal »

Offline donjoe

  • EzPortal Supporter
  • *****
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Problems with Pages used as Custom Actions in v0.3.0.
« Reply #2 on: September 23, 2009, 02:29:50 am »
Well, it's OK, since I've found a different way to do what I wanted, i.e. by copy-pasting the desired ezBlocks layout (including the left-side Menu) into the HTML encoding of every new custom Page I want to link to. This is better in many ways, as it allows me far more control than a Menu Block would. The only disadvantage is that I have to change all the Pages manually whenever I want to add/remove/change a universal block (not specific to any Page, a marginal block shown on all Pages).

See here (only one custom page so far): www.atei.ro
« Last Edit: September 23, 2009, 02:33:29 am by donjoe »

 

Powered by EzPortal