* Graham * bemethavinci no this is nothing to do with the header or footer this is just the basic page
your _header and _footer are separate files that get added automatically to each page on your sites
as for the file presets just create the folder add a copy of this file to that folder after reload it will appear in the 'new file' options along with the 'html' and 'plain text' options
2017-02-16 11:58 · (0)
* bemethavinci * Graham sir,here is the screen shot of the code u sent to me...and what is next to do?...or are we goinq into the blog twig?
2017-02-16 12:04
* SuperScreenshot0169.jpg · text/plain · 0B
(edited 2017-02-16 12:19 by bemethavinci ) · (0)
* Graham * bemethavinci yes but I cannot spend all my time on it I have a lot else to do as well
the part of the blog that outputs the list of posts is fairly simple and that is the next bit
but in the meantime you can work on the rest of the page and your _header/_footer
ps your attachment failed (0 bytes)
2017-02-16 13:21 · (0)
* bemethavinci * Graham ok thank you sir,so what am i to work on now?...
2017-02-16 14:01 · (0)
* bemethavinci * bemethavinci good morninq sir,please how do i start the twig for the blog and where will it be placed.
2017-02-17 08:18 · (0)
* Graham * bemethavinci I presume you have a copy of the standard twig
The blog twig is at https://dl.dropboxusercontent.com/u/2162515/xtgem_blog.twig
you upload by url to _xtgem_templates and rename it xtblog.twig
Some of what you want to do is not simple the image is part of the {{ entry.content|raw }} so to get the layout you drew the image has to be extracted from the entry content
The basic layout part for the post list is like this (no changes to the actual twig code yet just to the embedded html for the list so it creates the post containers)
The actual twig for the example is shown in the second panel on my test page
http://baretest.xtgem.com/00single
next I will look into extracting the image from the description
2017-02-17 11:40 · (0)
* bemethavinci * Graham i tried uploadinq the twig file...but giving me errors
2017-02-17 12:35 · (0)
* Graham * bemethavinci Don't know why it's just a dropbox url ?
try this
http://syntax.xtgem.com/_templates/xtgem_blog.twig.js
rename to xtblog.twig after upload
or copy the code from the demo page
2017-02-17 12:59 (edited 2017-02-17 12:59 by Graham ) · (0)
* bemethavinci * Graham ok...so am to edit the blog twig to bootstrap right?...or what?...and how do i preview the twig am doing to ensure am twigging it well.
2017-02-17 17:35 (edited 2017-02-17 17:42 by bemethavinci ) · (0)
* Graham * bemethavinci simple if the blog does not work then you have it wrong
keep backups at all stages
2017-02-17 18:13 · (0)

Online: Guests: 1