Hi im trying to add a few things to my add products panel also im using CK editor and want to make a template so i'll start with that
so with ckeditor i just want to make a template heres what i have
HTML Code:
<img src="someimg" style="margin-right: 10px; float: left; width: 300px; height: 300px;" />
<div id="top_product_info_block" style="position: relative; width: 645px; min-height: 300px; margin: 0px 0px 0px 14px; padding: 0px; float: left; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: none solid solid; border-right-color: rgb(235, 230, 226); border-bottom-color: rgb(235, 230, 226); border-left-color: rgb(235, 230, 226);">
<div id="top_product_info_block_product_title" style="position: relative; width: 647px; height: auto; left: -1px; background-image: url(/Products/proheader.png); background-repeat: no-repeat no-repeat;">
<p id="top_product_info_block_product_subtitle_text" itemprop="name" style="position: relative; padding: 5px 0px 0px; margin: 0px 0px 0px 5px; font-size: 18px; font-weight: bold;">
<strong>Title Here</strong></p>
<h1 id="top_product_info_block_product_title_text" style="font-size: 12px; padding: 0px; margin: 0px 0px 0px 5px;">
Short pro info</h1>
<div>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</div>
</div>
</div>
so thats pretty much it but i cant find where i should add the information to make it a selection in the template menu or just replacing the current one with this also instead having to link the image every time i was trying to figure out if possible how i could use something like $product_image to automatically get the uploaded image or could i make a files.php define $product_img if so that would be great for the next part of what im trying to do if either of those are possible could someone give me an example of how to add it into the template
the next thing is i added a column into my products table called product_specs for the products pdf spec sheet now i just wanna add a choose file button so it will be just like adding an image but going into another column and then use $product_spec and define it in the new file.php i cant seem to find the right file i need to edit to do it though
Bookmarks