-
AuthorPosts
-
James Weston Friend
James Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
February 2, 2012 at 3:02 pm #436634<em>@himangi 298134 wrote:</em><blockquote>Please check now.
I have removed the page assignment I did earlier and now I have duplicated your restaurants list module and shown it on Restaurants menu which is now linked to a single article containing that module. I have changed the itemids of links in the modules to a newsly created menu item in Unpublished Menu container. And the duplicated module is displayed on this new menu item..
Let me know if this works now.. If it does then you will need to publish the modules you want to show on the Restaurants pages on this menu item, if the module is not published on all pages.</blockquote>
Himangi, sorry I now want to do this for another section on my own 🙂 Have to learn. I think I follow everything you did. Just one thing I am not clear on where did you go to create the module position bestrest?
Jim
James Weston FriendJames Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
February 2, 2012 at 4:50 pm #436643Sorry Himangi, I just realised that by putting that previous code in content-mass-bottom it means that the box also appears now on the home page around the slider http://www.myjakartaconcierge.com/index.php?lang=en
Perhaps I should take the code out and work out some html to put in the actual module to do the same thing.
Jim
himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
February 3, 2012 at 10:09 am #436734To have some styling specifically for a module, you can simply use module class suffix parameter that you see when you edit the module. Say you put class as _bestrestaurants for this module then the styling you need to add in the template.css will be
<blockquote>div.moduletable_bestrestaurants {
margin-top: 40px;
border: 2px solid;
}</blockquote>The position bestrest is a virtual position. You can use anything instead of this. Whatever position name you specify while using {loadposition positionname} should generally be a position which is not present in your template. So that any module(s) you publish in that position, will only be displayed in the article having {loadposition positionname} code. Using virtual positions basically we avoid displaying the same modules somewhere in the template. But if your require to show a module say in left position as well as in an article then you can simply use {loadposition left} in your article so that the modules published in left position will be displayed on that page too.
I checked your PM but the images dont show up in the PMs so did not understand the issue. Can you please repost it here?
James Weston FriendJames Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
February 3, 2012 at 12:05 pm #436747Thanks Himangi, Sorry the files didn’t turn up.
Do you understand what I mean. I thought that if i just used the 1 module say JAKARTAS BEST RESTAURANTS and set it at content-mass-bottom and allocated it to appear in Restaurant section then that is the only place it would appear. But you can see it is also appearing in other sections.
Jim
- James Weston Friend
James Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
February 3, 2012 at 1:52 pm #436753Thanks Himangi, that code and position did the trick and now I know where to go in the future to make changes for other modules.
Now if I can just find out why the module is appearing in a page that it has not been set for I think I will be able to finish off the site over the weekend 🙂
I am sure it is something simple I have overlooked. But you can see my module settings from this attachment and the hotel module is set to only show on the hotel page.
Jim-
himangi Friend
himangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
February 6, 2012 at 6:28 am #437084Hi Jim,
I am very sorry, I could not reply in last week.
I could not find the page showing Best Restaurants module twice, but from the image it seems that the page is using menu type Category Blog, number of articles from the selected category are being shown on the page and since the article containing the {loadposition positionname} is showing up in the blog. Also the other module must be published on this particular menu item and hence you are seeing the module twice..
James Weston FriendJames Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
February 6, 2012 at 7:05 am #437089Hi Himangi,
No need to apologise. I am very grateful for all your input and advice. I was playing around with things so maybe I have stuffed up a few things. I am very happy with the way this page looks http://www.myjakartaconcierge.com/index.php?option=com_content&view=article&id=123&Itemid=595&lang=en although I will clear some of the padding so the module moves up the page.
Am also happy that the next page when you click on a category http://www.myjakartaconcierge.com/index.php?option=com_jshopping&controller=category&task=view&category_id=45&Itemid=592&lang=en looks fine (although need to fix padding again to get rid of white space) and then on the final page when you click on the actual restaurant http://www.myjakartaconcierge.com/index.php?option=com_jshopping&controller=product&task=view&category_id=45&product_id=175&Itemid=592&lang=en
Now the big problem is there is no navigation on the page so that it is click on the back toolbar in the browser to return or go back to teh rest of categories. Do you think it is possible to get the menu showing on the pages just once or should I look for an alternative solution?
Jim
himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
February 6, 2012 at 9:01 am #437098You can simply display Breadcrumbs on the page which will allow users to click on the Restaurants page and the category below that, since the breadcrumb shows the the path where the article is located wrt menu items..
Secondly you can turn on navigation parameter from articles Manager > Options and see if that is helpful.
Thirdly, if there is any module that shows the the Categories from Jshopping you can display the module as a submenu of Restaurants menu using the menu style Megamenu.
James Weston FriendJames Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
February 6, 2012 at 11:07 am #437112Hi Himangi, thanks for the input.
Breadcrumbs seems to be the best navigation option. The problem is that it takes the links back to the joomshopping feature so when you click onto an individual restaurant and then click on the word restaurant on the breadcrumb it goes back to http://www.myjakartaconcierge.com/index.php?option=com_jshopping&controller=category&task=view&category_id=10&manufacturer_id=&label_id=&vendor_id=&page=&Itemid=592&lang=en
Which is where we started. I am thinking I shoudl put another post up and see if someone knows how to edit the css so the above linked page becomes a list without the images in it 🙂 That would solve all my problems.
Jim
-
AuthorPosts
This topic contains 24 replies, has 2 voices, and was last updated by James Weston 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum