Flexibreak / pagination at end of articles

More
10 years 1 month ago #49999 by esinet
Hello,
I don't fiond the way to display pagination at the end of article with flexibreak.
It's ok for all other choice.
Thanks

Joomla 3.9.14 /3.6.5 FLEXIcontent v 3.3.1.6

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50004 by ggppdk
Hello

set parameter to assign TABLE of contents in the
->toc
variable

and use inside item.php

<?php echo $item->toc; ?>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50026 by esinet
Thanks,
And now, i will try to find the good item.php.
Is it in blog/item.php if i use default configuration ?
I try to make some modification in this file (just after EOF escription block) but i don't see change ...
So sorry ...

Joomla 3.9.14 /3.6.5 FLEXIcontent v 3.3.1.6

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50028 by ggppdk
Hello

1. visit TYPES manager tab, and you will see the template being used by your content types,
e.g. template
"default-1"

all items of the type unless you have overriden for some items in item form (better avoid this !), will use the above type


2. edit files:
components/com_flexicontent/templates/default-1/item.php
components/com_flexicontent/templates/default-1/item_html5.php

and place:
Code:
<?php echo $item->toc; ?>
or if already inside PHP code:
Code:
echo $item->toc;


NOTE: if you are using "default" template or ANY other built-in template, then
1. duplicate as "default-1"
2. edit ITEM layout of the above new template so that it has the SAME field as "default"
3. go to content types and change your type to use the new template "default-1"
4. continue as said above, editing the files


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago - 10 years 1 month ago #50046 by esinet
OUps ...
That's what i did too but ...
In Types manager Tab, in column "template (default item layout)", it's write "default".

When i go to components/com_flexicontent/templates/default/item.php, i've got an include with ... 'item_layouts'.DS.'modular.php'

Did i just copy the php code here ?

Joomla 3.9.14 /3.6.5 FLEXIcontent v 3.3.1.6
Last edit: 10 years 1 month ago by esinet.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50047 by ggppdk
Hello

simply do what the instructions inside the file say ;)

1. open modular.php
2. copy all contents of it into clipboard,
3. edit item.php of your template and delete all contents,
4. then paste and save item.php


similar for item_html5.php and modular_html5.php


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.407 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline