Supermac
|
Posted Mon 13 Jul 2015
|
Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153,
Visits: 874
|
You're right, to customize deeply interface I've to work on code, knowing that I will loose all on next K's upgrade... While you were answering me I opened /Front/CategoryView.ascx file (where, by the way, between the rows I found that I can show category images changing frontend.category.showimage parameter in Admin config section)... I would change this file rather than the one you suggested me (/Front/CategoryProductsView.ascx), am I wrong?
|
|
|
metalmania
|
Posted Mon 13 Jul 2015
|
Group: Forum Members
Last Active: Tue 21 Jun 2016
Posts: 36,
Visits: 165
|
You couldn't add code to the custom page content, unless it was javascript, which would run on the client machine. But then you have the problem of trying to workout what category they are actually on (e.g. getting the querystring using javascript or change Kartris to write the category to the cookie then using javascript to retrieve it to build your image src path). I think for what you are wanting to do, you'd be better off looking at changing something like UserControls/Front/CategoryProductsView - to add the dyanmic code you need based on the category (CategoryID). However, referring back to your first query, the more changes you make to the original code, the more work it will be when there's a new Kartris software update.
|
|
|
Supermac
|
Posted Mon 13 Jul 2015
|
Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153,
Visits: 874
|
Well, it works, I've been able to "inject" html code and slightly customize category page using custom page and syntax suggested. Now one step ahead: can I add only html code or is it possible to add even dynamic code, i.e. is there a way to recall and use as part of image's path the ID of the category currently showed?
|
|
|
Supermac
|
Posted Fri 10 Jul 2015
|
Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153,
Visits: 874
|
Great! This was the input I was looking for, thank you a lot!
(a beer paid when you'll come in Italy :-) )
|
|
|
metalmania
|
Posted Fri 10 Jul 2015
|
Group: Forum Members
Last Active: Tue 21 Jun 2016
Posts: 36,
Visits: 165
|
The content of the default custom page is inserted via the following code in Default.aspx<user: Page ID="UC_Page" runat="server" PageName="default" EnableViewState="False" />
i.e. any user content defined with a PageName of "default", will be displayed on the home page.
If you want to move that further down, then move it after the "Various highlighted products and info" div. You probably wouldn't want to add it to template.master as then it would appear on EVERY page!
To add custom content to a category page, change the Category.aspx, likewise for a product change the Product.aspx. You could create a custom page called "category" and use that in your category page i.e. <user: Page ID="UC_Page" runat="server" PageName="category" EnableViewState="False" />
The above a simple way of adding this custom content, it will appear close to the bottom, but possibly not directly above the footer, as you might get "Recently viewed" product info etc right at the bottom.
Fri 10 Jul 2015 by
metalmania
|
|
|
Supermac
|
Posted Fri 10 Jul 2015
|
Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153,
Visits: 874
|
up I'll be asked to customize some pages (i.e. category page inserting some images and other things) I need to learn how... any suggestion is welcome Thx
|
|
|
Supermac
|
Posted Tue 30 Jun 2015
|
Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153,
Visits: 874
|
thank you metalmania! Following demo example I created a custompage named default and inserted in it the code of Orbit slider and it appeared even in my homepage. Is not clear to me why this happened: who told to my homepage to show content of custompage? I can't find template.master or default.aspx code insertion point of custompage's content... how could I modify the position of the slider moving it just above the footer? If I'd want to reply this thing in another page, what should I modify?
Tue 30 Jun 2015 by
Supermac
|
|
|
metalmania
|
Posted Sat 20 Jun 2015
|
Group: Forum Members
Last Active: Tue 21 Jun 2016
Posts: 36,
Visits: 165
|
If you use one of the skins/themes provided in the free download then you will notice there is an image slider included (Orbit - http://foundation.zurb.com/docs/components/orbit.html). The code for this is held in Kartris as a "Custom Page" - named Default, and inserted into the default.aspx page.
This Orbit content is held in the database itself, so would not be effected by a Kartris upgrade - i.e. you would not lose this database content (like you wouldn't lose all your customer and order information).
The home page slider/Orbit code is amendable via Miscellaneous -> Custom Pages option in the Admin area. There is nothing to stop you changing or even adding to this content (i.e. adding your own company blurb under the slider) as you desire - you can read more about custom pages and the Default content in the manual here http://userguide.kartris.com/Default.aspx?headID=356.
Sorry if this a bit simplistic, I might not have understood your question correctly.
Sat 20 Jun 2015 by
metalmania
|
|
|
Supermac
|
Posted Thu 11 Jun 2015
|
Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153,
Visits: 874
|
Is there a way to customize default.aspx page, i.e. adding an imageslider or something else, and be assured that upgrading the system my customization will still be there after updates? I'm a K-newbie so please be patient if my question appear stoopid... probably it is! Is there somewhere a good practice manual for customization? thx u all
|
|
|