Template modifications

Template modifications

Postby Jodrik » Thu Nov 21, 2013 10:37 am

I'm trying to work on a template based on the software but I am running into some issues. A few of the things such as the folderlist and the page numbering are kept in arrays which come with the table structure included. Would it be possible to rework this so that they come as an UL/LI listing? This way we can render menu's using CSS styling. This is now about @@@@JUMPTOPAGESLINKS@@@@ & ####FOLDERLIST####

For ####FOLDERLIST####
Code: Select all
        <li><span>Item 2</span></li> <!-- span is used for currently selected folders -->
        <li><a href="#">Item 3</a>
            <ul>
                <li><a href="#">Item 1</a></li>
                <li><span>Item 2</span></li>
                <li><a href="#">Item 3</a>
                    <ul>
                        <li><a href="#">Item 1</a></li>
                        <li><span>Item 2</span></li>
                        <li><a href="#">Item 3</a></li>
                        <li><a href="#">Item 4</a></li>
                        <li><a href="#">Item 5</a></li>
                    </ul>
                </li>
                <li><a href="#">Item 4</a></li>
                <li><a href="#">Item 5</a></li>
            </ul>
        </li>
        <li><a href="#">Item 4</a></li>
        <li><a href="#">Item 5</a></li>
    </ul>
</nav>


for @@@@JUMPTOPAGESLINKS@@@@
Code: Select all
    <li><span>1</span></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
Jodrik
 
Posts: 40
Joined: Wed Sep 19, 2007 8:39 am
Location: Netherlands

Re: Template modifications

Postby Code Crafters » Thu Dec 05, 2013 3:18 pm

You can modify any of the templates as long as you don't break the tags or the forms. Best to always make a full copy of the template folder though and point at this in the settings; otherwise updates can overwrite any modifications made to the original template.
Code Crafters
 
Posts: 944
Joined: Mon Sep 10, 2007 2:35 pm

Re: Template modifications

Postby Jodrik » Fri Dec 20, 2013 9:43 am

But my problem is that those two functions generate alot of HTML which I would like to modify. Is that possible somehow?
Jodrik
 
Posts: 40
Joined: Wed Sep 19, 2007 8:39 am
Location: Netherlands

Re: Template modifications

Postby Code Crafters » Sun Dec 22, 2013 10:43 pm

Any HTML that's not within a form is pretty safe to modify as you wish. You can replace tables with UL/LI and CSS as you need to. Just remember to make a copy of the original template and modify the copy so your changes aren't overridden on next update.
Code Crafters
 
Posts: 944
Joined: Mon Sep 10, 2007 2:35 pm


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 5 guests

cron