Custom template support for Joomla - joomla1.5

Joomla is pretty good CMS but, is there any way to create custom template which will be joomla supportable ?

If I understand your question you want to convert an existing template that isn't even a Joomla template. If that is the case I found it very hard to do, of course depending on where the template was coming from. I ended up taking a template for Joomla 1.5 and starting from that. (Although the ja_Purity is a messy one when it comes to the CSS, looking back I would should have started with another one....)

Yes, you can do it. Copy default template which comes with Joomla and customize it, and you can install it now.
Refer : http://docs.joomla.org/Joomla!_1.5_Template_Tutorials_Project

Follow the SiteGround tutorial.
1st result for Google: joomla change template.

If you mean a page-specific template, then this is answered here: http://docs.joomla.org/How_do_you_assign_a_template_to_a_specific_page%3F
It describes the following steps:
In Joomla! there is a default
template, but you can assign other
templates to specific "pages" that are
defined by menu links.
To assign a template to a page, you
must first make sure that there is a
direct menu link to the page.
Go to Extensions>>Template Manager
Select the Template and click the edit icon (or click the template name)
In the left column, change "None" to "Select from List."
Select the links you want to apply the template to.
Save
Note that you cannot assign the
default template to individual pages.

Related

TYPO3 page only shows "HELLO WORLD!"

I started to learn how to use TYPO3 because I want to create a FAQ page. So I created a very simple page:
But if I view the page, then i only get "HELLO WORLD!". What am i doing wrong?
Did i missed some steps? Where can i get started the best way?
I use TYPO3 8.1.2 btw.
First of all: You have done nothing wrong.
TYPO3 has it's own configuration language: TypoScript.
You have to tell the system in TypoScript what should be rendered in the frontend. The default is a simple TypoScriptSnippet that only prints out the text HELLO WORLD.
I looks something like this:
page = PAGE
page.10 = TEXT
page.10.value = WELLO WORLD
You can find the configuration of your page in the Template module in the backend in the field "Setup". You can either change the TypoScript directly in there or use external files and include them.
You have to understand at least the basics of TypoScript and Templating in TYPO3 to make the content you create in the backend appear in the frontend. If you learn from sources in the internet, try to avoid the old ones.
If you need more help, please feel free to join the TYPO3 community at slack (https://forger.typo3.org/slack), where you can ask any kind of TYPO3 related questions. We will happyly hep you to get started.
you just need to add template typescript code.
or other best way is the use the template by install the template from the pre distribution option.
Go to file extension and select from drop down "Get Preconfigured distribution" option and install from their list of available template.
After install successfully you can see page add/edit option have web icon, inside them you can create new page,
It will show page content on view.

Creating a new page template in Typo3

I'm using Typo3 for the first time and have been asked to update a site built on it.
Making changes to existing templates so far has been OK since they were mainly CSS changes or replacing images. Now though I need to create a couple of new page templates.
What's the easiest way to go about this? The existing site has a home.html and layout.hmlt in the fileadmin directory. Do I need to create a new html file there, if so how do I use this as a new template for some of my pages?
I'm coming from a mainly WordPress background in terms of CMS (I've nearly given in a recoded the site as a WordPress site since I think it would be quicker at this stage) but I'd really prefer to figure this out.
Any suggestions would be greatly appreciated as I'm pulling my hair out trying to read through the documentation and getting nowhere. The site is using Typo3 version 4.4.6
Thanks!
How you add a new template to your page depends on how templating is handled. Sadly TYPO3 has a poor templating out of the box, so there is most likely an extension that does the job on your site.
Probably one of these:
automaketemplate
templa_voila
flux & fluidpages
Check if one of these extension is installed and add a new page template according to the extensions manual or specify your question afterwards.
Edit:
If plain TYPO3 was used, you'll find something like
page = PAGE
page.10 = TEMPLATE
page.10 {
file = fileadmin/myTemplate.html
}
in your Typoscript. You can add tmplate files like the ones that are already there. To use a different template on a page, you have to replace the page.10.file with the template you want to use. This can be done with a new template record (crated in backend via the template module). But this is a rather anoying procedure to change the template, because you have to create each time you want to change the page template for a page and its children. That is why mostly extensions are used for this.
The out of the box situation gets better with newer TYPO3 versions but in 4.4.6 there are no Backend Layouts that could be uses for a template switch ot something like that.
In Addition to change the mere file you have to adjust the subparts or marker that are filled with the content. You'll find that configured in your TypoScript as well

How to add CSS, Images to a page in CQ5?

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

How to apply own template on Joomla? [duplicate]

Joomla is pretty good CMS but, is there any way to create custom template which will be joomla supportable ?
If I understand your question you want to convert an existing template that isn't even a Joomla template. If that is the case I found it very hard to do, of course depending on where the template was coming from. I ended up taking a template for Joomla 1.5 and starting from that. (Although the ja_Purity is a messy one when it comes to the CSS, looking back I would should have started with another one....)
Yes, you can do it. Copy default template which comes with Joomla and customize it, and you can install it now.
Refer : http://docs.joomla.org/Joomla!_1.5_Template_Tutorials_Project
Follow the SiteGround tutorial.
1st result for Google: joomla change template.
If you mean a page-specific template, then this is answered here: http://docs.joomla.org/How_do_you_assign_a_template_to_a_specific_page%3F
It describes the following steps:
In Joomla! there is a default
template, but you can assign other
templates to specific "pages" that are
defined by menu links.
To assign a template to a page, you
must first make sure that there is a
direct menu link to the page.
Go to Extensions>>Template Manager
Select the Template and click the edit icon (or click the template name)
In the left column, change "None" to "Select from List."
Select the links you want to apply the template to.
Save
Note that you cannot assign the
default template to individual pages.

Joomla chronoform insert into existing content

I dont know much about joomla but I have a problem.
I started reading for the chromoform and it is a very nice pugin.
I created a form which I can see in the form manager and also I can view in the url.
but I want ot integrate it to an existing content.
I have a content which contains text, photos etc..
The content is editable with tinymce plugin.
And I want to integrate this form also.
One way to integrate would be to copy the html code and paste in the conent but then if I change the form component the changes would not be also in the conent.
is there a way to include the created form in the content?
Or which is the best one?
Anybody any idea?
Thanx,
Granit
If you also have the chrono plugin installed & published, you can add a form into content (such as an article) using the following syntax:
{chronocontact}form_name{/chronocontact}
This allows you to place the form anywhere within the article - you can preface the form with content (such as a heading) ....
You probably want to use the Chronocontact module (mod_chronocontact), which is provided with ChronoForms. This allows you to insert any ChronoForms form into any module location. The Joomla 1.5 download for this module is here.
Then you just need to define a module location in your template, and create a mod_chronocontact module in that location, with your forms name set up. You'll find having a couple of module locations defined immediately before and after your main content in the template is normally handy, like so:
<jdoc:include type="modules" name="beforecontent"/>
<jdoc:include type="component" />
<jdoc:include type="modules" name="aftercontent"/>