Hi Jerome,
I need creating custom template. I have website www.bluesat.cz and I want to implement your CMS.
CUSTOM TEMPLATE without STYLESHEET (I don't want styleswitcher)
1. Step - Creating new template from original
This is in FAQ. It is simple.
2. Step - change preview image
I change image preview.jp in root of my template ('tempate/bluesat').
3. Step - uninstall.php
File for uninstal Bluesat template. I change this from
$jakdb->query('DELETE FROM '.DB_PREFIX.'setting WHERE product = "tpl_jakweb"');
to
$jakdb->query('DELETE FROM '.DB_PREFIX.'setting WHERE product = "tpl_bluesat"');
4. Step - install.php
I remove all value in 'Insert tables into settings' without last row.
Last row is for information about template instalation
("cms_tpl", "bluesat", "1", "1", "yesno", "boolean", "tpl_bluesat")');
other value is only for styleswitcher.
Bluesat template v1.0 is in
www.bluesat.cz/download/CMS_bluesat_template_v1.0.zip
Jerome, step 1 - 4 is OK or not?
Step 1-4 is correct.
I would still use the styleswitcher, it is easy to understand and will give your template much more options!
Now there are few more steps.
5. Find jakweb and replace with bluesat. Make sure you search and replace case sensitive.
6. Rename the file js/jakweb.js into js/bluesat.js
7. Modify all the files to your needs.
OK.
Styleswitcher is very good idea, I know, but I don't want sytelswitcher
How can I remove links to show/hide styleswitcher in admin panel 'Generally settings > Template > Preview Template' ?
I think that will be it problem remove.
I apologise for the late reply.
That is a bit more tricky because it is part of the CMS to have styleswitcher. At the moment it is not possible to remove it, but we have added a feature for 1.4 that it looks for the styleswitcher.php file if it does not exist it won't show the button.
----I apologise for the late reply.----
No problem, many thanks for your support. You are perferct developer :-)
I'll have a lot more questions I hope you will not be upset to me.
I want to learn to work with your CMS.
8. Step - custom definition of values during installation
I remove styleswitcher, but I need to define the location "sidebar" on the left side. Define location is permanet for meny pages. I know it.
In 'install.php' is row
I think that I need this
But this entry is bad. Can you please advise me the proper entry?
It should be:
That should work fine.
Sorry Jerome,
Yesterday MySql reported bug. Today works perferct. Sorry
I am beginning to understand the logic of your system. CMS from you is really amazing editable. Today I tested Admin panel on my HTC and works prefect too.
Jerome,
I have other question.
1. Question - custom solution Navigation for mobile
I have Porto template with responsive design. Porto have custom solution with responsive technology. I don't want use responsive Menu which included in 'footer.php' - div class="sb-slidebar sb-left".
But I have ony small problem in Navbar. Each category must have a link to some page. But Porto in dropdown menu use anchor link '#'. If I use category without own page, this category is hidden in Navbar.
How can I use CMS for creating main category with anchor link '#'. I use custom Jquery script or exist another solution?
I found solution -> "External Link" in category works. Thanks.
I know the porto template quite well, the idea is to modify the navigation from Porto so it works with CMS. Do not use the navigation for the one page style use links for the navigation.
With 1.4 it is super easy, you just need to add the classes and the menu will be generated automatically.
https://jakweb.ch/faq/a/103/menu-builder-function
I hope that article will help you to understand the menu builder within the templates.
Jerome, Menu builder works perfect
Jerome,
New idea
I don't know How can I set 'favicon'. You can add this settings e.g. Admin Panel > Home > Site?
Favicons are just need to replaced on the server, after replacing the the file you need to empty your browser cache.
OK, thanks
Jerome,
... stupid question, but I don't know.
Image for category not work if category is in footer. Image works perfect, If category is in header. I tested on 'sitemap'.
Bug confirmed, will be fixed within the next release.
Thank you very much!
*** Ticket closed ***