Home > Elgg Only, open source products > Elgg Tips – Pagination Work

Elgg Tips – Pagination Work

How to add one css file in elgg PHP File (Ex.pagination.php) :

<style type=text/css>
.class name   {
coding
}
</style>

Add your css code like above before php code starts ie, before <? php …..coding…..   ?>

How to print in ELgg :

Syntax : echo elgg_echo(” statements “);

Example :

$count=0;

echo elgg_echo(” Vijayakumar Raja<br>Illuppur “);

echo elgg_echo(” $count “);

Others :

$vars[ ‘url’ ];     —>    url of the site. ( Ex : http://localhost/firstplanet)

$vars[ ‘baseurl’ ]    —->     url of the current page. ( Ex : http://localhost/firstplanet/pg/members)

Where Should Change?

if i want to customize the pagination where should i change?

opt/mamp/htdocs/(projecename)Elgg/views/default/navigation/pagination.php

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: