Joomla News on Several Pages - joomla

I'm currently working on a project in my school and I have to create three websites with Joomla. So this would be an entry page displaying only 2 pictures which link to the next two pages. Then one page for each section of the school as a sublevel domain. Like electronics.school.at and mechatronic.school.at. My problem is now, that I have to implement a news section on the main domain school.at that shows news from electronics.school.at and mechatronic.school.at combined and on every page mentioned above, I also have to implement a news page but this one should only implement their news.
So this will be 3 seperate Joomla pages but the first one should combine the news from the next 2.
I hope somebody can help me here.

Do it via newsfeeds. You can display the feeds on other Domains/joomlas. Link to the joomla feed of startpage or categories (for example: http://www.domain.de/rss-feed.feed?type=rss) and display the items with joomlas feed rendering module.

Related

Processwire Holder/Page implementation

How do you implement a holder/page pattern in Processwire. The idea is simple. One page type manages the list view, and usually contains very little native content. The primary function of this page is to provide a list of its child pages, providing a brief summary for each one, along with a link to its detail view. A second page type will represent the detail view for any given child page, which will typically have a custom template and content fields that make up its identity. Think of it think like a news listings, image galleries, even a Twitter timeline.
I can give examples for two different methods from a recent site I built with Processwire.
First is NEWS section:
I have a page called News and it's template is news-listing. Under News, I have news pages and their template is news-detail. news-listing template only accepts news-detail and news-listing for child pages. I allowed news-listing under news-listing if client needs to create sub listing pages under news.
News-listing template basically gets the news with
<?php $news = $page->children('template=news-detail'); ?>
Second is Products section
Site has different section for purposes. Like WOMENS, MENS, KIDS etc. The products are not shared among those main separation. I have a structure like below
MAIN SEPARATION
Products (products are listed under)
Categories (categories are listed under)
On product details page you can select multiple categories. On categories page products are listed like this. And on main separation page I have categories listed. Each of these page type has their own templates.
$products = $page->rootParent->find("template=product-detail,category={$page->id}");
Hope it helps
Just create pages under parent page then iterate on children pages. Processwire is slow though, better use Silverstripe it's more responsive.

How to create a second frontpage in Joomla?

How to create a second (or more) front page in Joomla? (Joomla 3.1.5 here)?!
My dream website would be a website with several Homepages, but I haven't figured yet how to make it....
What I mean: for example if you have website on sports - you want a Homepage for: Hockey, Football and Basketball
- each with all 18 (or so) template positions, full page of Modules, etc....Exactly like it is on actual Front Page, but each on different topic....
How to do this?!
and how to get over 'question quality standarts' - everything is described above;
You need to create menu items, assign them to different templates, assign the modules et voilĂ .
Create the new featured menu items and filter them by category, assuming one is Hockey, Golf etc.
Then in the template manager, install your new template or create a new style for one of the templates based on your requirements, and assign the newly created menu item.
If you're looking for a howto, you might want to start from Joomla.org or google.
It's not a matter of quality, but of context. This is a developers site, not a Joomla usage forum.
Unless you have a total different requirements that what you have described, one way to achieve what you are after for in Joomla 3, is to create several featured articles menu-items with the category settings you want, and also configure your template to work the way you want, with the module positions and the module assignments.
There are also other custom content components, you may want to try, like k2, that offers a variety of options when creating blog layout pages.
And to add to Daniel Bottner's comment that under conditions, this was also possible even with J1.5.
similar simple example in J1.5:
example-page1
example-page2
'Riccardo Zorn' did answer this question pretty well.
What you basically wan't to do is to create a website with kind of a following structure.
site:
1: category 1 (sport x)
2: category 2 (sport y)
2.1: subcategory to 2(sport y ~ men)
2.2: subcategory to 2(sport y ~ women)
...
While each category would be a seperate menu as well as very likely a different template.
It is up to you to filter for the templates and menues which modules are shown there.
But you will have one basic entry point for the website.
No offense but what you want to do is basically default in joomla since at least version 1.6

Magento homepage site title for 11 different websites

I have a multi-store Magento installation for 11 different domains all selling the same product but targeting different countries, currencies and languages.
I have one CMS homepage at the moment set with content being pulled in with static blocks and a featured category. The title for all 11 websites is 'Home Page' in english.
I want to be able to change the meta title of each site, is there a way I can do this without having to create 11 separate CMS homepages in the admin and then assigning each website to it's specific CMS page? It seems overkill to have to create a separate page to change just change one line on each website.
The title, meta-keywords and meta-description are added to the page from here: Mage_Cms_Block_Page::_prepareLayout(), to be more exact, on these lines:
if ($head) {
$head->setTitle($page->getTitle());
$head->setKeywords($page->getMetaKeywords());
$head->setDescription($page->getMetaDescription());
}
I see here 2 quick options:
You override the method mentioned above and replace $head->setTitle($page->getTitle()) with $head->setTitle($this->__($page->getTitle())) and add to your translation files the translation of Home page for every language.
You override the method Mage_Cms_Model_Page::getTitle() and make it return a translated version of the title then again add Home page to your translation files.
I recommend the first option.
If you have 11 sites all selling the same item, duplicate content could very well become an issue, especially if you are dealing with hundreds+ skus. I would suggest doing the individual CMS pages like you first suggested and change more than just the META data.
Also, in System>Configuration>Design, you can change the Title Prefix and Suffix and default info per site so that may help as well.

show articles only in featured page

http://example.com/products/2-uncategorised/
http://example.com/products/2-uncategorised/2-aaa-bb-ccccc
I have this structure, where products is a featured page with articles. What I want is just block the access to the category and related articles.
So, http://example.com/products/2-uncategorised/ or http://example.com/products/2-uncategorised/2-aaa-bb-ccccc should redirect to http://example.com/products.
The only way that i know is:
#RedirectMatch 301 ^/products/.*$ http://www.example.com/products
Note: If I change the permissions of the article, available only to Registered users then the article is removed from the featured page if the user is not registered (wrong, this page should be public).
I need to preserve all articles in featured page and block the access of the individual article and the category that it belongs.
The question: There is another way without .htaccess ?
What is the problem with having multiple paths to the same article?
Are you worried about the user experience or the effect on your SEO?
If it's the later then you have some control over this.
Using "canonical" tags, you can stipulate which is the master URL for Google et al to index.
You can also manipulate the robots setting for each category or menu item.
If it's the former, I certainly wouldn't recommend redirects in htaccess. If you absolutely must redirect, use the redirect component that comes with Joomla. Still not recommended for this.
Why don't you do away with the featured page and just use articles with their own hidden menu items. This will give a direct access, no category view. If you want to add other articles to the bottom in a blog like style, you could add articles to modules and get a similar effect?

Are Rich Snippets page specific or domain specific?

Google will now parse certain microdata (for example reviews) on your web pages and display the info in search results. They call this Rich Snippets
I am wondering is this page specific or domain specific?
I keep all my reviews on a separate review page thats linked to from the home page. But my review page itself is very unlikely to be displayed in a search result, more likely to be displayed is my homepage or product landing page. But being that the review microdata is not on these pages (but is on the website). I am wondering if the rich snippets will be shown for these pages?
They're tied to the page, effectively; a result which returns the homepage won't include content from another page. As with any other organic ranking scenario, Google aims to return the best individual page for a query; as such, if it percieves your homepage to be a more authoritive resource and result for the search query, it'll return that rather than the page containing the microformatted data.
I'd tentatively suggest that the wider problem is one of value attribution, and that undertaking some page-level SEO in order to clearly signpost content/context, and to ensure that content is distinct and relevant at page-level (and in one place for one topic) might help.

Resources