-
AuthorPosts
-
December 18, 2015 at 12:22 pm #820157
Hello,
Even if we activated the Previous and next article links on the blog articles, these are shown at the bottom but not on the masthead as the standard template.
Also, the BLOG and date fields are missing from the masthead.thank you
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 21, 2015 at 4:50 am #826408Hi
could u edit your first post and post your site details to check your site issue .
Make sure you did not have any custom work in article php files .December 21, 2015 at 11:09 am #826856This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 21, 2015 at 12:00 pm #826930Kindly post your site super user admin details and FTP details of site via Private reply .
January 4, 2016 at 4:15 pm #838305Hi,
I confirm that the issue is related to having renamed the folder article under com_content into "article_old".
This was suggested in order to use the masthead also for articles, so to have a different image for each article in the masthead position only (and not in the body of the article as well).
Unfortunately, by doing so, we lose lots of features as the PREVIOUS and NEXT buttons.Do you have a better suggestion to use masthead in order to have an image for each article only on the masthead position without overriding the mentioned php?
thanks
January 4, 2016 at 6:54 pm #838402Hi,
Maybe it helps in the investigation: I tried commenting the following line of default.php file under the article folder:
$doc->setBuffer($masthead, array(‘type’ => ‘modules’, ‘name’ => ‘masthead’, ‘title’ => ”));
By doing this I achieve the desired result of getting the masthead also for the articles but I lose anyway the NEXT – PREVIOUS parts.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 5, 2016 at 5:03 am #838738Hi
As i explain in your last post when u disable the article folder it loads the normal layout and shows the standard button of the next and previous article as u can see in your article , the top part of the masthead is designed in this way .sidebar (info links ) is put in the masthead to show , so when u disable masthead it also not show> http://prntscr.com/9m8y3z . If u want the header design of masthead u need to use it in the same way.January 5, 2016 at 5:50 am #838750Let me see if I understood correctly.
The only way to have blog articles different from web page articles is to keep the current article/default.php.Nevertheless in this way we cannot use the masthead module to change title and image on the masthead of a web page article, but only using the standard Joomla approach (article main image, etc.).
In any case, by doing so, the image will be replicated in the top of the article AND in the masthead and there’s no way to avoid this?thanks.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 5, 2016 at 8:06 am #838867the top part of the masthead is designed in this way .sidebar (info links ) is put in the masthead to show , so when u disable masthead it also not show> http://prntscr.com/9m8y3z .
The next prev is merged with the masthead code that comes from the /html/layout/joomla/content/masthead.php file when u remove the mashead call it will not use this file and use the standard masthead module title and image .Personally i spent a lot of time to make customization for u in it but unable to succeed . If u want the header design of masthead u need to use it in the same way or make customization in the template . And when u remove it navigation button will be there except not the same that comes with masthead . -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum