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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 8860
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: 8860
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 6 guests