Sensode Black 2nd page into blog possible?
Printed From: openElement Website
Category: openElement
Forum Name: Templates
Forum Description: Questions about templates? Sharing a custom template? Post here.
URL: https://forums.openelement.uk/en/forum_posts.asp?TID=1685
Printed Date: Apr 19 2024 at 10:49pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Sensode Black 2nd page into blog possible?
Posted By: WattJet
Subject: Sensode Black 2nd page into blog possible?
Date Posted: Jun 21 2020 at 9:59am
Hi, I am using sensoblack template.
My idea was to keep the structure of the home page as it is ( HOME-ABOUT-NEWS-GALLERY-CONTACT), but to extend the 2nd page (actualites) as a blog.
As a result, the home page would have still the same 3 snippets w pictures of the recently published news, but the actual news page would have an undefined number of news/blog entries)
If it is possible, could you give me a succinct roadmap on how to proceed?
if someone has tried it, did you find any particular difficulties / problems in the usage?
Thanks in advance for any guidance you can give me
|
Replies:
Posted By: Hobby001
Date Posted: Jun 21 2020 at 12:41pm
A blog is some kind of feature requires a database to collect and manage the information plus the use of php for security reasons. What is your level of comfort with SQL and PHP?
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Jun 21 2020 at 4:39pm
Hi Hobby,
Thanks of replying.
Rather than "level of comfort", I would define it as "level of pain". Long time ago I did SQL. Nothing of PHP.
I want a very simple mechanism for a blog.... just a way to make a succession of articles scroll down. There will be little participation/interaction in it from third parties since for that purpose I will create a Forum for the next stages of the project
|
Posted By: Hobby001
Date Posted: Jun 21 2020 at 4:58pm
I know that nico38 (french forum) created a blog template but I think that it is a full template not an element to add to your site.
You may see if it serve your needs and if it may be added into an iframe as I did for OpenCart here: https://forum.openelement.com/fr/forum_posts.asp?TID=21742&title=tuto-insertion-opencart-ecommerce" rel="nofollow - https://forum.openelement.com/fr/forum_posts.asp?TID=21742&title=tuto-insertion-opencart-ecommerce but for now, nobody tried it.
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Jun 22 2020 at 9:04am
So, just as a thought process
The structure of "Actualites" (2nd page of Sensode Black) is formed by : - a top panel, - three panels for news (FENETRE MODAL_#) 1 to 3 - Contact panel
Would there be any problem in replicating the FENETRE MODAL component up to 12 units? I will keep the size of the posts discrete as it is now (250 words +/-) and a picture, as it is now. Could this work?
With that approach, making two entries a week I could have a blog for 6 weeks. After that time I could duplicate another "actualites" page, (i.e. actualites_2) accessible only from the previous one or from the direct links to any of the news entr¡es contained in it.
If this could work I could set the number of articles to the recommended size/weight of the page to streamline its use.
This approach could give me the 6 months I need for this project, and ensure that I maintain the traffic in my site without depending on 3rd party platforms with adds, lots of other links etc.
I do know that with a wordpress blog I would get much more potential in SEOs etc and in theory more organic traffic.... but I trust more in pushing the organic traffic by other social media and referrals rather than a s result from SEO
Any input will be most welcome
Thanks
|
Posted By: Hobby001
Date Posted: Jun 22 2020 at 10:57am
You can do it but make sure to maintain the sequence while copying the 3 three elements
Anchor, FENETRE_MODAL_# and cadre#
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Jun 24 2020 at 7:08pm
Hi again,
I advanced in the idea and tested it up to 12 news and it seems to work pretty well.
I need however to "revert" the order of publication... the last at the top and changing the order works -overall- too, but I am stuck however with a glitch...
As you mention, each NEWS entry has three components Anchor (news#), FENETRE_MODAL_# and cadre#..... but the first entry has no anchor.
When I reverted the order -just changed position of NEWS01 to NEWS03- everything works except the anchor. I renamed the previous anchor(news3) to anchor(news1), which worked well too. However, when I try to create the new anchor(news3) -which will be now place on top, where there was no anchor- I get an error message "this anchor name already exists in the page"
I went several times through the hole page and I did not find it. I also went through the page dictionary and it does not appear there.
So, I have two questions:
- Do I need an anchor at the top of the page (this is, when I publish NEWS4, 5, etc, the last entry on top will not have any anchor as the original template?
- Regardless of the previous question, How do I look for an element name that I cannot find?
Any guidance will be most welcome
|
Posted By: Hobby001
Date Posted: Jun 25 2020 at 12:22am
You have to go trough your page and select each ancho and verify it's name
Make sure to save your page after each anchor rename
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Jun 25 2020 at 1:36am
I have reviewed all the anchor names and they are ok.... and still cannot find anchor 3
Is there any way to "parse" the page to look for it?
|
Posted By: Hobby001
Date Posted: Jun 25 2020 at 5:29pm
I went trough your project, renamed all anchors several times without issues.
Simply took the time to save the page after changing an anchor's name and prior to rename another one. OE uses some databases that updates at this point.
If you still experience the same issue, try Project->Preferences->Maintenance Tab->Rebuild Pages and Web Site Link map.
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Jun 25 2020 at 6:38pm
Thank you so much Hobby001 I really appreciate very much all the help you are giving me
|
Posted By: WattJet
Date Posted: Jul 10 2020 at 2:00pm
Getting back to this topic again...
How long/How many entries should a page have to allow quick upload?
So currently I am in the 4th entry of the "blog".
The overall template is maintained.
Homepage: I keep the News as it is, maintaining the three last entries with links to the specific entries.
Actualités page:
- I am adding entries in reverse order with the same configuration (anchor-Fenetremodal-Cadre).
- Anchors are working pretty well (thanks again for going through the project Hobby001).
- Entries have between 350-600 words and a picture
- See https://mydatamygain.com/actualites.htm" rel="nofollow - https://mydatamygain.com/actualites.htm
So, the question is, what would you recommend as the maximum number of entries per page?
This is, is it advisable to keep 1 sole page for all the future entries, or do you recommend to create a new page (actualités2) once I reach a certain number of entries -and then make a link between the two for any user that scrolls)
Thanks
|
Posted By: Hobby001
Date Posted: Jul 10 2020 at 2:56pm
The best thing to do is to test it yourself.
Open Chrome
Open the developper<s mode <F12>
Click on the Network tab
Clear the cashe <Ctrl><F5>
Look at your page loading time. Stay within 2 to 5 seconds.
https://www.dotcom-tools.com/blog/how-fast-should-my-website-load/#:~:text=Ideal%20Website%20Load%20Time%20%E2%80%93%202,in%202%20seconds%20or%20less." rel="nofollow - https://www.dotcom-tools.com/blog/how-fast-should-my-website-load/#:~:text=Ideal%20Website%20Load%20Time%20%E2%80%93%202,in%202%20seconds%20or%20less.
https://www.machmetrics.com/speed-blog/average-page-load-times-websites-2018/" rel="nofollow - https://www.machmetrics.com/speed-blog/average-page-load-times-websites-2018/
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Jul 10 2020 at 3:22pm
Thanks! It is still below 2.5... (aside from the favicon, which always comes last and has waiting time in both Homepage & actualités)
Readings are great
|
Posted By: digizar
Date Posted: Jul 10 2020 at 5:40pm
Favicon?
That sounds strange, because usually it has a size of 16x16 or 32x32 pixs, and be named *.ico
That schould really just pop out.
------------- ___________________________________ Ask questions only if there is no answer yet. https://blumendigi.com
|
Posted By: WattJet
Date Posted: Jul 11 2020 at 10:56am
that is what I thought...
I created the favicon through a website, that rendered back three files:
16x16 .png 534 bytes
32x32 .png 1.26 Kb
48x48 .ico 15.0 kb
Since there was only one with the .ico suffix, this is the one I used
The only other file in the OE "File Library: Files/Other" is the google code
|
Posted By: digizar
Date Posted: Jul 11 2020 at 11:46am
Favicon.
The real usable size is 16x16 .ico
That means, a larger size 48x48 has to be (down)scaled by the browser. Needing unnecessary transmission time and time to downscale and to display. I would stick with 32x32 pix. That also looks nice on smarties.
Better use another tool to create a favicon, pe GIMP.
------------- ___________________________________ Ask questions only if there is no answer yet. https://blumendigi.com
|
Posted By: WattJet
Date Posted: Jul 11 2020 at 11:55am
Posted By: WattJet
Date Posted: Aug 22 2020 at 10:28am
Hi again, I hope
summer is treating you well.
The blog is
working fine, I am up to 9 entries now (1 per week) and I have seen no problems
so far. Entries consist on a picture and 500-900words. (see https://mydatamygain.com/actualites.htm#news9" rel="nofollow - https://mydatamygain.com/actualites.htm#news9 )
Regarding
its weight and charging speed, checking with chrome (f12 and f5 as you showed
me), downloading time stays well below 2500ms.
I have
three questions:
a) Numbering: As per
previous entries I have replicated the "sequence" Anchor,
FENETRE_MODAL_# and cadre#.
I am now entering into the two digits (news 10
is coming next week.). I see the numbering in the template has two different
number formats. Anchor# and FENETRE_MODAL_#
have 1 digit and and cadre## has 2 digits. Will I face any kind of problem with the
change to two digits in the anchor? i.e
Anchor 10 will go after Anchor 9 or will it appear before? If the latter, I can see that I can change
all the anchors to two digits, but then, what happens with the links published
in social media to the articles?
b) Maximum size of the page: As said, charging time
is ok. Most of the viewers will access
directly one of the news visitors mostly
access last published news and some “laggards” access directly the previous
one. Few people scroll down. So the question
is, how big/long/many entries should I
set as maximum before considering the creation of another page? (i.e Actualites
2)
c) Autonumbering: For every new post I replicate FENETRE_MODAL_#, and I have to change
all the numbers in all its components (MODAL_CONTENT#; pan_img_##; PAN_ACTU##;
etc. I have noticed that in “pan_img_## -> Content ->image(#), the number of the image is automatically changed.
So, although I need to change all the numbers after
replication (i.e: when creating post 9,
I replicate the sequence in post 8 and the numbers appeared duplicated MODAL_CONTENT_8(2)
; so I need to go one by one changing the number “_8(2)” to ”_9”
I presume that the fact that image(#)
appears with the “right” number is just a coincidence between the number of
entries and the number of files named image in that part.
Still, is there a way to make that when
one changes the number of the top element (FENETRE_MODAL_#), all the components
take automatically that number? (There is always a way, so I’d rather rephrase
the question….Is there a simple way?)
Any help in the above will be very
welcome.
PS. Since the three questions affect the blog
format, I decided to make 1 sole entry. Let me know if for queries and search
purposes you prefer that I split the question in three posts)
|
Posted By: Hobby001
Date Posted: Aug 22 2020 at 11:46am
WattJet wrote:
Hi again, I hope
summer is treating you well.
The blog is
working fine, I am up to 9 entries now (1 per week) and I have seen no problems
so far. Entries consist on a picture and 500-900words. (see https://mydatamygain.com/actualites.htm#news9" rel="nofollow - https://mydatamygain.com/actualites.htm#news9 )
Regarding
its weight and charging speed, checking with chrome (f12 and f5 as you showed
me), downloading time stays well below 2500ms.
I have
three questions:
a) Numbering: As per
previous entries I have replicated the "sequence" Anchor,
FENETRE_MODAL_# and cadre#.
I am now entering into the two digits (news 10
is coming next week.). I see the numbering in the template has two different
number formats. Anchor# and FENETRE_MODAL_#
have 1 digit and and cadre## has 2 digits. Will I face any kind of problem with the
change to two digits in the anchor? i.e
Anchor 10 will go after Anchor 9 or will it appear before? If the latter, I can see that I can change
all the anchors to two digits, but then, what happens with the links published
in social media to the articles? |
Leave the old anchor name as they are
They are treated as names not numbers they can be anything, there is no sorting system
WattJet wrote:
b) Maximum size of the page: As said, charging time
is ok. Most of the viewers will access
directly one of the news visitors mostly
access last published news and some “laggards” access directly the previous
one. Few people scroll down. So the question
is, how big/long/many entries should I
set as maximum before considering the creation of another page? (i.e Actualites
2)
|
The larger the page is, the longer it takes to load to load. The rest is yours. You may split it into more than one page as you wish. You may group these news by type or subject.
WattJet wrote:
c) Autonumbering: For every new post I replicate FENETRE_MODAL_#, and I have to change
all the numbers in all its components (MODAL_CONTENT#; pan_img_##; PAN_ACTU##;
etc. I have noticed that in “pan_img_## -> Content ->image(#), the number of the image is automatically changed.
So, although I need to change all the numbers after
replication (i.e: when creating post 9,
I replicate the sequence in post 8 and the numbers appeared duplicated MODAL_CONTENT_8(2)
; so I need to go one by one changing the number “_8(2)” to ”_9”
I presume that the fact that image(#)
appears with the “right” number is just a coincidence between the number of
entries and the number of files named image in that part.
Still, is there a way to make that when
one changes the number of the top element (FENETRE_MODAL_#), all the components
take automatically that number? (There is always a way, so I’d rather rephrase
the question….Is there a simple way?)
Any help in the above will be very
welcome. |
Renaming all the components is for your own help. It ease to view what you are working on. It is not madatory.
The only thing is that the element ID (WE....) must be unique on the page.
WattJet wrote:
PS. Since the three questions affect the blog format, I decided to make 1 sole entry. Let me know if for queries and search purposes you prefer that I split the question in three posts)
|
It is better with one question per post. It ease understanding and answering. It also help when someone search the forum for answers on a specific topic
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Aug 22 2020 at 12:09pm
Posted By: WattJet
Date Posted: Aug 22 2020 at 12:22pm
WattJet wrote:
b) Maximum size of the page: As said, charging time
is ok. Most of the viewers will access
directly one of the news visitors mostly
access last published news and some “laggards” access directly the previous
one. Few people scroll down. So the question
is, how big/long/many entries should I
set as maximum before considering the creation of another page? (i.e Actualites
2)
Hobby001 wrote:
The
larger the page is, the longer it takes to load to load. The rest is
yours. You may split it into more than one page as you wish. You may
group these news by type or subject.
WattJet wrote: REPLYOk, so if I split it and cut just by chronological order (newest top) Is there a way to make that by scrolling down to the bottom of the newest page (Actualites 2), it automatically opens at the top the oldest page (Actualites 1)?
And the other way around? Scrolling to the top of Actualites 1 leads you to the bottom of the newest page (actualites 2)
|
Posted By: Hobby001
Date Posted: Aug 22 2020 at 2:06pm
I would simply add a previous and a next button
Otherwise it might be possible with js code but unless you find it on the WEB someone needs to spent time to write it.
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: digizar
Date Posted: Aug 22 2020 at 5:53pm
Hobby001 wrote:
I would simply add a previous and a next button | That is exactly what I did.
https://blumendigi.com/Sorten/Akelei/akelei-wahl.gb.htm" rel="nofollow - https://blumendigi.com/Sorten/Akelei/akelei-wahl.gb.htm https://blumendigi.com/Sorten/Akelei/akelei-wahl.htm" rel="nofollow - https://blumendigi.com/Sorten/Akelei/akelei-wahl.htm
http://blumendigi.com/Sorten/Akelei/akelei1.gb.htm" rel="nofollow - https://blumendigi.com/Sorten/Akelei/akelei1.gb.htm https://blumendigi.com/Sorten/Akelei/akelei1.htm" rel="nofollow - https://blumendigi.com/Sorten/Akelei/akelei1.htm
------------- ___________________________________ Ask questions only if there is no answer yet. https://blumendigi.com
|
Posted By: WattJet
Date Posted: Sep 12 2020 at 4:52pm
Hi again,
I tested the button and duplicating the actualits, and it all works well.
The question to solve is what happens with 3rd party links to previous posts entries.
I have now 11 entries in the same actualites page. Each of them is based on the sequence
- news#XX
- FENETRE_MODAL_XX
- cadre_XX
The external links (facebook & LinkedIn) are pointing the anchors (e.g https://mydatamygain.com/actualites.htm#newsXX). This links are fixed and I cannot change them.
So, if I now duplicate the page and make a new "actualites2", and continue replicating the same sequence above, all new links will be https://mydatamygain.com/actualites2.htm#newsXX)
The point is that I'd like to move 2 or 3 entries from the existing page to the new one to reduce users downloading time and make it more user friendly. Iis there any way to move some of the older entries to the page actualites2 and make the old links point to the new page?
Thanks in advance for any guidance
|
Posted By: Hobby001
Date Posted: Sep 12 2020 at 7:52pm
I'm afraid that you will have to do it manually
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Sep 12 2020 at 8:08pm
I'm afraid I did not explain myself
I have
no problem to move them manually, but if I change some news of page, the link will point to another page. For instance:
http://bit.ly/3miRTy0MDMG will direct to https://MDMG.com/actualites.htm#news11 but if I move this post to another page https://MDMG.com/actualites2.htm#news11 then the link will not work
I can edit and modify my links on bit.ly, but I cannot do anything about the links published in facebook or LinkedIn.
Is there anyway to redirect from the site from one page to another?
|
Posted By: Hobby001
Date Posted: Sep 13 2020 at 11:19am
You can try redirections via htaccess
https://help.dreamhost.com/hc/en-us/articles/215747748-How-can-I-redirect-and-rewrite-my-URLs-with-an-htaccess-file-" rel="nofollow - https://help.dreamhost.com/hc/en-us/articles/215747748-How-can-I-redirect-and-rewrite-my-URLs-with-an-htaccess-file-
https://css-tricks.com/snippets/htaccess/301-redirects/" rel="nofollow - https://css-tricks.com/snippets/htaccess/301-redirects/
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Sep 13 2020 at 2:33pm
From what I have seen, all instructions refer to redirecting to pages, directories etc.
In my case, the links direct to specific anchors within pages, so I am not sure it will work.... I think I will focus in prepare grounds for next posts, and investigate more on redirection after.
For this i I will duplicate the actualites page, and include new posts in the new actualites2 and include the "next" button as covered in previous posts.
Since actualites is working well without glitches, is there any way that I can keep the whole structure in actualites2 as it is (10 entries) but that that I can "switch off" the unused sets of "news#-FENETRE_MODAL#_cadre#" and only "switch on" when the new text & image is added?.
I know that I can copy & paste, but making the anchor work in the desired way takes some time at every new post
Thanks again for all your help
|
Posted By: WattJet
Date Posted: Sep 14 2020 at 8:22pm
Continuing with the previous post, I would like to achieve three things
a) duplicate the "actualites page", and include new posts
in the new actualites2. Include the "next" and "Previous" buttons as covered in
previous posts. Done
b) Move some of the published posts from the old page to the new one to reduce the size of the old page and ease downloading. Done
c) Redirect external links from the old page to the new page.
I tried to follow the instructions of the page you indicated. All are related to redirecting complete files, pages, URL to or from other pages or URL. There is one example on how to redirect a gif file to another site, but there is nothing to redirect from a section of a file (e.g. .......htm#news11 or to another section in a different file
I tried modifying the .htaccess file including the following
#FreeScript Redirect /actualites.htm#news9 /actualites2.htm#news9 Redirect /actualites.htm#news10 /actualites2.htm#news10 Redirect /actualites.htm#news11 /actualites2.htm#news11
It id not work at all
d) Leave the structure of the new page ready so that I only need to enter the text/image of the new posts/entries
Regardless whether or not I manage to redirect those entries, I'd like to leave the page completely ready and "open/switch on" each section "news#-FENETRE_MODAL#_cadre#" once they are ready to be published.
Is there any way to do this?
Thanks again for any guidance
|
Posted By: Hobby001
Date Posted: Sep 16 2020 at 10:50am
I haven't tested it yet but Nico38 (forum french side) developed a blog template. It might be a good solution for you.
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Sep 16 2020 at 4:39pm
Posted By: WattJet
Date Posted: Sep 16 2020 at 11:19pm
Hi again,
Thanks for pointing me to Nico38 blog template. I went through it... and there is a lot to study -at least for me-. Since I have more blog entries before I get there, I decided to create the actualites2 page in the meantime.
As it was recommended above I used text/buttons to link the consecutive posts from actualites to the new actualites2 and I see that the button has borders which cannot be modified? ("Modifying default presets is not available").
Is there any way to access those preset variables and change them?
Thanks in advance for any guidance.
|
Posted By: Hobby001
Date Posted: Sep 17 2020 at 1:40am
Sorry but I am confused. Whatr do you call text/buttons? Specify witch element
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Sep 17 2020 at 9:40am
Sorry, my bad. The name of the element is Button Link
|
Posted By: digizar
Date Posted: Sep 17 2020 at 10:09am
WattJet wrote:
... and I see that the button has borders which cannot be modified? ("Modifying default presets is not available").Is there any way to access those preset variables and change them? | I think I understand what you mean. You can change the borders in the css/style, for a particular state (normal/hover/...). But it appears that there is a lack. You also HAVE TO CHANGE THE WIDTH OF THE BORER, to achive the border-color to change. After it changed the border color, you may revert the width to any size.
Example For each color I use different border colors (style): http://blumendigi.com/Farben/farben-wahl.gb.htm" rel="nofollow - https://blumendigi.com/Farben/farben-wahl.gb.htm
------------- ___________________________________ Ask questions only if there is no answer yet. https://blumendigi.com
|
Posted By: WattJet
Date Posted: Sep 17 2020 at 3:49pm
|