Announcement

Collapse
No announcement yet.

New Page - Complete control of content?

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

  • New Page - Complete control of content?

    Hi All

    I am in the process of doing rough drafts of our subpages for the main headers here, such as "services": http://beta.aebike.com

    I've looked at the Add/Edit Extra Web Pages tutorial located here:
    https://support.3dcart.com/index.php...nloaditemid=87

    and it is a bit confusing.
    I just want to create a file called 'services.html' that will reside at the URL http://beta.aebike.com/services.html where I can edit the raw HTML.

    The closest I've been able to come is a page like this:
    https://aebike.3dcartstores.com/Loca...s_ep_39-1.html
    But it has the breadcrumbs and the title right there, which I do not want. I want full control of that section of the page.

    Does that file Local-Services_ep_39-1.html reside anywhere on the FTP site so I can manually edit it?
    I also tried just creating a file services.html in my template folder, but linking to it ignored the frame.html outline.

    Help! :)

  • #2
    So I found a workaround to this on my own, basically first I used some CSS rules to make the automatically-generated stuff from 3DCart that I don't want invisible:

    PHP Code:
    td.page_headers {
        
    display:none;
    }
    td.data {
        
    displaynone;
        } 
    Then in the page content editor I closed the table immediately, put in a <div> with the content I will have, and then re-opened the <table> because otherwise there will be a hanging </table> close tag.


    PHP Code:
    </td></tr></table>
    <
    div class="content">

    <
    h1>Local Services</h1>

    </
    div>

    <
    table><tr><td

    The downside is that this is a bit of a hack and my page will no longer validate clean XHTML strict.. but it's the best I can come up with for now.

    Comment


    • #3
      Every page on the system has a template.
      In this case the extrapage.html template is used, and you can modify it if you like to remove the parts you are not interested in. (Settings->Design->Template editor)

      Here is the default template, as you can see the sections for crumbs can easily be removed: ([PAGE_FULLLINE])

      HTML Code:
      <table width="95%" cellspacing="0" cellpadding="2" border="0">
        <!--START: BODY_HEADER-->              
      
          <tr> 
      		<td class="data">
      			
      			[PAGE_FULLLINE]<br><br>
      			
      		</td>
          </tr>
          <tr><td class="page_headers">[htmlpage]</td></tr>
      
       <!--END: BODY_HEADER-->
      	<tr><td>
       <!--START: SUB_PAGES-->              
        <table width="95%" cellspacing="0" cellpadding="2" border="0">
          <!--START: SUB_PAGES_FORMAT-->
      		<tr>
      		    <td class="data"> 
      		    - <a href="infopage.asp?page=[id]&extra=[extra]">[sub_pages_title]</a>
      	             </td>
      		</tr>
        
          <!--END: SUB_PAGES_FORMAT-->
            <tr><td> </td></tr>
        </table>
        
       <!--END: SUB_PAGES-->       
       
          </td></tr>       
      
      	    <tr> 
      		<td class="data">[content]</td>
      	    </tr>
        </table> 
      
      ----------------------------
      Gonzalo Gil
      3dCart Support
      800-828-6650 x111

      Comment


      • #4
        That's perfect. I figured the extra pages just had table wrappers hard coded and existed as an entry in the database.
        Thanks!

        Comment

        Working...
        X