Store Front Contact Us Projects Blog PHP Tutorials Community Forums Support Downloads Client Area Homepage
Insane Visions
Insane Visions - Top Navigation

Welcome Guest!. Please Login or Sign-Up to use some features of Insane Visions

Insane Visions :: Viewing Topic - Editing Templates
Home > OneCMS    



edstittle




Joined: 05/29/08
Posts: 11
Online Tag:




User is Online
Posted: 05-30-08 07:58 AM

I've been editing most of the temlates via the editor built into the admin panel. However that doesn't seem to give me access to the whole range of templates.

For example, I'd like to edit game_reviews.html or the gallery but there doesn't appear to be an option to edit there. Is there any way to do this in the control panel or via my ftp. Or are the templates stored in the SQL file?

I really have no idea with regards to SQL but if that is what the templates use I have access to PHPMyAdmin on my Hosting CP so that should make it easier, where would I locate them?

Thanks again for your help.






admin




Joined: 02/10/07
Posts: 367
Online Tag:




User is Online
Posted: 05-30-08 11:05 AM

Actually all templates are editable in the admin panel. Not everything is in a template, but most everything is.

For the Gallery, checkout - Admin > Settings > Gallery - and you can edit the "albums" template.

For the game_reviews one, I'd check out the template "latest_content". I haven't worked on OneCMS in ages, so if that's not the one, I'll look and see which it is.

But yeah, all templates are editable in the admin panel, nothing in SQL or anything you need to concern yourself with. :)






edstittle




Joined: 05/29/08
Posts: 11
Online Tag:




User is Online
Posted: 05-30-08 12:42 PM

Oh right that was simple then, thanks a lot.

Thank god I didn't have to go into the SQL lol.

Works like a charm ;),

...Edit...

http://www.nintencast.com/demo/game_reviews.html

The alphabetical ordering row above the reviews doesn't appear in the latest content file and when I edit latest content so the list of reviews appear where they should go the alphabet row stays in the same place still. Any clue as to which file the alphabet row is found in?






admin




Joined: 02/10/07
Posts: 367
Online Tag:




User is Online
Posted: 05-30-08 02:20 PM

Yeah the ABC Row thing is one of the few things that is done in the php code itself. Make sure the header and footer are split up at the right place of the layout.

If you need a bit of code before the ABC row, then you can do something like this in the header template:

< ? php
if ( $ _GET ['list'] ) {
echo "some html code here";
}
? >

EDIT: BTW, where you see unnecessary spaces...delete the spaces. (otherwise you wouldn't see the code ;) )







Insane Visions - Footer
Secured Loan - Hotel Las Vegas - United Specialties - Wills