Are they any way I can include a html table into and EZ page? If so, would the code to that be?
Are they any way I can include a html table into and EZ page? If so, would the code to that be?
You can include any HTML you like in ez-page content. Table code is such basic HTML that there are probably tens of thousands of places online where you can learn about how to create them. Try www.w3schools.com for a comprehensive starter.
Here is a very simple TABLE in html
As Glenn says, use any html editor to compile your table... toggle to SOURCE CODE, copy the HTML, then PASTE it in your input field in CK Editor (after toggling to SOURCE)
My example has a few CLASS and ID tags to assist with styling later. You can omit these, or add your own. If you omit them, any table styling will be as per default declarations for table elements.HTML Code:<table class="productSizes"> <tbody> <tr id="productSizesRowOne"> <td> Content Here</td> <td> Content Here</td> <td> Content Here</td> </tr> <tr id="productSizesRowTwo"> <td> Content Here</td> <td> Content Here</td> <td> Content Here</td> </tr> <tr id="productSizesRowThree"> <td> Content Here</td> <td> Content Here</td> <td> Content Here</td> </tr> <tr id="productSizesRowFour"> <td> Content Here</td> <td> Content Here</td> <td> Content Here</td> </tr> </tbody> </table>
20 years a Zencart User
I only ask because sometimes the codes are different in zen cart. I was just making sure.
When in doubt, ask the experts.
Thank you both.
Okay, I thought it was kinda different. Oh well. Thanks again.
I just finished the page I was wanting. Yay.
I do have another question though. How would I go about merging php files together. Are they a program that will do it for me?
What would you want to do this for?
PHP is a language that gives INSTRUCTIONS for things to happen when CONTENT needs to be displayed on a browser screen. They are not "pages" in the same way as static HTML "pages" are.
PHP is a code that BUILDS the page "on-the-fly". The code assembles all the components for the resultant HTML output - and there can be HUNDREDS of these for every output.
When the php has built the HTML output, it fires it off to the visitor's browser screen, and it shows up on the screen.
When the visitor clicks a link - or perform an action (such as "add to cart") the "Page" they are on vanishes forever, and the PHP assembles a completely NEW html output, just for them.
Along the way, it may perform a few calculations and store stuff in the database...
So... tell us what BEHAVIOUR you are trying to achieve, and perhaps we can advise on how the PHP should look.
20 years a Zencart User
Okay, I understand. I was just trying to figure out how to merge a main page from a template package with an existing main page.
If you are trying to bring in additional CONTENT, then you might be able to do so by activating various "switches" in ADMIN CONSOLE.
"Merging" php requires considerable skill in most cases.
Again... what are you trying to "bring in"? Tell us what CONTENT you would like to display, and WHERE and WHEN it is to be displayed.
20 years a Zencart User
I have installed a Picaflor Azul template. But I was wanting to have her homepage template as well and in the read me file it says to use a favorite file merging software to merge it with tlp_main_page.php. However I only wanted the header from the main template but have the footer from the homepage template, but I also want a different footer background. Hope you can understand that. I was just trying to ask all my zen cart questions in one whack.
Bookmarks