I am new to orchard and am trying to find the best way to create a list of houses (name, address, pictures, prices and a few others). The houses are to be in two sections/ categories (Buy and Rent). These two options will appear on the menu. Then on clicking buy you get all houses flagged with that option and likewise for rent. I would also then like these displayed as images and brief description then on clicking more take you to a page with lots more details as mentioned above on the house. Then also like to have featured houses and latest houses buy/ rent widgets in the sidebar or similar.
There seems to be lots of ways to do this ie content types, projection, taxonomies, lists etc. But what is the best way in the case please. I dont want to go one way and then find i cant do it i would rather get some help here now and do it right.
Things i have read and watched to help:
http://www.youtube.com/watch?v=uDqY14mDG_Y&feature=youtu.be
http://docs.orchardproject.net/Documentation/Creating-lists
All help appreciated
You could create a content type called House with all the properties you described as fields. Then create projections (filtered to only show Houses) to display your Buy and Rent listings.
Related
shopware 5.7.6 - I want to bring the products on the shop page to the homepage, but there are only sliders or single products on the element page in the shopping world section. I want to shoot all or at least the number of products I have determined, but I don't know how to do it.
I assume you want to show all your products on the homepage, at least, that's how I understand your question. Unfortunately, I have to tell you, that there is no easy way to achieve this goal.
Use the given elements
You have already found the two elements you can use to show off your products. But there is no way to automatically produce a page, where all products are shown at once. You have to do that on your own, with placing the elements on your page, with one element for each product.
But you can use the category teaser to show some random products of a category. Depending on how you have structured your categories and products, it may make this task a bit easier. Maybe, but I never tried it, you can expand the category element in such a way that there is enough room for all products.
Use the code element
If you are familiar with webdevelopement, you could use the code element to build your own element in a kind of way. There you could pass all your products, but this will also require some work. As I said, there is no easy way to achieve your goal.
Build a plugin
If you are familiar with PHP, smarty, JS and jQuery, you could build a plugin, to create an own element for your pages. This may be the hardest way to achieve your goal, but it will also be the most rewarding regarding stability and functionality.
i have an intranet (which is my main website) and a several sub-websites, which refers to the departments of the company. I need to add a list with people related to department of the current web-site. The list can be the same view of the SharePoint native search.
I find this component (Search Results), which i was able to add my criterias (like people which department is equals to "HR"), and i get the right results. However, i couldn't find an way to make the view similar to the results of the image above.
Somebody can help me? Thanks
Edit:
I've changed the configurations to use "People Item" display index. Firstly, i had to import a javascript file. Then, even though that i had the right results, the properties aren't filled in the fields of the display item (as is shown in the image below).
One of my colleague left on vacation and left me with an Orchard project to work on.
I never worked with Orchard, so please excuse my ignorance and my possibly stupid questions.
I come to you for general advice on how to implement and structure the content of my site, as my research didn't give me the answers I'm looking for.
Here are the requirements:
The site must be divided into sections (section A, section A-1, section A-2, section B, etc...)
The navigation of the site must be based on the sections, each navigation item must also contain an image
Each section has a separate page with roughly 4 types of content that must be displayed:
Title of the page
Articles associated with this section, which represent the main content
FAQ content associated with the section which should be displayed in a specific zone
Miscellaneous content associated with the section which should also be displayed in a specific zone
I'm struggling at nearly every aspect of the requirements...
We started building a taxonomy, with as many terms as we have sections, allowing us to build the hierarchy we want, which is perfect. But this had 2 downsides:
The built-in taxonomy-based navigation is static, so the only thing displayed is the term, and we couldn't find a way to change it so the user would be able to add an image to the taxonomy term.
The generated pages based on the taxonomy display every content item based on the current term, that is, the articles, but also the FAQ content and the miscellaneous content, all in the Content zone.
Is there any way to work around these issues by using the built-in taxonomy? Or will I have to build content types from scratch in order to achieve what I'm trying?
The solution my colleague came up with was to add a layer for each section, and add in this layer 3 widgets, one for each specific content (title, FAQ, misc) in different zones. But I don't think this will me maintainable, as we currently have 4 main sections, each with 4-5 subsections, so that's rougly 60 layers, which will be a nightmare for the client to maintain.
Any advice will be greatly appreciated, I'm kind of lost.
Thanks in advance,
Mickaël
Taxonomies was a good start, but now you need to study projections. You'll be able to set-up filters about what you display.
For adding an image to your terms, one way to do it is to add a media library picker field to the type that was created for your taxonomy.
I am pretty new to opencart and I want to learn how can I create a more advanced search function.
For example I have products in my store, some of them are blue and some of them are red.
How can I specify or where I can specify a product's color (but not in the title, something like an attribute)?
And after that how can I search for red products?
I do not want to search by the keywords. I want a tab where to select the color and if I choose blue the search will show me all the blue products.
I hope you understand what I wish.(and can you please give me some code examples: where to add what to add to achieve what)
Thank you!
Normally, you would use Product Tags for this (field is under Product description on Product Page in Admin > Catalog > Products). You could have problems with very short tags 3 characters or less. See this post for more info:
mysql fulltext MATCH,AGAINST returning 0 results
You would add tags to your products like: red,black,brown,leather,s,m,l,xl small, medium, large
Then you could search any of the terms
[EDIT: in response to comment #1]
I would imagine that you just type multiple terms into search box:
'brown','large'
then all products that have (any? both?) of these tags returned.
You could use a Tag cloud or similar module to display tags on your pages, also you could use these terms in search field. If you search for 'brown', all products that have this tag will be returned.
You may also consider a third party extension for a more advanced search, check Opencart site's extension section.
If you want to modify/improve the search functionality yourself, you'll need to tinker with SQL queries in catalog/model/catalog/product.php
Opencart Search is considered by many to be one of the weak points of this package. There have been discussions on Opencart forums on this matter.
Just see how it works for you with the out-of-the-box setup, then if you need more functionality, look for an extension that does what you want, hire a programmer or code it yourself.
I’m currently working on a travel site for a client of mine, they require a cms so that they can add hotels and destinations and also update their website with ease.
The basic structure of the site is explained below:
1. Home page
This page currently pulls out destination information and a section of hotels that change on the refresh of the page.
2. Destination listing page one
This page will show the countries in this specific destination so for example: if the destination is the Caribbean it’ll list out the countries that my client sells hotels for, sorted by rating so if a hotel is rated 5 stars it’ll appear near the top of the listings. The countries are setup as categories and are unique to the listing pages, the categories contain a brief description of that country and an image that will link to the hotel list page displaying the hotels in that country.
2b. Hotel list
This page will contain the list of hotels that are on sale in the specific country.
2c. Hotel description page
This page contains pictures and information about the selected hotel.
3. Destination listing page two
3b. Hotel list
3c. Hotel description page
This section has the same concept as the first destination listing section above except the information is unique to its destination. (obviously)
So first things first, I’m having a few issues with how the functionality of the cms works, at the moment to add a hotel my client has to fill out one big form (they like this because it means they don’t have to move around the cms too much). I’ve created two weblogs for each destination but the fields are the same.
In order to add a hotel to a specific country you have to assign it using categories. Now the problem I’m having here is that if I want to make a hotel appear in more than one country it displays both country names, images and descriptions and I can’t figure out what the hell is going on, I thought of using some sort of tagging system because I thought this might be more appropriate to what I need to do?
Secondly I’ve downloaded and installed the structure module as I thought this would be good to help my client visually see how the site is structured (excuse the pun) and make adding hotels and other pages and content even easier than it already is and not only that but to have an automatically updated menu and sitemap. I’ve read through the documentation and I’ve tried experimenting with a few of its features - such as the listings feature. I thought this maybe a better way to list and organize my countries instead of using categories or tags but would this work or would it make things so much harder to maintain and keep track of? Because currently if my client wants to edit a certain hotel they just select it from the edit menu and change all of the information in that one post, would by using the structure method make it more awkward?
I from what I can see, the structure module works by treating weblog posts as ‘pages’ now with this in mind if I wanted to use structure how would I get it to work in the way that I want it to, in terms of having a weblog with one big field group so that when a hotel is added all of its information is in one place instead of being spread across 3 different weblogs?
RIGHT, I hope I’ve not confused you here.. If you need any more information just holla at me!
Thanks
Make a weblog for the hotels, then use the Playa module to relate the hotels to the Structure pages. (I know this answer is a bit late, the site is probably long finished...)