HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Downloading a theme

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#104889 (In Topic #20462)

Non-joined user

I have been recently testing out OCportal to see if it is good enough to power my site and although I like it i fear that it is too complicated for me. Anyway my question is that can i download any theme this one for example http://luiszuno.com/themes/shinra/ and download it into OCportal and it would make the site look like that? 
Back to the top
 
Posted
Rating:
#104890
Avatar

Community saint

That is not a theme but a template.

Although the lines between the two often get blurred, the main difference between themes and a templates is that template are pre-styled pages that you modify by adding your own new content to them, whereas themes modify your existing content with a new style.

(hope that makes sense O_o )

That being said, the luiszuno template is a standalone system not designed to be integrated into an existing content management system like ocPortal.

Also, you can't just use any theme with any content management system. Themes are built for specific systems and are not interchangeable.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#104891

Non-joined user

Oh i see. Is there a easy way that i could build a theme like this but make it specifically for ocportal and is there like a step by step tutorial on how to do so? I do not possess any html or css coding skills so i would need a proper tutorial that really helps
Back to the top
 
Posted
Rating:
#104892
Avatar

Community saint

I haven't looked into exactly what luiszuno's theme is like.

There might already be an existing theme that suits you, check out Themes - ocPortal.com .

If you want to build your own theme then you can check out ocPortal Tutorial: Themeing your site - ocPortal.com , or check out Jean's tutorials in this forum.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#104895

Non-joined user

Yeah i checked out all the themes and i looked through Jeans tutorials. None of the theme have that look i want my site to have and his tutorials doesn't help me get that look either . I guess i can take a look through the main tutorial again.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by Jean)  
Rating:
#104899
Avatar

Community saint

Maybe a general overview of what you can do and where you can do it might help you get started.

The layout and organisation of the content between the header and footer of your pages can be controlled by editing either the comcode page and/or panels that make up that comcode page or by editing the templates of the module that displays the page. If you disable the Convert XHTML to Comcode option (search for HTML to Comcode in the search box at the top right corner of your adminzone), then you can use raw HTML to layout the various blocks and other content you need when editing comcode pages. Though, you may need to add semihtml or html comcode tags to get it to process and display correctly. If you don't want the right and left columns you see in the default ocPortal installation (ocPortal refers to these columns as panels), I believe if you delete their content then ocPortal won't display them or you can just delete them in the Pages editor (Admin Zone->Content->Pages)...they should be listed as :panel_left and :panel_right in the Welcome zone. You can easily edit the panels and comcode pages by clicking the Edit in Zone Editor link at the bottom of the panel or the Edit This Page link at the bottom of the page for most pages in your ocPortal web site. The exception will be pages that are displayed by modules. Those pages must be edited with the 

To alter the layout and content of the header and footer, you will need to edit the global_html_wrap.tpl template. It's always best to use the built-in editors in ocPortal due to the way edited files can override default files. If you go editing default files in their default directories, then an ocPortal update could cause your changes to be overwritten with new files. For example, the default global_html_wrap.tpl is located in the themes\default\templates directory. If you edit the file yourself outside of ocPortal, you would upload the new file to themes\default\templates_custom directory or preferably to the templates_custom directory for your own theme. The same applies to css and image files. Always save your customised versions to the _custom named directory or use the built-in editors and ocPortal will take care of all that for you. If you get into template editing, you will want to learn the ocPortal template language. ocPortal templates use tempcode and you can find the details about it in the Tempcode Programming tutorial.

Some content between the header and footer will be templated. Things like modules and blocks will be templated and possibly even consist of several templates. When logged in to your ocPortal site as an admin, look in the footer of a web page you want to edit. You should have a drop-down box labeled (Select page rendering tool). Click that and select Show Template Edit Links and your page will open in a new window with boxes drawn around the various templated content along with the template names and links to open those templates in an editor. From the same drop-down box you have various Contextual CSS Edit options to edit the various .css files that control the look of the content on that page. You can make many changes to the look of your site by simply editing the global.css file. But if you are like me and find CSS to be a bit complicated, it will be a challenge. Also from the same drop-down you have the Translate/Re-phrase the Software option. Blocks and modules use language .ini files to store common text strings instead of hard-coding them into the templates. It makes it easier to translate the site with language packs and makes it easier to make code changes to the blocks and modules where you may need to change the wording of certain text that is displayed by the block or module. Instead of tracking down that text that needs to be changed in several template files and making changes to all of those template files, you just need to track down the one language .ini file and make the change there or use the Translate/Re-phrase option in the footer of the page or from the Admin Zone->Style menu.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: