Search found 10 matches

by Artem
Tue Mar 19, 2019 10:04 pm
Forum: General
Topic: Can't add the Russian language to the plugin Contact
Replies: 1
Views: 1124

Re: Can't add the Russian language to the plugin Contact

Sorry, everything is ok. utf-8
by Artem
Tue Mar 19, 2019 9:38 pm
Forum: General
Topic: Can't add the Russian language to the plugin Contact
Replies: 1
Views: 1124

Can't add the Russian language to the plugin Contact

I am copying the file en.json from plugin Contact3. Rename it to ru_RU.json. Then edit it, but it does not work. I tried to make changes in the en.json file. Not work. Example (file en.json before (work)): ... "send": "Send my message", ... Example (file en.json after (not work))...
by Artem
Tue Mar 19, 2019 6:25 pm
Forum: General
Topic: Custom template for the pages
Replies: 22
Views: 15000

Re: Costom template for the pages

Ok.
I did like this:

Code: Select all

if ($WHERE_AM_I == 'page') {
	if ($page->template()) {
		include(THEME_DIR_PHP.$page->template().'.php');
	} else {
		include(THEME_DIR_PHP.'page.php');
	}
} else {
	include(THEME_DIR_PHP.'blog.php');
}
Bludit 3.8.1 pro
by Artem
Sun Mar 17, 2019 7:44 pm
Forum: General
Topic: Custom template for the pages
Replies: 22
Views: 15000

Re: Costom template for the pages

YEAH!
Thanks!

And when this feature will be implemented?
by Artem
Fri Mar 15, 2019 8:36 am
Forum: General
Topic: Link from sidebar to footer
Replies: 7
Views: 4266

Re: Link from sidebar to footer

Thank you! Perfect! Maybe someone will be useful: <footer> <!-- Categories (plugin Categories must be activated) --> <h5 class="text-uppercase font-weight-normal"><?php echo getPlugin('pluginCategories')->getValue('label'); ?></h5> <ul> <?php foreach (getCategories() as $category): ?> <li>...
by Artem
Thu Mar 14, 2019 1:19 pm
Forum: General
Topic: Link from sidebar to footer
Replies: 7
Views: 4266

Re: Link from sidebar to footer

I do not understand how. Could you set an example?
by Artem
Thu Mar 14, 2019 12:37 pm
Forum: General
Topic: Link from sidebar to footer
Replies: 7
Views: 4266

Re: Link from sidebar to footer

For Categories: <ul class="list-unstyled"> <?php $items = getCategories(); ?> <?php foreach ($items as $category): ?> <li><a href="<?php echo $category->permalink(); ?>"><?php echo $category->name(); ?></a></li> <?php endforeach ?> </ul> How can I do this for the "Links"?
by Artem
Thu Mar 14, 2019 11:51 am
Forum: General
Topic: Custom template for the pages
Replies: 22
Views: 15000

Custom template for the pages

How should I use this option?
Image

Do I need to write something else in the index.php?
by Artem
Wed Mar 13, 2019 10:01 pm
Forum: General
Topic: Link from sidebar to footer
Replies: 7
Views: 4266

Re: Link from sidebar to footer

I understood how to add categories:

Code: Select all

<?php foreach ($categories->db as $key=>$fields): ?>
<a href="<?php echo DOMAIN_CATEGORIES.$key; ?>"><?php echo $fields['name']; ?></a>
<?php endforeach ?>
but I still can't add useful links
by Artem
Wed Mar 13, 2019 7:29 pm
Forum: General
Topic: Link from sidebar to footer
Replies: 7
Views: 4266

Link from sidebar to footer

Hi, everyone! I need to move links from sidebar to footer. Two blocks. Useful Links and Categories in Two Block Footer +++++++++++Footer+++++++++++++++ Links Categories Link1 Music Link2 Video ... ... Linkn Else