View Full Version : templates
hi
i am looking for a template designer for the client software and/or someone to incorporate the client into wordpress.
if anyone has time or any templates they have can you pm me
thanks
paul
is there anyone who does client software templates?
Bluesplayer
31-01-08, 13:36
Hi
I have found it remarkably simple to incorporate the shopping code into any template. In fact I have just re-designed my site using a downloaded yahoo email for a bit of fun for my new domain. Now my shop looks like a yahoo email :) . I have also incorporated a minibb forum and phparcadescript all working off the same simple design.
http://bluesplayer-shopping.co.uk/indexshop.php
Here is my previous design using my arcade template:
http://bluesplayer.co.uk/shopping/indexshop.php
How to do this with something like wordpress?
Well going by other scripts I have looked at all you need to do is find the wordpress template file - which will need a side panel for the category menu and main section for the shop results - and incorporate it into the shopping template files. You alter any references to any file such as the style.css in the wordpress template with direct urls (url to where the style.css is in the wordpress directory - no need to use a full domain url but just /wordpress/templates/style.css for example). Same goes for any graphics the template might use. Then just create a new template in the shopping template directory or adjust one that is already there. You then use the template for the 4 files that the shop uses - index.tpl, category.tpl, product.tpl and search.tpl. If you look inside the index.tpl file for example the only code that you really need for the shop to work with the new template is:
{include file="elements`$DIRECTORY_SEPARATOR`category_tree.tpl"}
(left of right side menu so place the code there)
{include file="elements`$DIRECTORY_SEPARATOR`search_box.tpl"}
(place above the main content)
(main content here - create something and put the code here)
{include file="elements`$DIRECTORY_SEPARATOR`hot_picks.tpl"}
(place below the main content)
Where the above appear in the wordpress template - such as side menu and main content - remove the original code and replace with the above. Likewise the other files - category, product and search - can be used exactly the same way. There are a few other code strings to use with those though such as the breadcrumb and features coding. Still very easy to work out where they should go.
If you have created a new template then you will need to tell the shopping script to use the new one by altering the /includes/smarty/configs/config.inc file.
You adjust the way the product lists display - and others - by altering the files found in the elements directory.
Once you get the hang of the above you can make the shopping script appear as an integral part of some design in a matter of hours :) .
Bluesplayer
09-02-08, 10:29
Might be of interest to anyone wanting to design a template. Private message sent:
I have knocked something up for you. I haven't the time to develop it any further as I have tons of my own work to be doing - multiple sites etc. You can try this and you can probably see how I have managed it. It works off the Wordpress default template. You need to do the following:
Download this new template zip file here (http://bluesplayer.co.uk/test/template_wordpress.zip)
Unzip the file and load the contents into the shop templates directory. Call it templates_wordpress.
Open up
/wordpress/includes/smarty/configs/config.inc - if you have combined shop window with wordpress, else open up:
/shop directory/includes/smarty/configs/config.inc
and rename the templateDir to template_wordpress and save.
You can either load the shop script directly into the word press directory but make sure you rename the index.php file to indexshop.php file first, otherwise you will overwrite the wordpress index file. By loading the contents of the shopping script into the same directory it appears as if the shop is working off wordpress with regard to urls etc. You do not have to do this and you can load the shop into any category you like as it should still work ok. If you do want to use the shop from the same directory you will need to open /wordpress/includes/constants.inc.php (this is the shop window include directory now residing in the wordpress directory) and alter define T_index to indexshop.php.
All the files found in templates_wordpress - 4 .tpl files - index, category, product and search are looking for the directory wordpress in the root of your website. If you have it elsewhere then alter all references to /wordpress in all 4 files (index.tpl, category.tpl, product.tpl and search.tpl) - do a simple replace search.
Check out the demo on my site here (http://bluesplayer.co.uk/wordpress/indexshop.php)
Wordpress works off the index.php file if you want to check. I will put a link on it now for the shop.
There is a lot of code that needs removing and altering from all the files, especially those that reside in the element directory and I will have another go when I have time. You should be able to see how it is done though for now.
Regards
Mark (Bluesplayer)
The above method is very easy to do. First of all I copy an existing shop template and rename it first. In the above I renamed it template_wordpress. Then I simply load up the script I want to use (Wordpress for example) and view source. Then copy that source and use it as a new template file. Simply use direct urls to any references it makes to the Wordpress files for example. I then use the code that exists in index, category, product and search tpl files in the appropriate places in the new template. Obviously the new template will need to read both style.css files of Wordpress and the Shop Template. You will need to remove lots of code from the shopping style.css so that the new template controls some parts of the shop styling - such as any references to the categories which is being controlled by Wordpress in this case.
The above isn't the best way to go about this but is probably the easiest to do. The more involved method would mean that instead of html code the new template would use php coding and be connected via database etc with the actual script itself - both Wordpress and the Shopping at the same time. This is the ideal way but takes longer to setup. The above is really 4 separate files that will need to be worked individually. Once setup though you won't have to work on it unless you want to rename the site or something.
An easy way to make the shop window appear as an integral part of any design - an illusion really :) .
Regards
Bluesplayer
Bluesplayer
15-02-08, 18:50
Hi
I have used the above method to make another new shop design. It will be used for the forum and uk shop listings too probably. The shop will also be left alone to stabilize as I have messed about with it a bit too much lately ;) . It does seem that the above method is workable in nearly all other script templates.
Only took a short time to enter the shopping code into the new design. I think the look is pretty impressive. It was a template that my new Software site was using (soon to be an orange and green template).
Do you like the new look?
Regards
Bluesplayer