Shape 5

Joomla Templates => Game Vision - October 2007 - Club => : buschmaster54 October 27, 2007, 01:29:36 AM



: Multible page styles on site?
: buschmaster54 October 27, 2007, 01:29:36 AM
I need to use several different backgrounds throughout my site.  How do I do this?  PHP index? or do I need to set it up each time before i upload it and give each a unique name then use assign function in admin? I am trying to replace "replicant" with this template and the guy that writes the code aint so happy about it. Please help.


: Re: Multible page styles on site?
: mikek October 27, 2007, 10:19:22 AM
buschmaster54,

Are you trying to:

1. Use differently backgrounds on specific pages? ex: Contact Us has one background, About Us another, FAQs another, etc. ?

or

2. A different background throughout the entire site depending on who is logged in?

Joomla isn't really setup to do either, but I can write you a pretty simple solution to number 1, number 2 I'd have to put some thought to.

Let me know.


: Re: Multible page styles on site?
: buschmaster54 October 27, 2007, 10:18:25 PM
1st of all why did I not get this in my email?  2nd I am hosting clan competitions, leagues and each game ( however it mat be) needs to have its own look.  The user profiles and the forums need to have their own looks as well.  Can this be done by setting the user options 1thru whatever or do I need to customize each page then upload it?  I am starting to wish I had never let them talk me into joomla even though I have learned alot from it. 10K and I still have squat after 3 months!


: Re: Multible page styles on site?
: mikek October 27, 2007, 11:23:52 PM
buschmaster54,

I think I understand what you are trying to accomplish but unfortunately that's not something that Joomla can do. Joomla gives you the ability to assign different templates to different pages of the site but not different users. There's just simply not a way to customize looks of the site on a per user basis. I know that's not the answer you're looking for. But unfortunately, that's how Joomla is setup.

Regards,


: Re: Multible page styles on site?
: buschmaster54 October 28, 2007, 11:49:24 AM
sorry I worded it wrong.  terminology changes from one thing to another.  I am not trying to give each user a different look just each page in the site a different look no matter who is on they should see the same thing.  Joomla realy would be magic if you could give each and every person a different look! For example I want to use a call of duty picture in the COD2, COD3, COD4 leagues sites each unique. front page to look different than any other page in the site and so on and son on.  I am aware of the assign function in the admin section but that does not change the background picture from the halo league to the call of duty league to the gears of war league.  I hope I have said it a little better this time I am having the this problem with web masters period. I speak texan you guys hear redneck! LOL.

Busch


: Re: Multible page styles on site?
: mikek October 28, 2007, 10:28:49 PM
You can do that by assigning a different template to each page in the Template Manager section of Joomla. But what you will have to do first is install the template multiple times. But you'll have to do some editing of the template first otherwise it will keep installing the template in the same game_vision folder; you want multiple templates in multiple folders as your end result. To do that:

1. Unzip the the game_vision folder to your computer.
2. Open templateDetails.xml and change:

   <name>gamevision</name>

to:

   <name>gamevision2</name>

3. Then open index.php and do a find replace for gamevision and replace with gamevision2
4. Next create a folder in your templates folder on your server and call it gamevision2
5. Upload all the files and folders to the folder you just created through ftp

In the backend of Joomla you should now have two gamevision templates. The original gamevision and the new duplicated version gamevision2. If you click the radio button next to one of the templates and hit the assign button you can then pick which menu items you want that specific template assigned to. Make sure that one of them is set to unassigned, that will be the default template.

In the new gamevision2 just create a new background image and upload it to gamevision2/images/

I hope that all makes sense. It probably sounds more complicated than it really is.

You'll have to repeat this for as many backgrounds that you want to use.

Let us know if you run into any questions,


: Re: Multible page styles on site?
: buschmaster54 October 29, 2007, 07:35:29 AM
now we are on the same page!  Just one question... can't I just do the editing on my pc then rename each and upload them that way so I do not have to keep going to the online folders. I f I just replace the logo and picture rename it then upload it with unique name it should work right? anyway until I hear different I started this morning doing just that. Now I am starting to get excited.  Now if I can just find the right database for the the leagues stats and challenging system.  3 months ago I did not even know what a PHP was! and had never even seen the admin section of a site before....this is fun stuff.  Not quite what the Infantry offered me but still fun.  when you stop learing your dead.


