Announcement

Collapse
No announcement yet.

New Products List

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

    New Products List

    Hi,

    Would it be possible to show the New Products list on a page which was not part of Actinic? Currently we have Actinic as our shopping catalog, but all the other pages are plain HTML - I know that the best solution would be to bring those pages into Actinic, but we just don't have the time.

    So would we be able to show our new products list on our front page which is not an Actinic page?

    Thanks for reading.

    Cheers,

    Stuart
    Tacklebargains.co.uk

    Located: Cheshire, UK

    #2
    Perhaps but Actinic won't be able to update it. You can however create a list/display of products on a non Actinic page then use 'add to cart from anywhere on the internet' as detailed in the AUG.

    Comment


      #3
      I thought that would be the case - its to avoid it being forgotten about and not getting updated, so might be better to put the front page into Actinic for the time being and then work on the other pages over time.

      Thanks for the suggestion.
      Tacklebargains.co.uk

      Located: Cheshire, UK

      Comment


        #4
        you might want to use actinic for the index page only (as well as shop pages!)

        this is what we did at surf-wax.co.uk/index.html just so we could have new products on it

        Comment


          #5
          Here's a way to get Actinic to write a new products list to an external file that you can then include via an IFRAME into your external page.

          Put the following just above the </head> statment in your overall layout.
          Code:
          <!-- Only create file on Search page -->
          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Search%22" >
          	<actinic:block php="true">
          		$npfile = fopen('newproductslist.html', 'w');
          		$nphtml = '<html><head><link href="actinic.css" rel="stylesheet" type="text/css"></head><body>';
          		$nphtml .= <<<ENDOFCODE
          <actinic:variable name="NewProductsList" value="Home Page New Products List" />
          ENDOFCODE;
          		$nphtml = str_replace('<a ', '<a target="_parent" ', $nphtml);	// open links in parent, not iframe
          		$nphtml .= '</body></html>';
          		fwrite($npfile, $nphtml);
          		fclose($npfile);
          	</actinic:block>	
          </actinic:block>
          Do a full Preview and the file newproductslist.html will be written to your Site folder.

          Now go to Design / Additional Files and add the file newproductslist.html.

          On your external page, load this file via e.g.

          <iframe src="acatalog/newproductslist.html" width="100%"></iframe>

          You can include different new products lists by altering the line

          <actinic:variable name="NewProductsList" value="Home Page New Products List" />

          PS Using Actinic to generate all pages is still better!
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Nice one Norman ....

            Regards,
            Bruce King, Mole End Software Support
            Integrated label paper for Actinic A4 Paper with one or two peel off labels.
            One Stop Automation Automate Actinic. Mole End Automation works while you play.
            Mole End Product Mash for Actinic A suite of marketing feeds for your Actinic Store

            Actinic Upgrade and Design Service

            Comment

            Working...
            X