In Joomla how i can put an image on the principal page and when i click the image this open an article? - image

I'm using joomla 3.0.3.
I want to put a simple image on the principal page and when I click this image, automatically (changes the page) and opens an article with some info that I want to put on it.
It is possible?
With joomla default, or I need an extension for can do it?
Thanks a lot!

You can achieve this by creating a menu item for the blog view of frontpage or content.
This will load a number of articles and paginate them. In the options, you will find Intro articles (on top), then the number of articles to load in columns, then a list of links. Put 0 on the links and on the first articles, and you will get your list of articles in a grid.
Depending on the template you are using, the settings of the menu link could be enough to achieve what you want; if not you can write a template override to display exactly what you want.

Related

joomla 3.1 ajax module

ok so I have a main horizontal menu that appears on all pages, (company, products, about us) and I want another menu, (vertical accordion on the left side of the page) inside products:
phone
--samsung galaxy s4
--iphone 4
pc
--hp pavilion
--toshiba
and when I clic on any of the sections of the accordion menu the information about each product appears on the right using ajax. I have made the accordion menu as a custom html module and the same with the content that its supposed to appear on the right side (I used modules instead of articles).
Now I'm thinking that its probably better to create another menu for the accordion and that the content should be articles, but I dont know how to make it look like an accordion, and I still need help using ajax to show the content of each product.
the main thing is, I want to use ajax to replace one module for another when I clic on any section of the accordion menu. is there any way to do it, all I could find in google its how to change the main article of the page, for that i have to replace
jdoc:include type="component" and add an event with the url but that replaces everything and I just want to change the right module/article
something like this
I dont know if I explained myself well.
I used shaper helix 2 template
Any help would be appreciated.
Check for some extensions here: http://extensions.joomla.org/extensions/structure-a-navigation/menu-systems/accordion-menus
An advice... you better forget ajax to load the catalog because as it used on the example the product pages are missed by search engines, as spiders and crawlers doesn't execute javascript. Try to search for that domain... results don't have any product.
Good luck!

Using different joomla template for articles not assigned to menu

I am using a module that displays latest article posts. I am using 2 templates , one for the homepage and the other called templatePage for the other pages.
The problem is that articles not assigned to menu when clicked display using the homepage template instead of templatePage.
Is there a way to assign this articles to the templatePage?
I don't know if exists other option but you could set these articles to a menu and then hide the parent with display:none;. You will need a menu, like article holder, and just set the css.
This is ugly but probably the easy way.

Gallery of images with long descriptions in Joomla

I need to make something like gallery of magazine covers in joomla, and after clicking one image, it should open a page, where viewer would see an image of cover (that he could open in full size) and table of contents with links to some articles. Administrator should also be able to (reasonably) easily add a new covers with content to a gallery. I'm more like a Drupal guy, so I'm asking Joomla guys - what would be the best/easiest way to achieve this (including using extensions etc)? :)
You should be able to do that within the standard Joomla framework. In this case -
Have a main category that each issue would be a subcategory of.
Each issue of the magazine would be a new category, the magazine cover would be the image for that category.
Add the content as articles in the appropriate category
Display the parent category to get the listing of each issue.
Clicking the category would then display a list of links to the articles within the category.
This can definitely be accomplished with the K2 extension, but you can probably do it within the Joomla category/article framework with some simple template overrides.
To suit your needs, you will be best off using a Photo Gallery component and changing the link from opening an iframe/full size image, to an article OR a Portfolio component which I think might be the easier option.
One of my personal favorites is BT Content Slider. I have used it on multiple pages and adapted the code to suit our own needs and it works like a charm. Would also recommend it for you too.

Joomla - need two separate categories of articles on the same page

In Joomla 2.5, I want to display two separate blog-type streams of articles on the same page, with the complete text of each article. I can get one using jdoc:include type="component". But I also need the articles from another category elsewhere on the same page in that same format -- first a category header, then the complete text of each article.
Modules I have tried:
Latest News: displays a list of articles, not the complete article text.
Article Category: same
Newsflash: Displays the complete article text, but doesn't have a way to display a category header.
This seems like an obvious thing to want, but I don't see how to do it in Joomla. Is it just impossible?
Thanks in advance.
if you want something ready-to-go, then this is your solution:
http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/18121 (Paid)
If you can modify joomla extensions, this ones could do the job (after playing for a while with the code to add the articles text to the queries):
http://extensions.joomla.org/extensions/news-display/articles-display/articles-listing/13950 (Free plugin)
http://extensions.joomla.org/extensions/news-display/articles-display/articles-listing/7314 (Module)
Or maybe take a look at these JED sections to see if there is anything more useful:
http://extensions.joomla.org/extensions/news-display/articles-display/articles-listing
http://extensions.joomla.org/extensions/news-display/articles-display/content-embed
I've been struggling with displaying more than one category-blog on a home page, but have now found a working solution.
Install the Plugin "Plugin Include Component" and the Module "Article Placed Anywhere" - both free.
For each blog that you want to appear on the same page:
In Category Manager create a category to hold the blog items (articles).
In Menu Manager create a menu item, probably on a hidden menu, of type Category Blog, referencing the category that you just created.
In Article Manager create an article contaning just the plugin code
{component url='index.php?option=com_content&view=category&layout=blog&id=XX&Itemid=YYY'}, where XX is the category ID and YYY is the menu item ID of those you just created
In Module Manager create a new module of type Articles Placed Anywhere, select the article just created and the position in which you want it to appear.

Get preview link to article before publishing

In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla).
I'm looking for something like adding task=preview to the URL and it would show the article.
It would be enough if the article would be normally published but would not be displayed on the main page in the latest news. I tried to set "Front Page" to "No" but without success.
How can I solve the problem?
Joomla! 1.5 doesn't have a feature like this and from the way it's built I'm not sure it's possible without modifying the core com_content files. You could try a search of the Joomla! Extension Directory to see if someone has implemented what you're after.
In the meantime if the article is turning up on the websites front page even when you've set it not to - then the front page must be using a Section/Category Blog page style rather than a Joomla Frontpage page. In this case you could find out which category is set to show on the menu item being used for the front page and then temporarily change your article to another that doesn't appear there.
Once you've got it in another Category you should be able to get a link to the article by doing a search from the front end (assuming you don't want to create a menu link).
try creating a new category called Preview and since that wouldn't have been assigned to any pages yet, it should not appear. If you have trouble finding the article then, you could temporarily publish it either on the home page or somewhere in the menu. Then when you have found and copied the url, you can remove the article from the home page or menu or wherever you temporarily have it appear.
If you should ever want several 'preview' articles appearing on one page, create a new menu item, assign it to the Preview category you made, and in System Parameters, click on Show Title: 'No' so it doesn't appear in the menu. I don't know about what shows up in Google for example so if it's sensitive data I can't say it won't show in search engines, it probably will.
It probably appears on the Front Page because as you say it's part of the 'latest news' module. You could also try removing it from the module feed, but a new category is what I'd do.
Paul
I just selected Section: "Uncategorised" and the article went out from the latest news. Hope it's not accessible any other way in the current setup (there is no search function hopefully). It's not a cleanest solution, but it seems to work.

Resources