NYCPHP Meetup

NYPHP.org

[joomla] pagination override in a K2 Template

Helvécio da Silva helvecio.rj at gmail.com
Mon Feb 18 20:49:27 EST 2013


Not quite sure I understand what you want to accomplish, but if you want to
override any K2 output you must copy the folder templates to
/templates/YOUR-TEMPLATE/html/com_k2/

Then you rename the folder DEFAULT to whatever name you want. Do whatever
changes you want to these files.

On the backend, go to the categories you want the changed files be applied
to. On the top of parameters you will notice a TEMPLATE option. If you
click on it (and did everything right) you will see the name of the folder
where your changed files are contained.

Now, K2 will use those template files instead of its default.

Hope this helps.


2013/2/18 Todd Sugiyama <toddsugi at gmail.com>

> Hi All,
>
> Just wondering if anyone has had this issue.  I'm trying modify my
> pagination. I'm currently running K2 on my joomla site (2.9) and would like
> to reword the pagination output.  I know i can modify the core files, but i
> was trying to do it through a template override.
> However, the pages i have being paginated are using a K2 Template
> override, so I'm not sure where to put the files.   I tried to do a basic
> template override and put the pagination.php file in mytemplate/html
> folder, but i ended up breaking the layout.
>
> any idea or similar issues.  I checked on the forums but didn't see any
> solutions to pagination overrides.
>
> thanks in advance.,
> Todd
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



-- 
Helvecio "Elvis" da Silva
Rio de Janeiro - Brasil - helvecio.rj at gmail.com
http://www.helvecio.com - http://blog.helvecio.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20130218/f26a06a9/attachment.html>


More information about the Joomla mailing list