FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

jirafasconleche posts

Feed 2 posts

page parts by default

To create a new page i wanted that by default were created the following parts: body, summary and introduction. I do it?

tnks

 

display page_part

with ‘title’ i want to put a second name to Page-Part. the first for $this->content('part 1', true); and second, need a menubar, I do not want to call ‘part 1’, I want to call it ‘boton1’.

why?? they will be created 10 page-parts without knowing its name, to show these parts it will use in the layout:

<?php for ($i=1;$i<=10;$i++){
$cont='Part '.$i;
if ($this->hasContent($cont)){
$k=$this->content($cont, true);
echo "<div id='fragment-$i' class='part'>$k</div>";
}
} ?>

the idea would be to put something this: $this->content('part 1')->title.

OR

if it wanted to show page_id in the frontend, since it would do it ???
sorry for my english.. tnks¡¡!!

 

display page_part

i create a new info (title & cites) into table ‘page_part’:

TABLE `page_part` (
  `id`,
  `name`,
  `filter_id`,
  `content`,
  `content_html`,
  `page_id`,
  `title`,
  `cites`,  
) ;

i can show this info in the backend BUT NOT in the frontend !!!!!

I made a function seemed to content() in Page.php; changing “$this->part->$part->content_html” to “$this->part->$part->cites”

Please Help…. thanks

 

customize User's role

how modify administrator, developer and editor role, i can create new role??

tnks!

 

cant display article level3

tnks !!! you have a true

 

cant display article level3

Hi,

have this structure

Home page
 Module (archive)
   Section_A (archive)
      Article1
      Article2
      Article3
   Section_B (archive)
      Article1
      Article2
      Article3

i have a problem, cant display articles content (level3)!!