OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Not seeing customized changes in setup form

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Not seeing customized changes in setup form

Postby JZief » Fri Dec 15, 2006 10:12 am

Hello (again),

I feel embarassed for asking such a question but: I can not see any change in the setup form for Journal policies after I have added markup code to the step2.tpl template file in templates\manager\setup, added the message keys to the locale.xml file and added in the new key-value pairs to the array in JournalSetupStep2Form.inc.php.

I have also cleared the template cache before rerunning.

What have i missed?

Thanks,

Joel
JZief
 
Posts: 11
Joined: Wed Dec 06, 2006 1:38 pm

Postby asmecher » Fri Dec 15, 2006 11:46 am

Hi Joel,

Those changes should be all you need to make; make test addition somewhere near the top of step2.tpl, something hard to miss, and see if it appears. The template cache should be automatically rebuilt.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby JZief » Mon Dec 18, 2006 11:19 am

Hello Alec,

Nothing new appears after I make simple additions to .tpl file. It is not a caching issue in IE since it does not work on another machine either; i have restarted IIS-6 on the server to wipe the cache there. Still nothing.
Could there be config issues with Smarty? What else could it be?

Thanks,

Joel
JZief
 
Posts: 11
Joined: Wed Dec 06, 2006 1:38 pm

Postby asmecher » Mon Dec 18, 2006 12:10 pm

Hi Joel,

When you deleted the template cache, did you use the Site Administrator's function via the OJS UI, or did you delete the cache manually? You might have a file permissions problem preventing OJS from deleting and re-compiling the template files. Try deleting all files in cache/t_compile and trying again. Make sure that OJS has permissions to create and administer files in this directory (and, in fact, the whole cache/ subtree).

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests

cron