I made a copy of a template and then switched to it, and the left side modules all disappeared.
what might cause such a behavior?
the site is:
http://beakandclaw.com/cart/
I made a copy of a template and then switched to it, and the left side modules all disappeared.
what might cause such a behavior?
the site is:
http://beakandclaw.com/cart/
Andrew Dingfelder
http://www.computingasyoulikeit.com
Any number of things can cause the non-display of the column contents. Without having access to your core code files, it is really difficult to ascertain the cause.
The remedy is probably time-consuming, and only you can do this.
Suggest you do this:-
Get a copy of WINMERGE - the file comparison tool.
Use WINMERGE to compare the files of your new template, with the files of a standard template.
Winmerge will alert you to files that have the same name, but differ in content.
You will have to look at these comparisons, and where there are omissions of code or blocks of code, determine whether you need to include such code in your new template, and then edit accordingly.
Winmerge also alerts you to files that exist in one directory, but not in its corresponding comparative directory (there may be files that you have neglected to upload).
Other people may have further solutions, but you may be better off reverting to your original template while you find the answers.
diffing is no problem for me
The only question is what to diff :)
Is it only the files from includes/templates/my_template/* ?
or are there other directories that I need to diff as well?
Andrew Dingfelder
http://www.computingasyoulikeit.com
Did you rename template?
If so, when installing NEW template, you have
to reactivate sideboxes via admin/tools/layout boxes controller
![]()
much thank, that is exactly what I needed
you can see the work in progress at http://www.beakandclaw.com/cart
Thanks for the help !
Andrew Dingfelder
http://www.computingasyoulikeit.com
I also had my sideboxes disappear when I renamed my template.
I moved the admin settings from the old name to the new by editing the mysql.
If you are are familiar with mysql syntax you can hand edit a mysqldump,
e.g.:
For me at least, only the `layout_boxes` table was dependent on the templateCode:mysqldump -u[user] -p[password] [zencart database name] > dump_with_renamed_template_dirs.txt
name.
So in your favourite text editor you can search for the (really long)
line starting:
The line contains values for both old_template_name and new_template_name.Code:INSERT INTO `layout_boxes` VALUES
Delete all the values referring to new_template_name and rename all
instances of old_template_name to new_template_name.
Clean up the commas and the end semicolon.
Save the edited file.
Then load the new database data:
mysql -u[user] -p[password] [zencart database name] < edited_mysql_dump.txt
It worked for me!
Use at your own risk.
donothingsuccessfully