Avada Theme: How to remove this portfolio from the portfolio list? - portfolio

thanks before for your reply. I added a portfolio list inside a portfolio page.
I simply need to remove this post from the portfolio list contained into the page.
I could solve to add a portfolio tag for every page and remove it into the avada section but i'll prefer to use a custom function to remove the portfolio page from the list contained into the page.
I think it is simple to understand.
Thanks.

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.

Joomla News on Several Pages

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.

Make a new page in joomla 2.5

i have done the home page with 8 custom html module . Now i have to make new pages like contact us, about, services ect. but it different from the home page. i need to use only two module other are not useful for other pages.
I am new in joomla would like to how could i make new pages in joomla.
Create a new page in the article manager and a menu item to that page. Then go into the module manager and enable those two modules for that menu item. You'll now have the new page and those 2 modules will appear.
Depending on what template you are using they may need to be in a different "position", e.g, below the content, to the side, etc. In that case use the duplicate function in the module manager to make a clone of those modules and place in the appropriate positions.
Note: If you want the modules to appear in the actual content area you can use the loadposition plugin, e.g. if you create a blank article you can then enter {loadposition mynewmoduleposition} to place the module in the page. Just remember to select that page in the module manager and put set the module to that position.
Just a note that joomla is "menu related" site where pages mean menu itemID, when you say "pages" i believe you have experience in wordpress...
All "pages" in a Joomla website are created with the single index.php file in the template you are using. In order to alter what displays from one page to another there are a few things to consider.
First, Joomla uses menu items to determine what a page is. When you create a menu item, it is assigned an itemID. In the case of menu items that have child items (an article within a category menu), then the child items inherit the parent itemID. You can then select to display modules on that menu item. In the module parameters there are options to display a module on all menu items, no menu items, selected menu items, and exclude menu items. You would change these selections to fit what you want displayed.
The second thing to consider is the template itself. It sounds like you have created a custom template so you will likely need to alter that. The index.php file should contain all of the possible module positions that you would may want to use. In order to hide the positions that are not being used on a particular page, you need to make those positions collapsible. You do this by not displaying any module position that is not populated on a particular page using this code:
<?php if ($this->countModules('top')) : ?><jdoc:include type="modules" name="top" style="xhtml" /><?php endif; ?>
You would want to use similar code for each module position on the page. This allows you to have a sidebar position that is not displayed on the home page, but is displayed on other interior pages that include a module in that position.
Ideally, if you plan the template properly, you will have many module positions that will allow you to add content in many different positions without having to touch the template once it is coded.

Add page number in page title - magento

Have one issue which don't like google for seo.
All the categories having the same title if going by pages in that category, so I want to add page number in page title. Is any solution?
Copy file from /app/code/core/Mage/Page/Block/Html/Head.php to app/code/local/Mage/Page/Block/Html/Head.php modify with the following code which is getting default page number.
Mage::getBlockSingleton('page/html_pager')->getCurrentPage();

Creating a Magento Sitemap page

I want to create a sitemap page for Magento that will display all the static pages in an orderly fashion. This page is going to be similar to http://www.magentocommerce.com/sitemap/ Has anyone created a Magento Extension or can someone point me in the right direction? Searching for this feature has been a nightmare since all I get are Google SEO results.
Edit: I would like to add some of the static pages to the site map. Currently the default sitemap has two options: Categories and Products. I would like a way to set which of my static pages can be added to the site map. Right now what I have done is just created a static page which I populated with links to my pages and products. However, if the client decides to add new products, it would require that page to be edited.
CMS > Pages > Manage Hierarchy
Bellow "Add node" button You can set CMS hierarchy with position.
$collection = Mage::getModel('enterprise_cms/hierarchy_node')->load("root_node_id");
"root_node_id" is parent of Your "Sitemap".
Create tree from $collection.
Also You can see enterprise_cms_hierarchy_node table, you can use columns as atributes from there to position elements inside Your tree.

Resources