how to make invisible the title of a page?

culda_a

Avatar: culda_a

2008-09-08 19:07

how to make invisible the title of a page? ... is it possible to do this let's say that I have the pages:

Computers
Digital foto
...and so on

is it possible for me when I press on computers in the main page appears again the name of the page on top...how can I make that invisible?

» Quick.Cart v3.x

beholder

Avatar: beholder

2008-09-08 22:47

oh, it's very easy, create a new template from templates/pages_default.php, name it as "pages_noname.tpl", then edit the new template and erase:
<h3>$aData[sName]</h3>

Then just make sure you choose this template whenever you create a new page.

culda_a

Avatar: culda_a

2008-09-09 08:29

great ... Thanks

culda_a

Avatar: culda_a

2008-09-09 08:43

ok that works great but I use the productsInrow plugin... how do I use this plugin and in the same time with no title?

culda_a

Avatar: culda_a

2008-09-09 09:00

well a solution will be to edit pages_default.tpl but then if I want pages with title ...is not possible anymore

Makaron

Avatar: Makaron

2008-09-10 09:16

It's of course still possible with plugin productsInrow or without it.. When You don't copy all conent of file with template to new file which You create so You change only those blocks which are in new file.. So You can make one more file fe: pages_productsInRow_withoutTitle.tpl.. It should look like this:

<!-- BEGIN CONTAINER -->
<
div id="page">
  
$aImages[3]
  
$aImages[1]
  
$aImages[2]
  <
div class="content">$aData[sDescriptionFull]</div>
  
$sPages
  $sFilesList
  $aImages
[4]
  
$sSubpagesList
  $sProductsList
  $sBasketList
  $sOrder
</div>
<!-- 
END CONTAINER -->
<!-- 
BEGIN PRODUCTS_HEAD -->
<
ul id="products" class="productsInRow">
<
li class="pages" id="pagesBefore">$lang[Pages]: $aData[sPages]</li>
<!-- 
END PRODUCTS_HEAD -->

Back to top
about us | contact