UserBox

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

Sponsored Links

+- Recent Posts

Re: ShoutBox returns a blank page by EzPortal
April 21, 2014, 09:25:14 am

Re: ShoutBox returns a blank page by [ZA]Zeeshan.
April 19, 2014, 10:40:17 am

Re: ShoutBox returns a blank page by Jonas1975
April 11, 2014, 04:15:09 pm

Re: ShoutBox returns a blank page by EzPortal
April 08, 2014, 09:30:43 am

ShoutBox returns a blank page by Jonas1975
April 08, 2014, 04:52:04 am

Login Block Problem by Ace
April 04, 2014, 10:56:51 am

Shoutbox - redirect on post by reegad
March 23, 2014, 04:48:22 pm

Re: Greek translation - Ελληνική μετάφραση by geogeo
March 19, 2014, 06:53:30 am

Re: ezPortal 2.0! Released by EzPortal
March 10, 2014, 06:43:50 pm

Re: ezPortal 2.0! Released by Jonas1975
March 10, 2014, 06:26:41 pm

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 3868 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: 821
  • Karma: 51
    • 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