Can I make an Archive Page Template in Joomla! 1.5? - joomla

I am not pertaining to the category list of archives, but for the ARTICLE PAGE itself once it is archived.
Like a "single-{post_type}.php" on a Wordpress template where {post_type} is "archive".
Thanks for helping.

Yes you can,
Joomla archive article uses a separate layout in com_content component.
If you're planning to create a custom styles for archive articles you just need to do template override for com_content.
In Joomla articles are managing with a component called com_content.
you have to do a copy of components/com_content/views/archive/ files to your template folder. templates/your_templates/html/com_content/views/archive/
This way you can create custom styles for the archive articles. Also Please consider an update for your Joomla Version 1.5 is already dead.
Hope its helps..

Related

Using Joomla K2 Joomla Framework

I am quite new to Joomla, especially the K2 Framework. I would like to make a neat magazine website in Joomla. What I have done is, I have already imported all contents from Joomla! Content into K2.
What I need to do now is to arrange my categories and their articles like there are in this link or any other well arranged magazine website.
I do not know how to go about creating sub-templates and what they would look like. I have read several documents including the documentation but I don't get them so well to pave my ways
Anybody who knows what I need please help.
Maybe you must override the k2 module. So you must make a lot of module position and use k2 content module to show different layout in same page.
You must download K2 template override package,
follow this link to download: http://getk2.org/documentation/tutorials/77-k2-template-override-package-comparison
You can use k2 content module.
if you want creating sub-template for k2 content module, you must copy default folder on the /template/Your-template/html/mod_k2_content/default and you must rename the new folder.
After renaming the new folder you can check the sub-template. Add the k2 content module from your admin page and you will see select sub-template option, click it and you will see new sub-template
The sub-template name same with the name of new folder. And if you want to change style you can edit default.php in the new folder. :)
If you want to build something similar to this website you will need to make use of modules that allow you to display K2 content.
There are far too many to mention, but K2 itself installs K2 Content and K2 Tools. Try enabling those modules and experimenting with them. They offer a lot of options to display K2 items in various ways.
Source: I've built my fair share of K2 powered Joomla sites. :)
You need to create overrides of K2 component and its module.
Copy the component files from
components/com_k2/templates and paste it to the following path templates/{yourtemplate}/html/com_k2. Here, you can modify all the files and their layout as per your requirement or design.
Copy the module files from modules/mod_k2_tools/default folder and paste it the path templates/{yourtemplate}/html/mod_k2_tools . Similarly, you can copy other modules of k2 as per your need. The other modules are as:
mod_k2_comments
mod_k2_content
mod_k2_user
mod_k2_users
This way, you can create your own layout for the component and during any Joomla update it will remain as it is. Refer the following links for more details:
https://docs.joomla.org/Layout_Overrides_in_Joomla
https://getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Hope this helps!

Joomla 2.5 frontpage override

I'm just getting into Joomla. I've successfully overridden article pages by creating an html/com_content/article directory within my template and copied the necessary files from the /com_content directory.
I've read that this is also possible for the frontpage. It seems however I'm missing the frontpage directory from my /com_content directory. Is this still supported in Joomla 2.5. I don't really want to have to use a different template for my frontpage, but it looks like this may be my only option.
Any help would be greatly appreciated.
Cheers
Tom
'frontpage' is now called 'featured'.
Override the files in /components/com_content/views/featured/tmpl
The 'front page' is simply a collection of articles that you deem to be on the 'frontpage'. I'm not sure what you mean when you say you've "overridden" article pages... are you referring to the template? You don't have to do that for each article (if that's what you're implying you did).
I think perhaps you're misunderstanding how the templating system of Joomla works with regards to the site if you're overriding each article you create? There is no 'frontpage' directory because there is no real 'frontpage'; the main template you assign with address the frontpage and all other pages on the site (every article) unless otherwise told not to.
So adjust your main template to adjust your frontpage. I think you're using template overrides in the wrong way.

Joomla virtuemart theme modification

I am presently working on a Joomla website having ecommerce functionality. I am a beginner in joomla. I need to modify my virtuemart theme according to my own css and html. How is it possible?
Simply head into your_joomla_directory/components/com_virtuemart/themes/your_theme_folder/theme.css
theme.css edits virutemart elements only, you may also have to edit your main template css file to get the full desired effect.

To get Virtuemart to produce a custom downloadable PDF/certificate with the buyer's details on it

I am new to joomla and I have a problem:
The challenge is to get Virtuemart to produce a custom downloadable
PDF/certificate with the buyer's details on it.
Virtuemart already have a download after paying ability, but not for
custom created files/pdfs.
Joomla can also already create pdfs from front-end files, so I assume
it is possible to achieve this.
Any suggestions as to how I should go about this will be very much appreciated.
Thank you
I would package this in a custom component, basically you need to:
create a link in Virtuemart that links to the component relating to the order_item
check that order_item is paid
produce the PDF by outputting some page content and putting it through the PDF output of Joomla
I haven't used Joomla's PDF output, it may be just as easy to use FPDF, rosPDF or you could use an existing PDF by installing pdftk (on a VM or dedicated server only)
HTH, Jochen

How can i integrate joomla media selector into a custom component

I'm writing a custom component for joomla 1.5 and i been searching for a way to integrate
com_media image selector into it.
All i want, is to have a functionality like, the image selection in the create article page.
Anyone knows how to do this?
Is there an API in joomla to do this, or do i have to see how is done in com_content an start
form there?
You can use a select box with image preview like the one used for the Sections and Categories thumbnails. This is much easier to integrate though images must come from single directory.
See the com_sections and com_content files in you Joomla Administrators components directory.
Also try posting this in the Joomla Forums.

Resources