Announcement

Collapse
No announcement yet.

Splitting large sections into 1, 2, 3 pages ..

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Norman beat me to it...
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #17
      talking of the top of my head again, and probably not thinking as clearly as well as I should ( and perhaps I should not type as I think - sort of more engage brain - engage mouth )

      it sounds like a job for "super norman"

      what about a new custom property called "DontIncludeInMenu" and make it a Numeric type option
      then within EVERY individual section page, add the custom property and if you want to include it in the menu, give it a value of "0" - if you want to hide it, give it a value of "1"

      then adapt the menu-generator code to detect on the "DontIncludeInMenu" to do the neccessary biz.

      perhaps eveven take it a little bit further and give the DontIncludeInMenu a consequtive number, if its a "0" then its the top page, if its a "1" then its page one of the series, "2" then its the second in the series.
      with a concept like this, you could even create a custom "Section Link Layout" to generate the "Page 1", "page 2" "page 3" and so on.

      I may not have thought about it completely, but the idea would simply use a custom var to control the actual displaying of the page and their links.

      It would be interesting to see a solution, I have 280+ items in "one section" that I've had to split to become managble.

      kev

      Comment


        #18
        Unfortunately this is a lot of coding to even see if it would work.

        What I'd do if I was in this situation would be to put all the product on a single page, change it's name to ....php and use PHP to split it into sub-pages. Doing it this way has the advantage of also allowing you to sort the products by name, price, etc.

        See http://www.drillpine.biz/v7php-test/...c_Products.php for one such system (I didn't add in page counts but that's not hard to do on this system) and http://www.drillpine.biz/expandingpr..._Products.html (which allows you to use a fixed page size but display many products) for two ways of managing lots of products. Unfortunately, these are just "proof of concept" type test sites and not ready-to-use patches.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #19
          see .... engage brain, engage mouth.
          looks like I have not been playing long enough to actualy know what I'm talking about !

          sorry Norman, understand what your saying, on paper, it looked like a simple excercise.

          kev

          Comment


            #20
            Nightmare!

            Is there any way around this ?

            I need to split some of my Sections down using this method, as I have pages i excess of 300K, mainly because of images of the sections are about 3k, plus all the other stuff.

            What about renaming the html page and ftp'ing independantly from an update.

            S?
            esafetysigns.co.uk
            your instant download portal for self printable health and safety signs and posters
            ... download once use as many times as you like !


            http://www.esafetysigns.co.uk/index.html
            http://www.esafetysigns.co.uk/acatalog/index.html

            Comment


              #21
              With a web site, there is no substitute for hard work. You can find ways to hack the system, but unless you are on top of the game, you can't repair it when it breaks.

              Better to bite the bullet, and build the site in cooperation with the software - that way when it does not work, at least you can get help and support from Actinic, and this forum.
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #22
                OK, i thought I had the answer.
                So near and yet so far, c'mon Actinic... V8 must surely allow this?

                S.
                esafetysigns.co.uk
                your instant download portal for self printable health and safety signs and posters
                ... download once use as many times as you like !


                http://www.esafetysigns.co.uk/index.html
                http://www.esafetysigns.co.uk/acatalog/index.html

                Comment


                  #23
                  Simon,

                  I have been looking for a way to get round this and think I have found the answer. I've put a test on my website with 3 pages and it seems to work. www.samporia.com . Go to section 'rock' and there are links to the extra pages without the extra sections being listed in the contents page. Is this what you are looking for?

                  The way I did this was to put page 2 and page 3 as sub sections to the first page.

                  Rock
                  ....Rock Page 2
                  ....Rock Page 3

                  Then go to section details for the first page and select the layout tab. Then tick the box 'overide default settings' and select the button 'none'. That way the sub sections will not be displayed on the website and you can add your own links to the extra pages.

                  Sam

                  Comment


                    #24
                    Yes it is what I want... ish.

                    I'll have a play around with this, but I can see its limitations with regard to its great if your at the lowest level of your section tree.

                    Unfortunately, I have many levels and ..... wait a mo .....

                    If I create a dummy Section called "All_my_pages", and make this a lowest level section and link to them anyway, even though the tree is not logical... who cares, no one will see the structure.

                    I think you've cracked it.

                    Nice one, S.
                    esafetysigns.co.uk
                    your instant download portal for self printable health and safety signs and posters
                    ... download once use as many times as you like !


                    http://www.esafetysigns.co.uk/index.html
                    http://www.esafetysigns.co.uk/acatalog/index.html

                    Comment


                      #25
                      did you have to create seperate headers for each of the linked pages (pg 1,2,3 etc) or was there an easier way.
                      it would be nice to just have parameters to the url similar to:
                      RockPage.html?curr=3&prev=2&next=4
                      and then a little bit of a script that takes the url parameters and then generates the
                      Prev 1 2 3 4 5 Next
                      of code in the headers automatically,
                      can you explain a little of how you did each individual page (I realise you put a pointer to the hidden page)
                      with a lot of linked pages, it would be nice to semi automate it

                      PS - smart idea !

                      kev

                      Comment


                        #26
                        All I did was create a new fragment on each of the pages and manually put the HTML links in the fragment. So for the first page I had:

                        !!<
                        <table align="center">
                        <tr>
                        <td> <a href="#section">1 </a> </td>
                        <td> <a href="http://www.samporia.com/acatalog/Rock_2.html"> 2 </a> </td>
                        <td> <a href="http://www.samporia.com/acatalog/Rock_3.html"> 3 </a> </td>
                        <td> <a href="http://www.samporia.com/acatalog/Rock_2.html"> next </a> </td>
                        </tr>
                        </table>
                        >!!

                        Thats the only way I could think of doing it. If you had a lot of pages it could get time consuming. I agree it would be nice to semi automate it.

                        Sam

                        Comment


                          #27
                          Originally posted by sgreenway
                          www.samporia.com . Go to section 'rock' and there are links to the extra pages without the extra sections being listed in the contents page.
                          I'm trying to achieve the same kind of thing as you've been talking about here but I don't see it working on your samporia site. Did it turn out not to work or am I missing something?

                          Certainly page load times are one of my biggest nightmares !
                          Richard
                          www.worldofenvelopes.com

                          Comment

                          Working...
                          X