Search found 10 matches
- Wed May 27, 2020 11:46 am
- Forum: Themes
- Topic: Active Class on Blog-Menu and Blog-Posts URL
- Replies: 11
- Views: 4943
Re: Active Class on Blog-Menu and Blog-Posts URL
Ok so i checked it... my blog link dont give me a slug (i guess because of the / at the end). so i found a workaround for me, but i guess ist could be used in generell: <?php foreach ($staticContent as $staticPage): ?> <?php $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === '...
- Tue May 26, 2020 4:26 pm
- Forum: Themes
- Topic: Active Class on Blog-Menu and Blog-Posts URL
- Replies: 11
- Views: 4943
- Tue May 26, 2020 2:59 pm
- Forum: Themes
- Topic: Active Class on Blog-Menu and Blog-Posts URL
- Replies: 11
- Views: 4943
Re: Active Class on Blog-Menu and Blog-Posts URL
nope, i just started with this version 2 days ago. do you maybe have a solution tipp for my firstquestion: my navigation in my template: <?php foreach ($staticContent as $staticPage): ?> <?php $active = ($staticPage->key() == $url->slug())? 'active': ''; ?> <a class="<?php echo $active; ?>"...
- Tue May 26, 2020 2:45 pm
- Forum: Plugins
- Topic: Plugin for Uploading an Image to the Server
- Replies: 6
- Views: 2637
Re: Plugin for Uploading an Image to the Server
I am talking about the Menu-Point in the Backend to creat a new page/post "+ new content" (i am not using the english language, maybe the button is called different. [in der deutschen version "+ neuer inhalt"]). the costum field is alway showing up, no matter witch page you want ...
- Tue May 26, 2020 2:40 pm
- Forum: Themes
- Topic: Active Class on Blog-Menu and Blog-Posts URL
- Replies: 11
- Views: 4943
- Tue May 26, 2020 2:18 pm
- Forum: Themes
- Topic: Active Class on Blog-Menu and Blog-Posts URL
- Replies: 11
- Views: 4943
Re: Active Class on Blog-Menu and Blog-Posts URL
i made the changes in the functions.php: if (empty($args['homepage'])) { $args['homepage'] = ''; $args['uriBlog'] = ''; } if (empty($args['pageNotFound'])) { $args['pageNotFound'] = ''; } if (isset($args['uriPage'])) { $args['uriPage'] = Text::addSlashes($args['uriPage']); } if (isset($args['uriTag'...
- Tue May 26, 2020 2:15 pm
- Forum: Plugins
- Topic: Plugin for Uploading an Image to the Server
- Replies: 6
- Views: 2637
Re: Plugin for Uploading an Image to the Server
Thats true for the output on my php page.
I was talking about the Page "+content", where the costum fields can be filled.
I was talking about the Page "+content", where the costum fields can be filled.
- Tue May 26, 2020 12:17 pm
- Forum: Themes
- Topic: Active Class on Blog-Menu and Blog-Posts URL
- Replies: 11
- Views: 4943
Active Class on Blog-Menu and Blog-Posts URL
Hello, i am working on my own Theme with this Navigation: <?php foreach ($staticContent as $staticPage): ?> <?php $active = ($staticPage->key() == $url->slug())? 'active': ''; ?> <a class="<?php echo $active; ?>" href="<?php echo $staticPage->permalink(); ?>"><?php echo $staticPa...
- Tue May 26, 2020 10:24 am
- Forum: Plugins
- Topic: Plugin for Uploading an Image to the Server
- Replies: 6
- Views: 2637
Re: Plugin for Uploading an Image to the Server
Thanks for your reply. I think the media Plugin is the way to go for me. it would be perfect for me to upload the picture directly in my plugin gui, but at least i can use the workaround to upload the image with the media plugin, copy the image-url and paste the url in my plugin. i also tooked a loo...
- Mon May 25, 2020 10:05 pm
- Forum: Plugins
- Topic: Plugin for Uploading an Image to the Server
- Replies: 6
- Views: 2637
Plugin for Uploading an Image to the Server
Hello, at the Moment iam trying to creat a Plugin, that can save text and imagefiles to display them on my homepage. The Reason is, that i have a Homepage with different sections and a fixed css, where i just want to change the content without touching the html/php (so i client could change the text...