user1104799
user1104799

Reputation: 161

best way to handle complex page layout in joomla

I have to convert a static site for a client and it has to retain the exisiting layout.

Fortunately, most of the pages don't have to be editable, so for those I was going to use more or less the existing html.

The challenge I am having is that for many of the pages that do need to be editable, the content is laid out in columns (2, 3 and sometimes mixed)

This ( http://globalstrategies.org/index.php/give/hope-partners ) is an example of a page like that, and you can see others on the site where the layout is relatively complex.

I had thought of creating a jce stylesheet that would at least layout the page in the editor in a reasonable way (a bit like a responsive site, by having the columns stacked one after the other) , but I am concerned that my client may accidentally delete the surrounding classes/divs that create the more detailed structure.

I'm pretty familiar with Joomla and have built quite a few sites, but I've not used an cck tools and was hoping not to have to do that in this case, though maybe now is the time to learn.

Any advice / recommendations would be welcome !

Richard

Upvotes: 0

Views: 162

Answers (2)

Tirpox
Tirpox

Reputation: 371

If your sites is upgraded to the Joomla 3 you can use the build-in Bootsrap to do the layout.
You can find some more information how you can achieve this in the following page: http://twitter.github.io/bootstrap/scaffolding.html#gridSystem

Upvotes: 0

Riccardo Zorn
Riccardo Zorn

Reputation: 5615

Maybe ContentBuilder could do in your case, it's fairly easy and creates super-simple code, I've accomplished similar tasks with it. You provide the user with 3 fields (one per column) and create a layout for its display.

Another alternative is possibly even easier: you could override the use of the page functions in a template override of com_content/article, instruct the user to insert at most 2 page breaks, and use the page breaks to build the layout as you require.

Upvotes: 1

Related Questions