: Re: Multible page styles on site?
: mikek October 29, 2007, 07:44:06 AM
Yes, you can work on the files on your pc and just upload the files through ftp....it will go much quicker that way. Just make sure you edit the xml file to point to the new folder name and do the find replace in the index.php file to the new folder name (or else it will look at the original folder)

Glad it's all working out for you!


: Re: Multible page styles on site?
: buschmaster54 October 29, 2007, 09:07:35 AM
another problem has come up now that I worked the other one out (I think) it will not let me assign the template to a sub-menu item or better yet when I go to assign the template the submenues do not even show up.  what now?


: Re: Multible page styles on site?
: mikek October 29, 2007, 09:58:29 AM
The submenus should show up for you. Are you sure you have them published? They won't appear with an indent in from of them just a larger gap after the name of the menu in the list.


: Re: Multible page styles on site?
: buschmaster54 October 29, 2007, 11:17:53 AM
I have them showing now after I put a # in the url field but now I can't get them to gp to the template I am trying to assign. can you give me an example of how to link them together. I don't know if url link is the right thing or not but if it is I need a path to plug in and the correct path of folders did not work. :-\


: Re: Multible page styles on site?
: mikek October 29, 2007, 11:28:34 AM
Can you post the url of the site and give me an example of the menu item you want to set?

As long as you have a menu item created for the main menu it will be an option in the assign template feature.


: Re: Multible page styles on site?
: buschmaster54 October 29, 2007, 01:17:52 PM
www.modernwarfighters.com  , I have a gamvision template I names GV-cod4 and I am trying to link the call of duty 4 menu option to it but it just reloads the main page. I know the template I made works because it uploaded and it will let me make it the default.


: Re: Multible page styles on site?
: mikek October 29, 2007, 01:27:35 PM
The link you have for Call of Duty 4 is not an actual link. It needs to be linked to an actual file or component. What you have in there now is:

http://www.modernwarfighters.com/#2

What is the #2 link supposed to go?


: Re: Multible page styles on site?
: buschmaster54 October 29, 2007, 05:14:01 PM
hell I don't know I have search and search and tried many different paths. I just do not know how/where to find the item # or correct path to the template I wish to assign f/I i am staying away from it for a couple of days and firing some nasty grahms at my "webdesigner" If I had only known about Joomla I could have saved a ton of $. I wish I could get my money back and let them keep the crap it has taken 3 months to put together.   >:(


: Re: Multible page styles on site?
: buschmaster54 October 30, 2007, 08:36:01 PM
I am sure you know the "typical" layout of a joomla site and where the templates are stored. any chance you could give me a couple of "examples" of a path that might work.


: Re: Multible page styles on site?
: mikek October 30, 2007, 08:58:42 PM
buschmaster54,

The links go to pages that you have content on or a component in the Joomla install. Are you trying to link it to a specific page or a component?


: Re: Multible page styles on site?
: buschmaster54 October 31, 2007, 01:47:20 AM
let me try this again, This is killing me I have just about everything plugged in and working, "just about" I still have no clan league database! but I cannot figure out how to link one page to another. ( I am well aware of the assign funtion) and I have successfully changed the template to match the look I want for the page I want (it uploaded just fine) I just cannot figure out how to figure out the url path. please throw out some examples I could try.  when I use the direct path to the index.php or even just the folder I get "restricted area!" WTH? please help.

busch


: Re: Multible page styles on site?
: mikek October 31, 2007, 07:15:11 AM
Busch,

There are multiple types of links that you can create through Joomla. I really need to know what page you are trying to link to so I can help you create the link.

Here are some example in the mean time though.

In the backend of Joomla go to menu/mainmenu through the menu system at the top. Then click the New button in the upper right to create a new link. This will bring you to a large list of link options.

If you are trying to link to a content item that you setup you would select Link - Content Item and click next. The next screen will ask you what item you want it linked to and a few other options. If you wanted to link to a component you would select component from the list and it will then ask you what component you want to link to. If you have a static page that you created outside of Joomla that you want to link to then you would select Link - url and then put in the actual url of the page you are linking to.

There are a couple of visual tutorials here found on Joomla's site for menus:

http://help.joomla.org/component/option,com_wrapper/Itemid,253/