Jump to content

pwusr

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by pwusr

  1. Thanks a lot, Joss. Sorry for not being clearer. I had a manufacturer name field in my product template.. the reason why I had the doubt. Like you mentioned, as the manufacturer template, has manufacturer name, address etc, I will add it one by one.
  2. @Joss, If I add another manufacturer-list template with no file and the children of this has a 'manufacturer' template (with fields like manufacturer name etc) , do we have to add each manufacturer name manually as pages? Is there any other way? Kindly clarify. Thank you.
  3. Thanks a lot, Joss. I am sorry I couldn't check back earlier. Thanks Nooseladder for posting your work. I am sure it will be of help.
  4. My product structure is like this: Main Category 1 -- Sub Category 1 ---- Prod 1 ---- Prod 2 -- Sub Category 2 ---- Prod 1 ---- Prod 2 etc. In the method Joss outlined, do we need separate templates for main-categories & sub-categories. One of my Main Category is for Rental items (where there are weekly/daily rental charges) & other for Sales items (where I have to include Sales Price). Please let me know if I need to have 2 differernt template files here. Thank you very much in advance..
  5. Thanks a million Joss, for your patient explanation. Let me try it..
  6. Thank you Ryan & Joss for your replies. I have added a different template for sub-category. I've got this part working: Now I have a doubt, In my Categories, sub categories or products templates I haven't used a Page type field anywhere. Kindly let me know the significance of using a Page field type here for categories (like Nooseladder has used) or products. (I do not have multiple categories at the moment) @Joss, I am sorry I couldn't understand this fully.. I would be grateful if you could elaborate a bit.. Thank you.
  7. I have 4 main categories. Each of them have 15 sub-categories and each sub category has around 20-25 products listed. Please see this image- I have created a Category template with just the Category name. The main and sub categories pages are based on this template. The product pages are based on the Product Template - with Product Name, Description, Image etc. (Hope I have got it right) What I am looking to accomplish: When a user clicks on Main category, it should take him to a page showing all sub categories for that. And when a sub category is clicked it should show all the products which comes under that along with its price etc. On clicking a product it should show details like description, image etc. Really appreciate any inputs on how to structure the template files to display this.. Thanks a lot.
  8. Thanks a lot, Apeisa. Sorry for missing the obvious..
  9. Kindly take a look at the image. About Us page (in the list) has 2 subpages but those are not shown in the list. Please tell me whether I should add any custom code in Selectable Pages section for this? Thank you.
  10. Sorry for not making myself clear. In my repeater field I have a page (array) field . My website has the following structure -Home -About Us --Sub menu 1 --Sub menu 2 -Main Menu 3 -Main Menu 4 --Sub Menu 1 etc. On the page when I enter data for the repeater, the page field list shows only Top level pages ie., Home, About Us, Main Menu 3, Main Menu 4 etc. I cannot see (or select) the subpages. Home is selected as parent of selectable pages. How can I make the sub pages also available (in the list) to select them. Hope I have made myself clear. Thanks a lot.
  11. For the 'Selectable Pages' list to show the second level pages also (child pages of the top level pages) do we need any custom php code? Thank you.
  12. Thank you for your replies. But I removed the repeater field and created the field again with just 2 fields (one a text type and second one, page(array) type) as before. I have added just one repeater item in the page. And, I am getting this error again.
  13. I am receiving this error when I add a new page (clicking on pages) & also click AddItem to add more repeater items. Error Maximum function nesting level of '100' reached, aborting! (line 95 of D:\wamp\www\pwabc\processwire\wire\core\Data.php) I have a repeater field with two repeater fields : one a text type and second one, page(array) type. I have set Ready to Edit Repeater Items as 0. Using Processwire version - ProcessWire-2.2.9-9 Kindly tell me what might have caused this error. Thanks a lot.
  14. Thank you very much Wanze & Soma for your replies.
  15. Thanks for sharing the excellent module & the hard work! Kindly let me know if the following is possible: Main Menu Item -- Sub Menu 1 -- Sub Menu 2 Few of the main menu items (on the site I am doing) has no page associated with it & opens the page for the first sub menu item. Please let me know how, if this is possible. Thanks a lot in advance.
  16. If I want to modify (the css for) a class for a specific page only, please tell me which is the best way. (The class is common to almost all pages) Thanks a lot in advance.
  17. Really appreciate your help, Martijn. I'll create for ex: a pagelinks.inc and put the above code in, then include it in whichever pages I want the links to appear in. Hope I am right. Thanks a lot.
  18. Thanks a lot.. I got that & I had also watched the excellent video by Ryan. Created Repeater field with Title & Page type fields. But I am slightly confused by this: According to the above: There is one Repeater field Each Repeater has for ex: 5 Repeater Items Each Repeater Items has a Title + Page (Array) Thank you for your patience.
  19. Thank you. So maybe I should have for ex: a pagelinks.inc (like foot.inc) and include it in every file. How to create repeater-items within a repeater field. I tried but couldnt. As each repeater-item contains title and (links to) few pages they should be type repeater, if I am not mistaken. Please correct me if I am wrong. Thanks.
  20. Thanks @Martjin for your detailed reply. But being a newbie I couldn't understand some parts clearly. I do have more than 10 pages - around 20 I have some basic doubts also: a)What should I select in the Selectable Pages (in the fields section) (If I select Home I can't see the children of the pages coming under Home page.) b) Do I have to create say, 5 different repeater fields if I have 5 columns of links? Thanks again.
  21. Thanks a lot for your quick reply, @Martijn. I have created the repeater field as you suggested. I have a doubt regarding Selectable Pages field. If I select Home I can't see the children of the pages coming under Home page. (For ex: Children of About Us - The team, Gallery etc - are not visible. ) So, does this mean I have to create 5 different repeater fields (each with title and set of links) if I have 5 columns of links? This has to be available on all pages, so do I create a template for this (set of links) Thanks in advance.
  22. I need to keep about 4-5 columns of links in my footer area / or in another div just above the footer. Each column will have a header and 4-5 links below it. All these are links to pages but in random order. Kindly let me know how I should go about it. Thanks a lot.
  23. Thanks a lot Luis. That worked. Sorry, I couldn't reply earlier as I was away last couple days.
  24. Thanks. I tried substituting the class names in options but it didn't make any change to the unstyled menu. Please see the css: ul#nav { margin: 8px 0 0 20px; } ul.drop a { display:block; color: #fff; font-family: Verdana; font-size: 14px; text-decoration: none; } ul.drop, ul.drop li, ul.drop ul { list-style: none; margin: 0; padding: 0; color: #fff; } ul.drop { position: relative; z-index: 597; float: left; } ul.drop li { float: left; line-height: 1.3em; vertical-align: middle; zoom: 1; padding: 5px 10px; } ul.drop li.hover, ul.drop li:hover { position: relative; z-index: 599; cursor: default; background: #1e7c9a; } ul.drop ul { visibility: hidden; position: absolute; top: 100%; left: 0; z-index: 598; width: 195px; background: #555; border: 1px solid #fff; } ul.drop ul li { float: none; } ul.drop ul ul { top: -2px; left: 100%; } ul.drop li:hover > ul { visibility: visible } I set 'drop' as current_class. Please let me know what I am doing wrong. Thanks a lot in advance.
×
×
  • Create New...