Announcement

Collapse
No announcement yet.

V8 - Paragraph Tag Format

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

    V8 - Paragraph Tag Format

    We've raised an issue with Actinic, but as it's taking a while to come to the bottom of the problem I thought I'd raise the issue here to see if anyone has had a similar situation that they've solved.

    We have a client we're doing a new development for who used to have a V5 site. To get it into V8 we firstly imported it to V7 and then into V8 where we started implementing the new design.

    It can be viewed at: http://www.berndesign1.co.uk

    You'll see the middle of the home page has a few paragraphs, the first reading "Marmax Air Power are committed to bringing you the latest and full range of tools from Ingersoll-Rand at trade prices, delivering throughout the UK and worldwide."

    This first paragraph is formatted correctly, but the subsequent paragraphs have lost all formatting. The reason being, if you look at the code for that part of the site, the paragraph tags are incorrectly being added somewhere within Actinic.
    It looks like:
    Code:
    the UK and worldwide.</p><p></p><p></p>We recognise
    So the paragraph gets finished with a closing tag, then an extra two paragraphs get added and it's not re-opened for the next paragraph.

    This is not specific to this area, it happens on pages where subsequent paragraphs are displayed, such as the "Making a Purchase" section on the terms and conditions, here: http://www.berndesign1.co.uk/acatalog/info.html

    It's not a style thing, as I completely removed all the styles and loaded the site and it still occurred. I'm convinced it's something within the templates but can't find what.

    I haven't been able to find any examples of this occurring within posts on the community, but hoped someone might have a suggestion.

    Thanks in advance,
    Nick Shread
    Bern Internet
    www.BernInternet.co.uk
    Nick Shread
    Shreadsoft Ltd
    www.Shreadsoft.co.uk

    #2
    I'd expect to see embedded html in the fragments, have you looked in there?

    Comment


      #3
      Hi Lee,

      Thanks for responding.

      Yes, I've tried a few variations of layout for that home page fragment, for example. Currently it's:
      Code:
      <table border="0" cellspacing="0" cellpadding="0" width="557">
      	<tr>
      		<td>
      			<div style="background: url('<actinic:variable name="FragmentImageFileName" />') no-repeat; height: 184px; width: 557px;">
      				<div class="hometopbanner"><actinic:variable name="FragmentTitle" /></div>
      			</div>
      		</td>
      	</tr>
      	<tr><td><p class="hometoptext"><actinic:variable encoding="actinic" name="FragmentText" /></p></td></tr>
      </table>
      But I've also tried a SPAN instead of paragraph tag, and error still exists. The trouble is, it's not just this fragment, it's a paragraph issue throughout the site.
      Nick Shread
      Shreadsoft Ltd
      www.Shreadsoft.co.uk

      Comment


        #4
        Upgrades from 5 to 8 never really work IMO - best to start from scratch

        Comment


          #5
          Code:
          <div style="background: url('<actinic:variable name="FragmentImageFileName" />') no-repeat; height: 184px; width: 557px;">
          Why not add as a class for a far neater job?


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            Many thanks for those that gave suggestions to resolve this issue.

            For future reference, Actinic have pinpointed the issue. Their response is as follows:

            The <P></P> pairs are inserted because the v5 site used <p> instead of <br>. In v5 the setting for this was in Design Options | Miscellaneous | Use <BR> for paragraphs.

            There is no option for this in the V8 user interface but the option is still read by the application.

            Work round:-

            Close Actinic
            Open DB with Access2000
            Open the table Setup2
            Scroll all the way over to the right, then the 8th field from the end of the record is 'nNewLineHTML, set this to 1.
            Exit Access
            Start Actinic and the paragraphs should be present.
            Regards,
            Nick Shread
            Bern Internet
            Nick Shread
            Shreadsoft Ltd
            www.Shreadsoft.co.uk

            Comment

            Working...
            X