Bug 3930 - Extend journal setup options to site
Extend journal setup options to site
Status: RESOLVED WORKSFORME
Product: OJS
Classification: Unclassified
Component: Site
2.4.x
Sun Linux
: P1 enhancement
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-12 11:18 PST by D Askey
Modified: 2013-11-05 18:27 PST (History)
3 users (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D Askey 2008-12-12 11:18:46 PST
It would be helpful to extend the journal setup options, specifically those in step 5 that concern the layout and design, to the site. Currently, one can upload custom CSS and a banner image, but there are no options for rearranging elements, adding a left sidebar, etc.

See support thread http://pkp.sfu.ca/support/forum/viewtopic.php?f=2&t=2267 for details of the discussion that led to this feature request.
Comment 1 imtechnology 2012-07-01 02:12:43 PDT
Is there any progress on this?

It was first reported in 2008 but the option still does not seem to be available.

Likewise it seems very important (at least to me) to add at the ability to add the static pages plugin to the main site.
Comment 2 Alec Smecher 2012-07-04 10:37:01 PDT
No progress to report -- the current work-around is to alter the plugin_settings table's contents for journal_id = 0 manually. The relevant setting names OTOH are "seq" (defines order of display), "enabled" (defines enabled/disabled state), and "context" (defines which sidebar is chosen). A better solution for this will be ported to OJS as we merge OMP technology into it in the next set of releases (post-2.4.0).
Comment 3 Alec Smecher 2013-03-25 11:55:55 PDT
Implemented in OMP 1.0 / OJS 3.0 (pending release) as part of OMP UI work.
Comment 4 Andrea Marchitelli 2013-10-30 09:58:48 PDT
(In reply to comment #2)
Hi Alec,
I'm trying to add a left-sidebar sitewide.

I created a sidebar in a journal and then I modified plugin_settings table's contents for journal_id = 0 manually, as you suggested but I can not find any left-sidebar on the site home.

Here my settings:
"menulaterale";"''";0;"seq";"0";"int"
"menulaterale";"''";0;"context";"1";"int"
"menulaterale";"''";0;"enabled";"1";"bool"
"menulaterale";"''";0;"blockContent";"<p>Menu</p>";"string"
Comment 5 Alec Smecher 2013-10-30 09:59:44 PDT
Andrea, don't forget to flush your cache (rm cache/*.php -f); the changes won't take effect until that's done.
Comment 6 Andrea Marchitelli 2013-10-30 10:07:43 PDT
I flushed the cache (via site admin interface and now via SSH) but I didn't get any new...
Comment 7 Alec Smecher 2013-10-30 11:08:49 PDT
Andrea, I'd suggest stepping into the plugin source e.g. to see if the register() function is being called; I don't have that plugin's source so I can't be sure beyond that.
Comment 8 Andrea Marchitelli 2013-10-30 11:24:00 PDT
It is the custom block plugin, the standard one
Comment 9 Alec Smecher 2013-10-30 11:44:26 PDT
Ah, got it -- you'll also need to configure the custom block plugin with journal_id=0.
Comment 10 Andrea Marchitelli 2013-10-30 23:08:17 PDT
Now I have in plugins_settings:

"menulaterale";"''";0;"blockContent";"<p>Menu laterale</p>";"string"
"menulaterale";"''";0;"seq";"0";"int"
"customblockmanagerplugin";"''";0;"blocks";"a:1:{i:0;s:12:"menulaterale";}";"object"
"customblockmanagerplugin";"''";0;"enabled";"1";"bool"
"menulaterale";"''";0;"context";"1";"int"
"menulaterale";"''";0;"enabled";"1";"bool"

Flushed the cache but nothing happened.
Comment 11 Andrea Marchitelli 2013-11-03 22:07:14 PST
Solved by creating a block plugin with the menu and manually set journal_id=0
Comment 12 Alec Smecher 2013-11-05 18:27:33 PST
Glad you got it going!