2012/4/18 23:17:52
|
---|
|
Pimp up your paginationYesterday I wrote a new posting in the Wiki (German Community) about the ImpressCMS Pagination and added a new style with CSS3. It will working with all browsers.
Check out the the code from here: http://www.impresscms.de/modules/wiki/index.php?page=Seiten-Nummerierung And have a look into the online demo: http://demo.impresscms.de/modules/cms/start.php?1&start=2 It's fine or not? |
2012/4/19 1:34:12
|
---|
|
Re: Pimp up your paginationI like the fact that you describe the 'paginationstyle' option at the end. I think it would be interesting to eliminate the need to manually add the reference to the paginationstyle.php file. I'll add that as a todo.
|
_________________
|
2012/4/19 4:44:33
|
---|
![]() |
Re: Pimp up your paginationI like to see this as the new standard pagination for impressCMS.
|
2012/4/19 16:01:12
|
---|
![]() |
Re: Pimp up your paginationAgree with David. Some of my themes have special pagination styles and get out working require modify core files.
|
2012/4/26 21:00:46
|
---|
|
Re: Pimp up your paginationEasy enough to query the files in the paginationstyles/css/ folder - in fact, it will be in 2.0 very shortly.
update libraries/paginationstyles/paginationstyles.php and replace all the existing code with this
$style_list = icms_core_Filesystem::getFileList(ICMS_LIBRARIES_PATH . "/paginationstyles/css/", "", array("css"), TRUE);
foreach ($style_list as $filename) {
$filename = str_ireplace(".css", "", $filename);
$styles[] = array(
'name' => ucfirst($filename),
'fcss' => $filename,
);
}
Now, you just have to place a new css file in the folder and you'll get the new option. The name in the option list will be the name of the file without the extension. |
2012/4/26 23:26:16
|
---|
|
Re: Pimp up your paginationanother Barrier broken down in 2.0! Way to go!
|
_________________
|