Hello,
I would like to have an advise on a good practice on creating a custom page. Note: I am not using the site builder because I am trying to build a multi-lingual site manually. I am using The Elastic Skin.
My main question is: Does a custom page NECESSARY need to be created in the custom skin (under the template folder)? Can it not be created in the audio or video module templates folder?
What are the pros and the cons of creating them in the audio or video module templates folder? Also placing a custom template in the audio or video module, will I loose that template file whenever the audio or video module upgrade?
I have seen that the item_albums.tpl was placed in the audio templates folder and albums have nice urls like eg.: www.site/audio/albums/album_name
So I assume that any template file can be placed there. Am I wrong?
I have created custom pages on my computer for every Audio and video category:
Example:
categoryname_1.tpl (for audio category 1)
categoryname_2.tpl (for audio category 2)
and
categoryname_1.tpl (for video category 1)
categoryname_2.tpl (for video category 2)
What I am trying to achieve is to have URLs like:
www.site/audio/categoryname_1
www.site/audio/categoryname_2
and
www.site/video/categoryname_1
www.site/video/categoryname_2
I know that placing them in the custom skin template's folder, I will need to rename them because I have the same category name for both audio and video and URLs will look like:
www.site/categoryname_1_for_audio
www.site/categoryname_2_for_audio
and
www.site/categoryname_1_for_video
www.site/categoryname_2_for_video
Any advise should be appreciated. Thanks in advance.
updated by @pch: 12/12/16 02:03:16AM