OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



OJS Plugin: Static Pages

The Plugin Gallery is a venue for users of PKP software to share their plugins.

Moderators: jmacgreg, michael, John

Forum rules
If you post a plugin here, please include information on which versions of which applications it is compatible with. Attach a tarball of the plugin (e.g. tar cvzf myPlugin-0.1.tar.gz plugins/generic/myPlugin). Thanks for contributing!

Rate this plugin

Terrible!
1
4%
Poor
0
No votes
OK
1
4%
Good
8
35%
Great!
13
57%
 
Total votes : 23

Re: OJS Plugin: Static Pages

Postby jmacgreg » Tue Apr 26, 2011 2:17 pm

Hi Stuart,

Thanks for the feedback! I've posted this here: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=6619 -- please feel free to CC yourself to that report.

Regarding your follow-up qusetion -- that's actually still technically expected behaviour. Custom blocks are assigned to the conference website itself, and will appear in any/all scheduled conferences. Similarly, it's not that a block containing the conference information is *disappearing* when you go to the scheduled conference site -- it's that the context is changing, and the Navigation block (which includes/controls the Conference Information section) displays different information depending on the context -- and in the case of a static page, since the static page's URL doesn't include scheduled conference information, no scheduled conference information is displayed, although the rest of the block is.

Clear as mud, I know. :D

If you have any further questions, please let us know.

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin: Static Pages

Postby jmacgreg » Tue Aug 30, 2011 9:35 am

Hi crusticrab,

What kind of limit are you running into?

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin: Static Pages

Postby ramon » Tue Aug 30, 2011 2:17 pm

Hello all,

There is a database field limit on the content.
Very long pages do not fit, specially if there is a lot of HTML, such as tables, divs, lists, among others...
ramon
 
Posts: 927
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: OJS Plugin: Static Pages

Postby asmecher » Tue Aug 30, 2011 3:03 pm

Hi all,

Static page contents are stored in the plugin_settings table, specifically in the setting_value column, which is a TEXT column in MySQL. That should be plenty of room. It might be worth checking the column type.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8466
Joined: Wed Aug 10, 2005 12:56 pm

Re: OJS Plugin: Static Pages

Postby vtlozano » Tue Oct 25, 2011 12:24 pm

Hi,

I'm using Static Pages on OJS 2.3.6 and the pages I create are not showing up:

--The plugin successfully creates the page.

--The plugin allows me to edit and save the page.

--The page shows up on a list of pages created.

--I have confirmed that the page gets created in the MySql table 'static_pages'.

--I have confirmed that Apache 2.2 had loaded the mod_rewrite module.

But, once I create and try to view the page, I receive the 404 'Page Not Found' error.

Any ideas?

Thanks.

Vicente Lozano
Systems Administrator
The Undergraduate Writing Center
University of Texas at Austin
vtlozano
 
Posts: 2
Joined: Wed Nov 17, 2010 3:57 pm

Re: OJS Plugin: Static Pages

Postby jmacgreg » Tue Nov 01, 2011 2:35 pm

Hi Vicente,

I can't replicate this. Are you sure that you are going to the correct page path? What about if you click the "View" link next to the static page listed in the plugin edit/add page interface? Do you have some sort of rewrite rules in effect?

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin: Static Pages

Postby Almadl » Mon Dec 10, 2012 2:47 am

Hi all.
do you think it could be possible/useful to put a "Edit" button (Wikipedia-style) on Static pages?
I find kinda cumbersome the path you need to follow to Edit static pages
(Plugins > Generic plugins > Edit/Add content > View/Edit/Delete).

I actually think that a lot of pages could be given that Edit button (e.g. Articles),
that would improve a lot the work of Editors and JM.

Do you think it would be feasible?

Thanks for all your work.

Andrea
Almadl
 
Posts: 17
Joined: Tue Jan 24, 2012 6:08 am

Re: OJS Plugin: Static Pages

Postby Garant » Tue May 21, 2013 2:43 am

Hi!
After upgrage to 2.4.2 version I've noticed that language switch (if OJS is configured to multi language instance) doesn't work.
IE throws a JS error:
Code: Select all
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Tablet PC 2.0; .NET4.0C; .NET4.0E; Zune 4.7)
Timestamp: Tue, 21 May 2013 09:42:50 UTC


Message: 'document.getElementById(...)' is null or not an object
Line: 136
Char: 2
Code: 0
URI: /lib/pkp/js/functions/general.js


Message: 'document.getElementById(...)' is null or not an object
Line: 136
Char: 2
Code: 0
URI: /lib/pkp/js/functions/general.js

Garant
 
Posts: 212
Joined: Wed May 30, 2012 8:53 am

Re: OJS Plugin: Static Pages

Postby asmecher » Thu May 23, 2013 12:17 pm

Hi Garant,

I've re-opened bug #6292 for a fix for this.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8466
Joined: Wed Aug 10, 2005 12:56 pm

Re: OJS Plugin: Static Pages

Postby Garant » Thu May 23, 2013 1:11 pm

asmecher wrote:Hi Garant,

I've re-opened bug #6292 for a fix for this.

Regards,
Alec Smecher
Public Knowledge Project Team


HI Alec!
Great, thank you!
Garant
 
Posts: 212
Joined: Wed May 30, 2012 8:53 am

Re: OJS Plugin: Static Pages

Postby Garant » Tue Aug 20, 2013 12:13 am

Hi!
Still no news for bug #6292?
Garant
 
Posts: 212
Joined: Wed May 30, 2012 8:53 am

Re: OJS Plugin: Static Pages

Postby asmecher » Tue Sep 03, 2013 9:21 am

Hi Garant,

Not yet; I'd suggest CCing yourself to the Bugzilla entry, so that you'll be notified when its status changes.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8466
Joined: Wed Aug 10, 2005 12:56 pm

Previous

Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 1 guest