I am new in Symphony and would like to add a new design. Here I have attached the file which I want to integrate in the user side. How is this possible?!
You'll need to use templates. Make sure you read through that page.
Chapter 2 of the Say Hello to Symphony tutorial deals with templates, and is a nice way of getting to grips with how it works.
Hopefully this will give the basic idea of how to control the HTML output using XSLT. You will then need to create your CSS to style your HTML.
Related
I am new to Magento 2 and trying to learn. I find the documentation a little tough so I am hoping someone can help me understand better/point me in the right direction.
I understand how to override theme files but one thing I can't figure out is how to add something that does not yet exist. I want to create a conditional modal box that prompts the user to an action. I need markup, javascript and styles.
Can somebody help me figure out how to add this custom element to Magento, where to place these new files in the file structure and anything that needs to be done to conditionally display this element?
1/ Theme files (.phtml) are always connected to a Block (.php). You need to learn how to override Magento blocks if you want to add php methods.
It's the same for Models (database handlers) and Controllers (http response handlers).
Magento 2 php rewrites
2/ To add styles and javascript files, you have to learn Magento layouts. Thoses are xml files, defining Magento pages structure.
Magento 2 layouts
3/ To rewrite existing javascript file you'll use requirejs-config.js file. You will have to learn using require js and knockout js.
Javascript bulding in Magento 2
In conclusion, you have a world to learn.
Stay motivated and passionate, take the time to learn and you will progress.
I couldn't find anything about this. basically i want to create a base template, with all the head tag and container in body or menu, etc... so that other templates can extend it.
how would i achieve this with Ionic framework?
The way you have phrased your question leads one to think you have not quite understood how Ionic works...
A typical Ionic app has only one index.html file with a <head>. The rest of the .html files are just content templates to be rendered as the content of that page. So you don't need the "base template" you are asking about, that is all taken care of by Ionic, from the index.html.
I would suggest reading and following http://ionicframework.com/docs/guide/starting.html
I am creating a new template and then a page from SCRATCH in CQ5. But I can't find the option to add my own CSS/images/JS to the page.
I mean a place to add/upload the actual files.
All the tutorials I've seen talk only about creating a template based on an existing template. Is there any tutorial on how to create the page from scratch ?
Your CSS and JavaScript go into nodes under /etc/designs/[your project's name]/clientlibs. (Ordinarily, you would set the page property cq:designPath of your content's home page to be /etc/designs/[your project's name] to point to this.) It's common practice to set up a subfolder of clientlibs called default, where your general-purpose style sheets and JavaScript go; you can set up other clientlibs for special-case script and style sheets. The simplest way to incorporate your script and style sheets into your page template is the <cq:includeClientLib> JSP tag.
The Adobe docs on clientlibs will also be useful to you, and explains how to use the tag.
#David , thanks for your answer, but for now, I got a better way to add and then use external files using WebDAV with CQ5.
The basic integration of WebDAV with CQ5 application is mentioned in this page
I was wondering if page templates can be built instead of individual components in Teamsite 7? I've seen other cMS systems where it is just a page template that has lots of functionality built I and you can "switch" on and off elements that you want to display instead of having to drag components onto a page? Is this possible?
Old question, but since I just came across it:
Yes, TeamSite supports templates (.template) files which can be partial or full page templates. The default location is iwadmin/main/livesite/template.
I recommend downloading the developer guides from Autonomy's web site for detailed information.
Templates in teamsite/livesite is like a bag that can contain components. But in order for a functionality to be developed in teamsite/livesite we need to create components. certainly we can avoid dragging and dropping components in each page by creating templates and dropping components within it for once. Keep in mind templates are bound to layouts. for each type of layout we need to create a template. Please have a look at TS_7.3_SiteDeveloper_rev1, Chapter 5.
Yes, you can create templates instead of dragging components.
Since, TeamSite supports templates (.template) files which can be partial or full page templates and resides at location : iwadmin/main/livesite/template.
So, whenever you try to create a new page everytime the HTML code required for that page gets automatically added with the template and layouts you selected.
But, again this is not good since you can have any number of templates you need but this could create confusions at times when you try to create a new page since you will need to remember every template name and contents that you will need for a particular page so it's better to have small lists of templates and layouts since then we can say that there is reusability in our application/website which we are going to develop using Teamsite and Livesite.
Please vote the solution if its helpful.
Thanks!
I need to make pages in Joomla, and my template has my header and footer. I intend to use components as pages where I enter my Html code. How can I make these simple components?
This tutorial is the best I have come across so far.
Component is major part in Joomla, you should clearly understand its ins and outs, have a look at this tutorial to get you started:
Step-By-Step Joomla Component Creation Tutorial
You should refer this site. This tools enables you to build component from scratch. It will save lots of your effort & time.
Here is another one which I just found.