Re: [REQ] menu proprieties
True, i missed that..
PHP Code:
A native to retrieve how many times a string contains a character Adding a param to return on what cells it is present would also be nice PHP Code:
|
Re: [REQ] menu proprieties
@Depresie what is your reason/usage to hide the current page/max page? It should be displayed only when you have multiple pages. Is it because you want to format yourself? Others reasons?
|
Re: [REQ] menu proprieties
My primary reason is that it keeps me from formatting my menu title the way i want (i want to create some boxes around the title) and since it is placed at the end of the title, it messes my boxes up
Other reason would be it's not so nice to force it on users, some may not want it Here is what i am doing, but when the menu has more pages, it displays the menu pages out of the box, and i cannot get rid of it https://imgur.com/a/mGNTM |
Re: [REQ] menu proprieties
Isn't it better to add a MPROP_PAGE_FORMAT option so you can customize it the way you want? If it's possible I mean.
Also, let's not forget about menu_getprop - this is needed. |
Re: [REQ] menu proprieties
Quote:
Quote:
|
Re: [REQ] menu proprieties
PHP Code:
(the $1 and $2 symbols are just an example - make them as you wish) |
Re: [REQ] menu proprieties
Also, number formatiing:
PHP Code:
$2 = item number. |
Re: [REQ] menu proprieties
Current format is like this:
Code:
\y{title} {page}/{page_count} Code:
{item} Code:
{item_num}.\w {item_text} Code:
\r{num} |
Re: [REQ] menu proprieties
That would be great. By the way, what do you mean by {static_items}?
|
Re: [REQ] menu proprieties
Quote:
|
All times are GMT -4. The time now is 17:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.