OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



HTML code

OCS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, michael

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page. While these are OJS-specific, the OCS codebase is similar enough to OJS they should be of help. There is also an [url=http://pkp.sfu.ca/ocs_documentation[/url]OCS Documentation[/url] page with some more general documentation that might also be of interest.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a technical support question, try the OCS Technical Support subforum.

HTML code

Postby dalvimohammad » Wed Aug 08, 2007 12:17 am

Hi......
I want to decorate conference system pages ,for this reason I need HTML codes,I want to know that the HTML codes of pages are produced where?....also I know that I can decorate them by CSS folder,but the problem is that the CSS files is so general....
thank you in advance....
dalvimohammad
 
Posts: 3
Joined: Wed Aug 08, 2007 12:10 am

Re: HTML code

Postby asmecher » Wed Aug 08, 2007 8:29 am

Hi dalvimohammad,

If you want to modify the HTML code generated by OCS, you need to modify the Smarty templates in the "templates" directory. If there's a particular template you want to modify, I can tell you where to find it.

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

Re: HTML code

Postby dalvimohammad » Thu Aug 09, 2007 4:38 am

hi....excuse me again...
As i told you I traslated OCS to Farsi(persian language).....but I dont know how to make it possible for users to choose their language ...I mean that how can they choose their language via a drop down list...how can I show a drop down list of languages in my first page....and also I have a question about HTML again.....how can I define specific IDs for different tables in html code....where can I define ID for tables because I want to decorate them via CSS file.
thank you very much...
Mohammad Dalvi
Camputer Engineer of Isfahan University(BS).
dalvimohammad
 
Posts: 3
Joined: Wed Aug 08, 2007 12:10 am

Re: HTML code

Postby asmecher » Thu Aug 09, 2007 8:53 am

Hi Mohammad,

Check out the language settings page both on the Site Administrator and Journal Manager's homes. With these configured properly, a pulldown list will be shown on the sidebar of every page. If you'd like to move the pulldown elsewhere, you can take the pulldown code from templates/common/sidebar.tpl starting with:
Code: Select all
{if $enableLanguageToggle}
...and ending with...
Code: Select all
{/if}
...and move it into another template depending on where you want it to appear.

I'd suggest reviewing the OJS Technical Reference for information on how to find a template given a URL. It's available from the OJS Documentation page on the PKP website.

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


Return to OCS Development

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest